I have recently added a new machine to my network at home and am having issues routing. To describe my current setup:
Cable Modem <--> X.X.X.X [Gateway box] 192.168.54.1 <--> SWITCH
[SWITCH] <--> 192.168.54.1 [Gateway Box] (socrates)
[SWITCH] <--> 192.168.54.2 [Linksys Router] 192.168.55.1 <--> WiFi Subnet (cerberus)
[SWITCH] <--> 192.168.54.5 [New Box] (meb)
Currently, socrates can route to the internet. Socrates can route to cerberus and to meb. Cereberus can route to wifi hosts, to meb, to socrates, and to the internet. meb can route to cerberus and to socrates, but cannot get past socrates.
Socrates information:
Code:
root@socrates:/home/# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.54.0 * 255.255.255.0 U 0 0 0 eth1
70.112.48.0 * 255.255.254.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default cpe-70-112-48-1 0.0.0.0 UG 0 0 0 eth0
root@socrates:/home/# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level warning
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@socrates:/home/# cat /etc/resolv.conf
nameserver 24.93.41.125
nameserver 24.93.41.126
search austin.rr.com
root@socrates:/home/# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:B6:5C:EC
inet addr:70.112.49.XXX Bcast:255.255.255.255 Mask:255.255.254.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16885984 errors:0 dropped:0 overruns:0 frame:0
TX packets:12923439 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:151109277 (144.1 Mb) TX bytes:1450028461 (1382.8 Mb)
Interrupt:17 Base address:0xe000
eth1 Link encap:Ethernet HWaddr 00:50:BA:D9:B2:45
inet addr:192.168.54.1 Bcast:192.168.54.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3948111 errors:0 dropped:0 overruns:0 frame:0
TX packets:5927792 errors:0 dropped:0 overruns:10 carrier:0
collisions:0 txqueuelen:1000
RX bytes:844542407 (805.4 Mb) TX bytes:2949513746 (2812.8 Mb)
Interrupt:18 Base address:0xa400
root@socrates:/home/# ping 192.168.54.1
PING 192.168.54.1 (192.168.54.1) 56(84) bytes of data.
64 bytes from 192.168.54.1: icmp_seq=1 ttl=64 time=0.119 ms
--- 192.168.54.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.119/0.119/0.119/0.000 ms
root@socrates:/home/# ping 192.168.54.2
PING 192.168.54.2 (192.168.54.2) 56(84) bytes of data.
64 bytes from 192.168.54.2: icmp_seq=1 ttl=64 time=6.30 ms
--- 192.168.54.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 6.305/6.305/6.305/0.000 ms
root@socrates:/home/# ping 192.168.54.5
PING 192.168.54.5 (192.168.54.5) 56(84) bytes of data.
64 bytes from 192.168.54.5: icmp_seq=1 ttl=64 time=0.260 ms
--- 192.168.54.5 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.260/0.260/0.260/0.000 ms
root@socrates:/home/# ping yahoo.com
PING yahoo.com (216.109.112.135) 56(84) bytes of data.
64 bytes from w2.rc.vip.dcn.yahoo.com (216.109.112.135): icmp_seq=1 ttl=52 time=53.0 ms
--- yahoo.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 53.081/53.081/53.081/0.000 ms
meb information:
Code:
root@meb:/usr/src/linux# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.54.1 255.255.255.255 UGH 0 0 0 eth0
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
root@meb:/usr/src/linux# cat /etc/resolv.conf
nameserver 24.93.41.125
nameserver 24.93.41.126
root@meb:/usr/src/linux# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:63:CA:9C:65
inet addr:192.168.54.5 Bcast:192.168.54.255 Mask:255.255.255.0
inet6 addr: fe80::240:63ff:feca:9c65/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6757 errors:0 dropped:0 overruns:0 frame:0
TX packets:4521 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:598872 (584.8 KiB) TX bytes:652774 (637.4 KiB)
Interrupt:11 Base address:0xc000
root@meb:/usr/src/linux# ping 192.168.54.5
PING 192.168.54.5 (192.168.54.5) 56(84) bytes of data.
64 bytes from 192.168.54.5: icmp_seq=1 ttl=64 time=0.072 ms
--- 192.168.54.5 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.072/0.072/0.072/0.000 ms
root@meb:/usr/src/linux# ping 192.168.54.2
PING 192.168.54.2 (192.168.54.2) 56(84) bytes of data.
64 bytes from 192.168.54.2: icmp_seq=1 ttl=64 time=1.84 ms
--- 192.168.54.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 1.845/1.845/1.845/0.000 ms
root@meb:/usr/src/linux# ping 192.168.54.1
PING 192.168.54.1 (192.168.54.1) 56(84) bytes of data.
64 bytes from 192.168.54.1: icmp_seq=1 ttl=64 time=0.229 ms
--- 192.168.54.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.229/0.229/0.229/0.000 ms
root@meb:/usr/src/linux# ping 216.109.112.135
connect: Network is unreachable
root@meb:/usr/src/linux# traceroute 216.109.112.135 (yahoo.com)
traceroute: findsaddr: Can't find interface
My first guess is something to do with the localnet entry in the routing table but I'm hoping there's something simple I'm missing. This is a new slack11 install and I updated the kernel
Linux meb 2.6.21 #1 Sun Apr 29 11:48:26 CDT 2007 i686 i686 i386 GNU/Linux
Any help is greatly appreciated.