Re: Problem with networking - I am using RedHat 9 Linux kernel 2.4
From: Daniele Di Mattia (dimattia_at_despammed.com)
Date: Tue, 29 Jul 2003 13:13:40 +0000 (UTC)
"Graham Jones" <email@example.com> wrote in
> I have the following environment:
> A NetGADSL router IP address 192.168.0.100. Attached to this is my
> Linux server which is dual homed. One nic is attached to the ADSL
> router - this is the eth0 interface, ip address 192.168.0.22. This
> interface has the NetGear router set as the default gateway address.
> The other nic - eth1 - has an ip address of 10.0.0.1 and this is
> attached to an 8 port switch. Connected to the 8 port switch is
> another machine running Microsoft Windows XP Professional with an ip
> address of 10.0.0.23. It has a default gateway set to be 10.0.0.1.
> I only have one static IP address. The NetGear router is set up for
> NAT. The Linux server is also set up as being in the DMZ of the
> NetGear router. This only has the effect of passing all requests to
> the Linux server and not dropping them.
> On the Linux server I have stopped the IPTABLES service so as not to
> complicate matters further and I have enabled IP forwarding. I have
> also enabled and configured the web proxy Squid.
> My linux server can ping the ADSL hub on 192.168.0.100, it can ping
> the machine 10.0.0.23 and it can ping any valid address on the
> My XP machine - 10.0.0.23 - can ping the server on either of its
> interfaces and it can ping the ADSL hub - proof that the server is
> forwarding IP packets. I can also browse the web from 10.0.0.23 via
> the Squid proxy.
> However, I cannot ping any address on the internet.
May be the router doesn't know the 10.0.0 network. Have you configured a
static route to that subnet?
Try to ping an Internet address from the server setting eth1 like the
source interface (ping -I interface_name). If your problem is the private
network, ping will fail.