After reformatting my system and upgrading to Linux Mandrake 8.0 from
7.2, I am unable to get IP masquerading to function. I was able to get
it working with 7.2 and with Redhat 7.0 and earlier, with the same
hardware configuration and client configuration I am using now. I am
using kernel 2.2.19 (my modem driver does not function with the 2.4.x
series), with all masquerading related options enabled.

I am using a ppp modem connection, with a dynamically assigned IP.

Linux router: 192.168.0.1
Windows 2000 client: 192.168.0.2 (worked with Mandrake 7.2, so already
configured.)

netstat -rn:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
12.7.120.251    0.0.0.0         255.255.255.255 UH        0 0          0
ppp0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
eth0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0
lo
0.0.0.0         12.7.120.251    0.0.0.0         UG        0 0          0
ppp0

ipchains -nL:
Chain input (policy ACCEPT):
Chain forward (policy DENY):
target     prot opt     source                destination          
ports
MASQ       all  ------  192.168.0.0/24       0.0.0.0/0             n/a
Chain output (policy ACCEPT):

ifconfig:
eth0      Link encap:Ethernet  HWaddr 00:20:78:10:1D:D6  
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:1010 (1010.0 b)  TX bytes:264 (264.0 b)
          Interrupt:5 Base address:0xe000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3248 (3.1 Kb)  TX bytes:3248 (3.1 Kb)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:12.7.121.89  P-t-P:12.7.120.251 
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1518  Metric:1
          RX packets:213 errors:0 dropped:0 overruns:0 frame:0
          TX packets:214 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10 
          RX bytes:115513 (112.8 Kb)  TX bytes:24652 (24.0 Kb)

Local network connectivity is operating correctly (I can ping both
ways). Tcpdump on the router shows incoming activity on eth0 when I try
to access the Internet from 192.168.0.2, but no outgoing packets on
device ppp0. I am unable to ping my ppp gateway (12.7.120.251).

Any help is greatly appreciated. Thank you.

Abiel Reinhart
[EMAIL PROTECTED]

Reply via email to