I have a linux box that I am attempting to get to act as a router, then
perhaps if I can get this working, I'll turn on firewalling. The Cisco
router to the internet's interface is at 249.149.6.1, which plugs into a
hub where the Linux router is. The linux box has two NICs in it, the
one plugged into the Cisco hub is 209.149.6.2/255.255.255.224, the card
plugged into a hub with various servers is
209.149.6.38/255.255.255.224.
Ifconfig returns the following:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0
UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1
RX packets:86 errors:0 dropped:0 overruns:0 frame:0
TX packets:86 errors:0 dropped:0 overruns:0 carrier:0 coll:0
eth0 Link encap:Ethernet HWaddr 00:60:08:03:95:A5
inet addr:209.149.6.2 Bcast:209.149.6.31
Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:232 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0 coll:0
Interrupt:9 Base address:0x6100
eth1 Link encap:Ethernet HWaddr 00:60:08:03:95:4C
inet addr:209.149.6.38 Bcast:209.149.6.63
Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:426 errors:1 dropped:0 overruns:0 frame:1
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 coll:0
Interrupt:11 Base address:0x6200
Route returns the following:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
209.149.6.0 0.0.0.0 255.255.255.224 U 0 0 2
eth0
209.149.6.32 0.0.0.0 255.255.255.224 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 1
lo
0.0.0.0 209.149.6.1 0.0.0.0 UG 1 0 1
eth0
When pinging a host on the other side of the Linux box from either
direction, the ping fails. The Linux box itself can be pinged (both
interface). It appears to have a routing problem, although it isn't
obvious to me what the problem is.
TIA