Bug 113215

Summary: Network Setting Precedence for Multiple Interfaces
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Dan Elder <delder>
Component: NetworkAssignee: Peter Poeml <poeml>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: i686   
OS: All   
Whiteboard:
Found By: Third Party Developer/Partner Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Dan Elder 2005-08-26 06:35:22 UTC
This is an issue for 9.3 but still exists in 10.0 currently.  If you have
multiple interface cards, the first one (usually ethernet) will take precedence
over any other interfaces for assigning information via dhcp.  If the first
interface is disconnected but another interface is able to receive dhcp replies,
the network settings will never be set:

linux:~ # ps awwwx | grep dhcpcd
11149 tty1     S      0:00 /sbin/dhcpcd -C -D -K -N -t 999999 -h linux -c
/etc/sysconfig/network/scripts/dhcpcd-hook eth0
11682 ?        Ss     0:00 /sbin/dhcpcd -C -R -G -N -Y -t 999999 -h linux -c
/etc/sysconfig/network/scripts/dhcpcd-hook eth1

The -G -R -Y flags force the second interface to never set a default gateway or
any of the other settings necessary for dns resolution or routing.  The system
should detect if an interface is disconnected physically if possible and allow a
secondary interface to become the primary interface if necessary.  This would
simplify things tremendously for those of us with multiple ethernet interfaces
or ethernet and wireless interfaces who have to manually run dhcpcd each time to
configure any network settings.
Comment 1 Christian Zoz 2005-08-29 07:01:07 UTC
Goto YaST. Set your network interfaces to 'activate when cable is plugged'.