The only solution i found was a not anymore supported module for netfilter from Rusty Russell.
I tried to fix the compiler errors/warnings and finally it worked.
Usage:
ifconfig eth0 192.168.1.1
ifconfig eth1 192.168.2.1
arp -s 192.168.1.2 <hardware address of eth1> -i eth0
arp -s 192.168.2.2 <hardware address of eth0> -i eth1
modprobe ip_crossover dev1=eth0 dev2=eth1
Then doing ping 192.168.1.2, ICMP ping goes out eth0 and comes back in eth1.
ip_crossover.tar.bz2
for testing packets with differenz sizes i did:
for i in $(seq 0 1472); do ping -q -c1 -s$i 192.168.2.2 >/dev/null || echo fail $i; done
for i in $(seq 0 1472); do ping -q -c1 -s$i 192.168.1.2 >/dev/null || echo fail $i; done
[ view entry ] ( 1530 views ) | print article
<<First <Back | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | Next> Last>>