Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

2 eth-interfaces bound to same physical nic

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
rycarlson
Posts: 1
Joined: 2009-07-31 03:22

2 eth-interfaces bound to same physical nic

#1 Post by rycarlson »

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?

User avatar
bugsbunny
Posts: 5354
Joined: 2008-07-06 17:04
Been thanked: 1 time

Re: 2 eth-interfaces bound to same physical nic

#2 Post by bugsbunny »

What is 10.10.1.1 (physically) and which card is it connected to?

ramnet
Posts: 63
Joined: 2009-05-31 23:00
Location: USA

Re: 2 eth-interfaces bound to same physical nic

#3 Post by ramnet »

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:

Post Reply