Re: Redhat 9 and routing

From: stewart menday (stewart)
Date: 12/19/03


Date: Fri, 19 Dec 2003 10:52:52 +1100

Nils
    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.

Thanks

Stewart

"Nils O. Selåsdal" <noselasd@frisurf.no> wrote in message
news:slrnbu3epf.ndp.noselasd@utelsystems.dyndns.org...
> > 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
/etc/sysconfig/network
> > to include FORWARD_IPV4=yes but it doesn't seem to work. My set up is
as
> > follows.
> >
> > ADSL modem with internal ip of 192.168.1.1, Linux box with ip of
192.168.1.2
> > and a dial-in serial line with ip of 192.168.1.3. The default route for
the
> > Linux box is 192.168.1.1 I have no trouble getting out from the Linux
box
> > but when I dial in the only machine that I can see is the Linux box, I
can't
> > even ping 192.168.1.1 Does anyone know why? Is the kernel compiled
without
> > 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
ip
> 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
>



Relevant Pages

  • Re: Invalid IP address for DHCP server
    ... -I have checked ICS settings and firewall settings. ... >>> the addition of an ADSL modem. ... > DHCP, if you've got the firewall enabled. ...
    (microsoft.public.windowsxp.network_web)
  • Re: SuSe10.0 - windowsXP networking problem !! plz help!!!!
    ... >>> i am a new comer in linux field .. ... >>ADSL modem to your network switch/hub, and give it an IP Address. ... > The ADSL modem is a DHCP server, not a client one merely decided to ...
    (alt.os.linux.suse)
  • Re: SuSe10.0 - windowsXP networking problem !! plz help!!!!
    ... >>>If your ADSL modem has an ethernet port as well as USB, ... >> The ADSL modem is a DHCP server, not a client one merely decided to ... >server to pass out the default gateway parameter to the clients. ...
    (alt.os.linux.suse)
  • Re: DHCP Access without permission
    ... DHCP Server, the dhcp is set to allow 2 ip. ... but the client, without my ... I set my network to use DCHP and there are ... If you are using a plain domestic ADSL Modem / router then nearly all ...
    (microsoft.public.windows.server.networking)
  • Re: Need Guidance in my Internet Connection Sharing configuration
    ... it is already doing NAT for you. ... or hub between your aDSL modem and your computers. ... many aDSL modems come configured with a very small DHCP pool ... > My connection is simple, I just connect my ethernet cable to my aDSL ...
    (freebsd-questions)