Problem with networking - I am using RedHat 9 Linux kernel 2.4

Problem with networking - I am using RedHat 9 Linux kernel 2.4

Post by Graham Jone » Wed, 30 Jul 2003 06:35:16



Problem with networking - I am using RedHat 9 Linux kernel 2.4

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

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.

I was wondering if I needed to implement IP Masquerading but thought that
the NAT on the NetGear hub should be sufficient.

Can anyone please shed any light on what I need to do to get the Windows
machine to be able to communicate to the internet via the server.

Thanks in advance

Graham Jones

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

Problem with networking - I am using RedHat 9 Linux kernel 2.4

Post by Daniele Di Matti » Wed, 30 Jul 2003 22:13:40




Quote:

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

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

Regards.  

 
 
 

1. 2.4 Kernel problems when using redhat's gcc-2.96-112

Hey All-

I don't know if this issue is really worth digging into, but it's an odd
one, so I figured I'd post it:

I've been using RedHat's gcc-2.96-112 compiler, which is the most recent
errata for RH7.2, to build my kernels. With all the recent kernels that
I've built (every release from 2.4.20 to 2.4.21-rc7), the NFS client stack
has been unstable. This comes in the form of either a hardlock or an oops
under a specific load. Unfortunately, this load involves proprietary data,
so we can't give it to the community to use. I haven't been able to crash
the kernel using any synthetic load (fsx, bonnie++) so far.

I was able to fix this problem by reverting to redhat's gcc-2.96-98
compiler, which I believe is the version that ships with RH7.2.

Hope this helps someone. I'm happy to answer any more questions pertaining
to this.

-Matt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Floppy mounted read only Solaris 2.5.1

3. [Fwd: network problems using RayLink wireless and Linux 2.4 firewall]

4. pp size on a volume group

5. Redhat 6.2 with kernel 2.4.x or Redhat 7.2 ?

6. using mail in script with out body...

7. Problem compiling wu-ftpd (2.4) on Redhat 3.0.3 (1.2.13 Kernel)

8. Posix capabilities

9. SMC 1211 Network Card - Problems with Kernel 2.4

10. Network driver problems on a 2.4 SMP kernel.

11. Kernel 2.2 Network Drivers to Kernel 2.4?