[LARTC] Ethernet equipment testing with two NICs
Matthew R. Dempsky
mrd at alkemio.org
Thu Aug 3 21:57:00 CEST 2006
I have a Linux 2.6.16 machine with two gigabit ethernet adapters that I
would like to use for testing Ethernet equipment---right now just an
Ethernet cable, but later switches, bridges, etc.
I tried assigning the two adapters IPs of 192.168.50.1 and 192.168.51.1
and then setup the routing table to direct 192.168.51.0/24 traffic to
the first adapter, and 192.168.50.0/24 traffic to the second, but when I
run ``ping -I 192.168.50.1 192.168.51.1'' the packets are routed over lo
instead of eth0/eth1.
Can someone suggest an alternative setup that will work?
Thanks.
More information about the LARTC
mailing list