[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

IP forwarding problem



Can anyone help with this network problem, please?

This machine is an internal router, with two network cards.  iptables is
not configured in the kernel, since masquerading and filtering is not
required.  (There is a separate firewall machine.)

192.168.2 (eth0) is a network with Windows machines.  Packets to and
from that network are no longer being forwarded.  The routing table
appears to be correct and IP forwarding is turned on.

Machines on 192.168.2.* are able to ping 192.168.1.18 (the other network
card on the routing machine) but they cannot ping any other machine on
the 192.168.1 network.  Similarly, the router can ping 192.168.2.* but
no other machine on 192.168.1 can do so.

This set up was working until it was shut down and rebooted :-(



Kernel 2.6.13

olly@braydb$ netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.2.0     0.0.0.0         255.255.255.0   U         0 0          0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 eth1
0.0.0.0         192.168.1.14    0.0.0.0         UG        0 0          0 eth1

olly@braydb$ cat /proc/sys/net/ipv4/ip_forward
1

olly@braydb$ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:81:2E:17:30
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:81ff:fe2e:1730/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29786 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3292835 (3.1 MiB)  TX bytes:3704290 (3.5 MiB)
          Interrupt:153

eth1      Link encap:Ethernet  HWaddr 00:E0:81:2E:17:31
          inet addr:192.168.1.18  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:81ff:fe2e:1731/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2202383 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1480881 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:524809613 (500.4 MiB)  TX bytes:358879507 (342.2 MiB)
          Interrupt:161



Oliver Elphick



Reply to: