[SLE] Use of PERSISTENT_NAME

From: Aldrik KLEBER (aldrik.kleber_at_tiscali.fr)
Date: 03/31/05

  • Next message: Richard Bos: "Re: [SLE] Postfix setting"
    To: suse-linux-e@suse.com
    Date: Thu, 31 Mar 2005 18:49:40 +0200
    
    
    

    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

    
    



  • Next message: Richard Bos: "Re: [SLE] Postfix setting"

    Relevant Pages