Re: Redhat 9 and routing
From: stewart menday (stewart)
Date: Fri, 19 Dec 2003 10:52:52 +1100
The ADSL modem will NAT more than 1 ip and it does do it if it wasn't
assigned with DHCP, I also have a notebook attached to it and I have set the
IP manually and using DHCP both work fine. I now know that it isn't an ip
forwarding problem as I can see the echo (ping) request leave via the
network card, it must be that the modem isn't sending its response back via
the Linux box. I have since broken my network un into 2 subnets and told
the modem that the Linux box is the gateway for the second subnet but it
still isn't working, I must have something wrong with either the subnet or
the route from the modem to that subnet.
"Nils O. Selåsdal" <firstname.lastname@example.org> wrote in message
> > Hi all
> > I am having trouble getting my Redhat 9 install to behaviour has a
> > router, I had no trouble under 6 or 7. I have edited
> > to include FORWARD_IPV4=yes but it doesn't seem to work. My set up is
> > follows.
> > ADSL modem with internal ip of 192.168.1.1, Linux box with ip of
> > and a dial-in serial line with ip of 192.168.1.3. The default route for
> > Linux box is 192.168.1.1 I have no trouble getting out from the Linux
> > but when I dial in the only machine that I can see is the Linux box, I
> > even ping 192.168.1.1 Does anyone know why? Is the kernel compiled
> > ip forwarding by default?
> I don't know how the FORWARD_IPV4 works, but you should atleast be able to
> do echo 1 > /proc/sys/net/ipv4/ip_forward at one point.
> Do the 192.168.1.3 have 192.168.1.2 as its default gateway ?
> The other question is ofcourse wether your ADSL modem will NAT more than 1
> address, and/or wether the ADSL modem must hand out an ip address via dhcp
> before it enables NAT for it..
> Vennlig hilsen/Best Regards
> Nils Olav Selåsdal <NOS at Utel.no>
> System Engineer
> UtelSystems a/s