I just install redhat linux 6.0 on a sony Z505RX laptop and have connected the laptop to our LAN at work on subnet A (network address 10.1.0.0, netmask 0xffff0000). The subnet has a DHCP server and a DNS name server. I successfully configured my laptap as a DCHP client using "control-panel" and am able to do DNS name resolution. I can ping any other host on subnet A. However, when I attempt to ping host banzai (10.5.1.5) on subnet B (address 10.5.0.0, netmask 0xffff0000) or anything on the Internet, I get the following error:
PING banzai (10.5.1.5): 56 data bytes
Ping: sindto: Network is unreachable
Ping: wrote banzai 64 chars, ret=-1
I set the default route using
"Route add default netmask 0xffff0000 gw 10.1.2.1 eth0"
The netstat -r command shows the routing table as
Destination Gateway Genmask flags metric Ref Use Ifac
127.0.0.1 * 255.255.255.255 UH 0 0 0 lo
default 10.1.2.1 255.255.0.0 UG 0 0 0 eth0
10.1.0.0 * 255.255.0.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
The gateway interconnects subnet A, subnet B and the Internet. It has the following NIC installed and UP.
10.1.2.1, netmask 0xffff0000 on subnet A
10.5.1.1, netmask 0xffff0000 on subnet B
some other IP address for the Internet
I know that the gateway is working because I can ping banzai using any other host on subnet A. What is peculiar is that "ifconfig -a" shows packets received and transmitted in response to ping commands. Yet, "netstat -r" always shows '0' for the "Use" statistic for the 10.1.0.0 destination. I know the route for distination 10.1.0.0 is used to ping other host on sybnet A, yet the route "Use" statistics remains 0 after pinging hosts on subnet A. What could possible be the problem? Do I need to load some other module to get packets forwarded to the router as required? Also, "traceroute 10.5.1.5" gave me the same error as ping.
Thank for your help.