2 eth-interfaces bound to same physical nic

Kernels & Hardware, configuring network, installing services

2 eth-interfaces bound to same physical nic

Postby rycarlson » 2009-10-09 14:33

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?
rycarlson
 
Posts: 1
Joined: 2009-07-31 03:22

Re: 2 eth-interfaces bound to same physical nic

Postby bugsbunny » 2009-10-09 18:13

What is 10.10.1.1 (physically) and which card is it connected to?
User avatar
bugsbunny
 
Posts: 5355
Joined: 2008-07-06 17:04

Re: 2 eth-interfaces bound to same physical nic

Postby ramnet » 2009-10-14 01:21

You might try replacing "allow-hotplug" with "auto" - in my experience the behaviour of hotplug can be unpredictable if using more than 1 nic.
RAM Host
Debian == The Best Universal Operating System :lol:
ramnet
 
Posts: 63
Joined: 2009-05-31 23:00
Location: USA


Return to System configuration

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable