I have two linux boxes running Fedora Core 2.
Box A has two nic's installed.
Eth0 is connected to a cable modem and configured via DHCP from the ISP.
Eth1 is connected bia a crossover cable to Eth0 on Box B.
Box B has one nic installed.
Eth0 is connected to Box A via crossover cable to Eth1 on Box A
Eth0 is configured via DHCP running on Box A.
From Box A
Everything works fine.
I can connect to the internet via cable modem.
I can ping Box B
From Box B
Obtains IP from DHCP on Box A just fine.
I can ping Box A
DNS on Box A returns proper IP address when pinging yahoo
ping fails to see anything other that IP for eth1 on Box A
PROBLEM:
Box B will not connect to the internet
Box A is not routing
IP_FORWARDing is turned on.
HELP. Been two days working on this!
ifconfig output:
eth0 Link encap:Ethernet HWaddr 00:0B
B:29:AB:96
inet addr:68.118.98.204 Bcast:255.255.255.255 Mask:255.255.240.0
inet6 addr: fe80::20b:dbff:fe29:ab96/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23048 errors:0 dropped:0 overruns:0 frame:0
TX packets:875 errors:0 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:1000
RX bytes:1898829 (1.8 Mb) TX bytes:124841 (121.9 Kb)
Interrupt:5
eth1 Link encap:Ethernet HWaddr 00:50:04:7D:47:26
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:4ff:fe7d:4726/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26 errors:0 dropped:0 overruns:0 frame:0
TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2046 (1.9 Kb) TX bytes:1950 (1.9 Kb)
Interrupt:11 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2125 errors:0 dropped:0 overruns:0 frame:0
TX packets:2125 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2182705 (2.0 Mb) TX bytes:2182705 (2.0 Mb)
route -n output:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
68.118.96.0 0.0.0.0 255.255.240.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 68.118.96.1 0.0.0.0 UG 0 0 0 eth0