route or ipforward problem

Poul Moller pmoller at everyday.com
Sun Sep 18 19:53:55 UTC 2005


Hi all,

I'm having a simple network but a strange problem that need some experts 
eyes. My FC2 server that serves as a LTSP server has two "legs" in 
different networks:

eth0: 10.0.0.1/24 (student network for thin clients)
eth1: 192.168.1.10/24 (school network with Internet access router at 
192.168.1.1)

Here come the challege: On the server I can ping all hosts EXCEPT the 
router 192.168.1.1 (the default gateway) ????????? The router is 
perfectly alive and all hosts on the 192.168.1.0  net has Internet 
access except the FC2 server. There must something I completely miss. 

NOTE: the last line (default gw) in the "netstat -r" command takes 10 
sec to display !!!!!!!!!

Any hint is greatly appreciated
Poul

[root at odin root]# cat /proc/sys/net/ipv4/ip_forward
1

[root at odin root]# netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt 
Iface
10.0.0.0        *               255.255.255.0   U         0 0          0 
eth0
192.168.1.0     *               255.255.255.0   U         0 0          0 
eth1
127.0.0.0       *               255.0.0.0       U         0 0          0 lo
default         192.168.1.1     0.0.0.0         UG        0 0          0 
eth1
                                                                                              

[root at odin root]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=odin
FORWARD_IPV4=true
NOZEROCONF=yes
GATEWAY=192.168.1.1
GATEWAYDEV=eth1
                                                                                              

[root at odin root]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corp.|82547GI Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.0.0.255
HWADDR=00:50:8D:E3:02:F4
IPADDR=10.0.0.1
NETMASK=255.255.255.0
NETWORK=10.0.0.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=no
IPV6INIT=no
GATEWAY=192.168.1.1
                                                                                              

[root at odin root]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# 3Com Corporation|3c905C-TX/TX-M [Tornado]
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.1.10
NETMASK=255.255.255.0
HWADDR=00:0A:5E:22:AE:D6
USERCTL=no
PEERDNS=no
GATEWAY=192.168.1.1
TYPE=Ethernet
IPV6INIT=no
GATEWAYDEV=eth1
                                                                                              

[root at odin root]# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
                                                                                              

--- 192.168.1.1 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1000ms
                                                                                              

[root at odin root]# ping 192.168.1.50
PING 192.168.1.50 (192.168.1.50) 56(84) bytes of data.
64 bytes from 192.168.1.50: icmp_seq=0 ttl=127 time=0.525 ms
64 bytes from 192.168.1.50: icmp_seq=1 ttl=127 time=0.218 ms
                                                                                              

--- 192.168.1.50 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.218/0.371/0.525/0.154 ms, pipe 2




More information about the fedora-list mailing list