  | |  | Segregating traffic on dual-NIC machine | Segregating traffic on dual-NIC machine 2002-05-07 - By Chris Caputo
Back Is there something magical I need to know about segregating traffic on a dual-NIC machine?
Both NICs are plugged into the same Ethernet switch with configs as follows. What I am seeing is that most of the packets destined to 10.1.1.12 are going to eth1 and only some are going to eth0, even though I would expect them all to go to eth0.
It is almost like eth1 is ARPing for both IP addresses on the machine.
Thanks for any insight, Chris
---
ifconfig output:
eth0 Link encap:Ethernet HWaddr 00:00:00:00:E3:88 inet addr:10.1.1.12 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:20262 errors:0 dropped:0 overruns:0 frame:0 TX packets:385 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:2369763 (2.2 Mb) TX bytes:38708 (37.8 Kb) Interrupt:18 Base address:0xf000
eth1 Link encap:Ethernet HWaddr 00:00:00:00:E3:89 inet addr:10.1.1.14 Bcast:10.1.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:39609 errors:0 dropped:0 overruns:0 frame:0 TX packets:85114 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:29001121 (27.6 Mb) TX bytes:107388915 (102.4 Mb) Interrupt:19 Base address:0x1000
/etc/sysconfig/network-scripts/ifcfg-eth0 contains:
BOOTPROTO= 'none ' BROADCAST= '10.1.1.255 ' DEVICE= 'eth0 ' GATEWAY=10.1.1.254 HWADDR=00:00:00:00:E3:88 IPADDR= '10.1.1.12 ' NETMASK= '255.255.255.0 ' NETWORK= '10.1.1.0 ' ONBOOT= 'yes ' TYPE=Ethernet USERCTL=no
and /etc/sysconfig/network-scripts/ifcfg-eth1 contains:
BOOTPROTO=none BROADCAST=10.1.1.255 DEVICE=eth1 GATEWAY=10.1.1.254 HWADDR=00:00:00:00:e3:89 IPADDR=10.1.1.14 NETMASK=255.255.255.0 NETWORK=10.1.1.0 ONBOOT= 'yes ' TYPE=Ethernet USERCTL=no
|
|
 |