It is currently Thu, 08 Jun 2023 12:43:22 GMT

Author Message
 PPP -nat help
Hi Everybody:
I'm have a very tough time getting  ppp with nat to work. I'm a trying
to route from a privite net ( to a public net with static
ip address.  I using dc0 and ed0, dc0 is the public interface.
Gateway is enabled.

It seems to me that ppp is forwading packets but NOT translating the
If I ping on 192,169.142.191 to ( I get
the following
from tcpdump: > icmp: echo request

However I never see an icmp echo reply. So it seems its going out but no

| staticPPPoE  ( dc0)   |<----------->ISP
|                                     |
| |<--------->||
|----------------|                          |------------|

I've been working on this about a week can anyone help.
my ppp.conf file and ifconfig files are at the end
 Thanks in advance.

govinda# ifconfig -a

        inet netmask 0xffffff00 broadcast
        inet6 fe80::250:baff:fea2:93ce%ed0 prefixlen 64 scopeid 0x1
        ether 00:50:ba:a2:93:ce

        inet yy.yyy.yy.yyy netmask 0xfffffff8 broadcast
        inet6 fe80::2c0:f0ff:fe5a:f5cd%dc0 prefixlen 64 scopeid 0x2
        ether 00:c0:f0:5a:f5:cd
        media: autoselect (10baseT/UTP) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UTP <full-duplex> 10baseT/UTP none
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8000<MULTICAST> mtu 1500
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9    inet6 fe80::1%lo0
prefixlen 64 scopeid 0x9
        inet6 ::1 prefixlen 128
        inet netmask 0xff000000
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
        inet6 fe80::250:baff:fea2:93ce%tun0 --> :: prefixlen 64 scopeid
        Opened by PID 288

default: # or name_of_service_provider
 set device PPPoE:dc0 # replace xl1 with your ethernet device
 set mru 1492
 set mtu 1492
 set authname tonyste
 set authkey xxyyzz
#set log Phase Chat Connect tun command # you can add more
 set log Phase Chat LCP IPCP CCP TUN TCP/IP command
 set dial
 set login
 set ifaddr yy.yyy.yy.yyy
 add default yy.yyy.yy.yyy
# I tried with both alias and the keyword nat
#alias enable yes
#alias log yes
#nat enable yes
#nat log yes
#nat use_sockets yes

 set authname tonyste
 set authkey xxyyzz

 Tue, 30 Sep 2003 09:25:47 GMT   
   [ 1 post ] 

Similar Threads

1. ppp -nat / firewall help

2. ppp sharing via NAT

3. nat works with ppp but not eth0

4. iptables NAT with Alcatel USB PPP over ATM

5. PPP and Multiple Modems for NAT Box

6. NAT & load balanced ppp

7. PPP/Nat router

8. Can't get Dial-up-on-demand using PPP/NAT to work

9. ppp -nat between two public nets

10. ppp -nat + dns enable + local lan question

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software