Can't ping any PC outside subnet
I have 3 desktops A, B, and C.
Desktop A:
- OS: windows XP pro
- IP: 192.168.0.18 (Class C)
Desktop B:
- OS: Redhat Linux 9.0 ( 2 network cards)
- IP: 192.168.0.72 (Class C)
- IP: 192.168.1.1 (Class C)
Desktop C:
- OS: Windows XP pro
- IP: 192.168.1.73 (Class C)
These 3 desktops are connected to each other. A connect to B with one hub. B connect to C with another hub. B acts as a router with 2 network cads. Below is the routing table printed from B' s "route -n" command:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.254 0.0.0.0 UG 0 0 0 eth0
From A, I can ping B.
From C, i can ping B.
But from A, i can't ping C and vice versa.
I have enabled ip4 forwarding in /etc/sysctl.conf and added aliases to my 2 network cards.
I don't have any firewall rules set on my linux box.
So why i can't ping from A to C and vice versa?
Thanks,
|