Bad ICMP response on 2nd eth. interface

(no name) ((no email))
Mon, 30 Aug 1999 22:18:10 +0200


Hello, happy Linuxers,

I'm trying to set up a firewall + masquerading, but net traffic on my
second card looks strange...

MB: EP-MVP3G
CPUs: 2 x PII (deschutes) @ 392MHz
PCI devices:
...
00:09.0 Ethernet controller: 3Com Corporation 3c905 100BaseTX
[Boomerang]
00:0c.0 Ethernet controller: Digital Equipment Corporation DECchip
21140 [FasterNet] (rev 22)
with interrupts (from /proc/interrupts):
17: 898 891 IO-APIC-level eth0, eth1

The network routes are:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
xxx.xxx.236.128 * 255.255.255.128 U 0 0 0
eth0
192.168.1.128 * 255.255.255.128 U 0 0 0
eth1
loopback * 255.0.0.0 U 0 0 0
lo
default xxx.xxx.236.254 0.0.0.0 UG 1 0 0
eth0

Now, pinging a machine on the subnet accessible through the first NIC:
PING xxx.xxx.236.227 (xxx.xxx.236.227): 56 data bytes
64 bytes from xxx.xxx.236.227: icmp_seq=0 ttl=255 time=0.7 ms
64 bytes from xxx.xxx.236.227: icmp_seq=1 ttl=255 time=1.2 ms
64 bytes from xxx.xxx.236.227: icmp_seq=2 ttl=255 time=0.4 ms
64 bytes from xxx.xxx.236.227: icmp_seq=3 ttl=255 time=0.4 ms
64 bytes from xxx.xxx.236.227: icmp_seq=4 ttl=255 time=1.4 ms
64 bytes from xxx.xxx.236.227: icmp_seq=5 ttl=255 time=0.3 ms
--- xxx.xxx.236.227 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.7/1.4 ms
and a machine on the second one:
PING 192.168.1.130 (192.168.1.130): 56 data bytes
64 bytes from 192.168.1.130: icmp_seq=0 ttl=255 time=8686.3 ms
64 bytes from 192.168.1.130: icmp_seq=1 ttl=255 time=7694.2 ms
64 bytes from 192.168.1.130: icmp_seq=2 ttl=255 time=6694.4 ms
64 bytes from 192.168.1.130: icmp_seq=3 ttl=255 time=5694.6 ms
64 bytes from 192.168.1.130: icmp_seq=4 ttl=255 time=4694.8 ms
64 bytes from 192.168.1.130: icmp_seq=5 ttl=255 time=3694.9 ms
64 bytes from 192.168.1.130: icmp_seq=6 ttl=255 time=2695.0 ms
64 bytes from 192.168.1.130: icmp_seq=7 ttl=255 time=1695.2 ms
64 bytes from 192.168.1.130: icmp_seq=8 ttl=255 time=695.4 ms
64 bytes from 192.168.1.130: icmp_seq=9 ttl=255 time=1052.2 ms
64 bytes from 192.168.1.130: icmp_seq=10 ttl=255 time=51.2 ms
64 bytes from 192.168.1.130: icmp_seq=11 ttl=255 time=1805.4 ms
64 bytes from 192.168.1.130: icmp_seq=12 ttl=255 time=805.6 ms
--- 192.168.1.130 ping statistics ---
14 packets transmitted, 13 packets received, 7% packet loss
round-trip min/avg/max = 51.2/3535.3/8686.3 ms

I actually tested this on 2.2.9 and 2.2.12, used different
hubs/cables/NICs/{other machines} configs, and I always get the same
result. Additionally, I didn't find anything relevant in the
static/dynamic docs. What have I missed ?

Thanks for your patience!

JF

-- 
GOBBERS Jean-François - researcher          -------------------
Université Catholique de Louvain            |   .~.           |
       UCL/FSA/ELEC/TELE                    |   /V\     LINUX |
       UCL/FS/PHYS/FYMA                     |  // \\          |
Tel    : +32-10-478546                      | /(   )\  INSIDE |
Fax    : +32-10-472089                      |  ^^-^^          |
e-Mail : gobbers@tele.ucl.ac.be             -------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/