On Fri, 19 Mar 1999, Mark Riehl wrote:
> I'm trying to set up an IP masquerader connected to a cable modem for a
> home network. I have a 486/100 with two NICs, one to the cable modem, the
> other to the local LAN. The local LAN (192.168.1.*) has two machines, a
> Win98, and a Linux/Win98.
Exactly my setup, other than I'm using a P120 machine.
> I followed the HOWTO (rebuilt the kernel with the proper options,
> installed the req'd packges, etc.). It's not working yet, and I think
> I have a problem with the routing table for the Linux IP masquerader.
Make sure you turned IP forwarding on! This can be a "gotcha". You need
to put FORWARD_IPV4=yes in /etc/sysconfig/network. Otherwise IP
forwarding is turned off.
> Does anyone have a sample routing table for a working IP masquerader?
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
255.255.255.255 * 255.255.255.255 UH 0 0 0 eth1
24.3.239.0 * 255.255.255.0 U 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default cr2-hfc3.omhaw1 0.0.0.0 UG 0 0 0 eth0
The 255.255.255.255 is there because I use DHCP to assign IP addresses to
the Windoze machines.
Hope this helps.
Dale
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]