[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

    • vmware-server and multiple network interfaces
      ... eth0 used to be connected to our DMZ, ... i installed feisty on it and installed vmware-server ... I get the feeling the ethernet device is bridged with the ... how do i get it so it is bridged to the eth1 device? ...
      (Ubuntu)
    • How to activate PCMCIA ethernet card in ThinkPad?
      ... designated eth0, which command "lspci" identifies as follows: ... I would consequently like to try a D-Link PC ethernet card which I had ... The R61 knows it is there, as command "pccardctl ident 0" returns the ... I would like this card to be eth1; so I added an eth1 entry in file ...
      (Debian-User)
    • speed up my LAN
      ... mii-tool -l -w eth0 ... Sep 25 01:09:01 dave kernel: eth1: Link changed: ... basic mode: autonegotiation enabled ... basic status: autonegotiation complete, link ok ...
      (comp.os.linux.networking)
    • Re: Problem with bonded (teaming) NICs on RHEL 4.0
      ... I think mii-tool has a problem with GIG speeds. ... When you run mii-tool for eth0 and eth1 it does not show that. ...
      (RedHat)
    • Re: setting-up a dmz
      ... Not provide any actual log messages? ... No shorewall, i prefer a own debian iptables firewall:) ... eth1: link up, 10Mbps, half-duplex, lpa 0x0000 ... ADDRCONF: eth0: link is not ready ...
      (Debian-User)