order of eth interfaces in SuSE 9.1

Matthew Carpenter matt
Tue Feb 8 17:46:59 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Check /etc/modules.conf:

alias eth0 3c59x
alias eth1 e100

That works unless you are using the same nic's.  Then, you can check the
driver for a way to force it, or just figure out which comes up.  It
should always be the same because it's then based on PCI/ISA bus location.

Roger Oberholtzer wrote:
| 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 ?
| +????????????????????????????+???????????????????????????????+
|
| _______________________________________________
| Linux-users mailing list
| Linux-users at linux-sxs.org
| http://mail.linux-sxs.org/cgi-bin/mailman/listinfo/linux-users
|
| Need to chat further on this subject? Check out #linux-users on
irc.linux-sxs.org !
|
|
|

- --
Matthew Carpenter
matt at eisgr.com                          http://www.eisgr.com/

Enterprise Information Systems
* Network Server Appliances
* Security Consulting, Incident Handling & Forensics
* Network Consulting, Integration & Support
* Web Integration and E-Business
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCCTHwso9lqh4MragRAqzIAJ4ut2o0Nrz7FAiSmWiJOah4gDZwMQCcDZwl
hLNVr0Ghchh/IAVpe/4KS8o=
=9m3B
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list