order of eth interfaces in SuSE 9.1

Roger Oberholtzer roger
Tue Feb 8 05:05:11 PST 2005


In the 9.2 SUSE-provided firewall, these long names are the ones used. I
see that ifconfig does return the traditional eth0 name. That is most
likely for compatibility with other software. My info is probably only
valid on systems that use the new naming method.

On Tue, 2005-02-08 at 10:51, Man-wai Chang wrote:
> > In /etc/sysconfig/network, the config files are not named 'ifcfg-eth0'
> > and the like. Mine is named ifcfg-eth-id-00:06:5b:a6:e5:9d, which tells
> > me exactly which card it is. This will never change because of slot or
> > driver load order changes. In YAST, the MAC address is provided so you
> > know which you are configuring.
> 
> but I don't understand how SuSE stores the connection between 
> ifcfg-eth-id-00:00:00:00:00 and eth0, ifcfg-eth-id-00:00:00:00:00:02 and 
> eth1. My firewall script relies on the output of ifconfig to work, which 
> identifies network card as eth0 and eth1, not eth-id-MAC-address.
> 
> I wanted to know how SuSE worked out the ordering of 
> (eth-id-MAC-address1, eth-id-MAC-address2) and (eth0, eth1, ...)
> 
> I hope I did make myself clear.
+????????????????????????????+???????????????????????????????+
? Roger Oberholtzer          ?   E-mail: roger at opq.se        ?
? OPQ Systems AB             ?      WWW: http://www.opq.se/  ?
? Nybrogatan 66 nb           ?    Phone: Int + 46 8   314223 ?
? 114 41 Stockholm           ?   Mobile: Int + 46 733 621657 ?
? Sweden                     ?      Fax: Int + 46 8   314223 ?
+????????????????????????????+???????????????????????????????+



More information about the Linux-users mailing list