order of eth interfaces in SuSE 9.1

Mike Reinehr cmr
Mon Feb 7 14:36:38 PST 2005


I just solved this problem for my own servers. I'm not familiar with Suse, but 
I imagine it's the same as with Debian. The netbase package provides 
the /etc/network/interfaces file which provides the configuration details for 
the ifup & ifdown commands. One of the options for an interface is:

 hwaddress "class address "
  Hardware Address. class is one of ether, ax25, ARCnet or netrom. address is
  dependent on the above choice.

Once you determine the hardware address of each of your network cards, just 
edit the interfaces file to tie a particular interface (eth0, eth1, ...) to a 
particular card.

Check man:interfaces for details.

HTH

cmr

On Monday 07 February 2005 04:40 am, Man-wai Chang wrote:
> how could I manually control the numbering of ethernet interfaces in
> SuSE 9.1?
>
> It's not like COL 3.1. There is no ifcfg-eth0 and ifcfg-eth1, but
> ifcfg-eth-id-xx:xx:xx:xx:xx:xx where the xx:s are the mac address.
> Automatic detection is good, but it may affect my iptables script if the
> network interfaces were not fixed.

-- 
Debian 'Sarge': Registered Linux User #241964
----
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
--------


More information about the Linux-users mailing list