Hi,
Fisrtly, thank you very much for taking the time to look at this. Much
appreciated!
Here's our setup (note: prepend 203.1.78 to all IPs, so [.3] is really
[203.1.78.3])
Router[.195]<------>[.225]bunsen[.66]<------->[.65]beaker[.3]<----->
LAN
I can ping, say,
www.google.com from beaker, so I know there's no
firewall problems on bunsen, or connectivity problems from beaker to
outside world. I have configured IP tables on beaker to accept
everything, and log it. IP tables on bunsen (firewall) is restrictive,
but allows pings out.
If I do a ping from a LAN machine to, again say
www.google.com, I can
see entries in the IP tables log saying that beaker accepted an ICMP
from the LAN machine, destined for 64.233.187.99 (google). So I know
packets from the LAN are getting to beaker, and accepted, but they then
seemingly disappear. I can also successfully ping beaker from any LAN
machine.
I am in the process of recompiling my 2.6.10 kernel to turn on kprobe
support, and use the netpktlog module to trace packets through the
kernel to see what happens.
Here's some config info:
BUNSEN (Firewall)
-----------------
[root@bunsen root]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
203.1.78.3 203.1.78.65 255.255.255.255 UGH 0 0 0
eth0
203.1.78.224 0.0.0.0 255.255.255.224 U 0 0 0
eth1
203.1.78.64 0.0.0.0 255.255.255.192 U 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 203.1.78.226 0.0.0.0 UG 0 0 0
eth1
[root@bunsen root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:40:F4:37:19:74
inet addr:203.1.78.66 Bcast:203.1.78.127
Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:220256 errors:0 dropped:0 overruns:0 frame:0
TX packets:371635 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:107598396 (102.6 Mb) TX bytes:167642771 (159.8 Mb)
Interrupt:9 Base address:0x9000
eth1 Link encap:Ethernet HWaddr 00:40:F4:37:27

3
inet addr:203.1.78.225 Bcast:203.1.78.255
Mask:255.255.255.224
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:298815 errors:0 dropped:0 overruns:0 frame:0
TX packets:236096 errors:0 dropped:0 overruns:0 carrier:0
collisions:1261 txqueuelen:100
RX bytes:93226591 (88.9 Mb) TX bytes:44706495 (42.6 Mb)
Interrupt:5 Base address:0xb000
eth2 Link encap:Ethernet HWaddr 00:40:F4:37:26:65
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0xd000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:341 errors:0 dropped:0 overruns:0 frame:0
TX packets:341 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2210460 (2.1 Mb) TX bytes:2210460 (2.1 Mb)
BEAKER (Gateway)
----------------
[root@beaker ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
203.1.78.64 0.0.0.0 255.255.255.192 U 0 0 0
eth0
203.1.78.0 0.0.0.0 255.255.255.192 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0
lo
0.0.0.0 203.1.78.66 0.0.0.0 UG 0 0 0
eth0
[root@beaker ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:08:A1:37:4A:12
inet addr:203.1.78.65 Bcast:203.1.78.127
Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27155 errors:0 dropped:0 overruns:0 frame:0
TX packets:16068 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12498309 (11.9 MiB) TX bytes:2473762 (2.3 MiB)
Interrupt:5 Base address:0xd800
eth1 Link encap:Ethernet HWaddr 00:08:A1:37:4E

1
inet addr:203.1.78.3 Bcast:203.1.78.63 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:304222 errors:0 dropped:0 overruns:0 frame:0
TX packets:387860 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:70791184 (67.5 MiB) TX bytes:446707968 (426.0 MiB)
Interrupt:5 Base address:0xd400
eth2 Link encap:Ethernet HWaddr 00:0C:6E:78:0E:28
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5163 errors:0 dropped:0 overruns:0 frame:0
TX packets:5163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1610106 (1.5 MiB) TX bytes:1610106 (1.5 MiB)