2 eth-interfaces bound to same physical nic
I have just installed a new system (lenny stable) and have 2 nics one onboard intel 10/100 and a second Broadcom bcm5705 card. I have set networking in /etc/network/interfaces to the following.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
allow-hotplug eth0 (this shows as the Broadcom card in dmesg)
iface eth0 inet static
address 10.10.1.253
netmask 255.255.255.0
broadcast 10.10.1.255
network 10.10.1.0
gateway 10.10.1.1
allow-hotplug eth1 (this shows as the 10/100 card in dmesg)
iface eth1 inet static
address 10.10.1.252
netmask 255.255.255.0
broadcast 10.10.1.255
network 10.10.1.0
gateway 10.10.1.1
The problem is if I connect to either the 253 or 252 address they both connect through the Broadcom card and nothing will connect to the on board. Is there some sort of binding problem?