order of eth interfaces in SuSE 9.1

Man-wai Chang mwchang
Tue Feb 8 04:49:56 PST 2005


> 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.


-- 
   .~.    Might, Courage, Vision. http://toylet.homeip.net
  / v \   Linux 2.4.29
/( _ )\  5:46pm up 7 days 5 min
   ^ ^    load average: 1.00 0.99 0.97


More information about the Linux-users mailing list