Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Use of PERSISTENT_NAME
  • From: Aldrik KLEBER <aldrik.kleber@xxxxxxxxxx>
  • Date: Thu, 31 Mar 2005 18:49:40 +0200
  • Message-id: <200503311849.44093.aldrik.kleber@xxxxxxxxxx>
Hello,

I'm trying to use Shorewall on a Suse 9.2 box, with 2 Ethernet device.
I must precise the device name, but eth0 and eth1 is swapping.

Reading the mailing-list, i saw the option PERSISTENT_NAME for my ifcfg-XXX
files.

When I tried ti set en0 and en1 to name my ethernet card, my cards still be
named eth0 and eth1 allocated in a random order.

Someone can explain me where is my error ?

chibilchin:/etc/sysconfig/network # cat "ifcfg-eth-bus-pci-0000:02:01.0"
BOOTPROTO='static'
BROADCAST='147.210.1.255'
IPADDR='147.210.1.1'
MTU=''
NETMASK='255.255.255.0'
NETWORK='147.210.1.0'
REMOTE_IPADDR=''
STARTMODE='auto'
UNIQUE='GA8e.+sm7363IdX9'
USERCONTROL='no'
IPADDR_='147.210.1.2'
NETMASK_='255.255.255.0'
LABEL_=''
_nm_name='bus-pci-0000:02:01.0'
IPADDR__='147.210.1.2'
LABEL__=''
NETMASK__='255.255.255.0'
PERSISTENT_NAME='en0'


chibilchin:/etc/sysconfig/network # cat ifcfg-eth-bus-pci-0000:03:0d.0
BOOTPROTO='static'
BROADCAST='192.168.1.255'
IPADDR='192.168.1.2'
MTU=''
NETMASK='255.255.255.0'
NETWORK='192.168.1.0'
REMOTE_IPADDR=''
STARTMODE='onboot'
UNIQUE='sLwP.yCFQUtrdkU6'
USERCONTROL='no'
_nm_name='bus-pci-0000:03:0d.0'
PERSISTENT_NAME='en1'


Thanks,
Aldrik


< Previous Next >
Follow Ups