[arch-general] How to get permanent network devices?
Hello, I have three network devices (eth0, eth1 and eth2) in my system. Currently I use the networkmanager (Gnome) to configure my LAN connection. It is working good. My problem is that every reboot the device names are changing so somtimes my LAN device is eth0 next reboot it is eth2 ..... I think this is done by udev. Can someone explain me how to get permanent device names every boot? I want to have eth0 as my normal LAN device, eth1 as a bridge device for KVM VMs and eth2 as bridge device connected to my DMZ for VMs. With virt-manager I can setup these bridges but if the device name changes every boot it is unpossible to use. Any ideas or advices for me? -- Best regards Dominik Schips
On 13 April 2010 12:03, Dominik Schips <dominik@s235.de> wrote:
Hello,
I have three network devices (eth0, eth1 and eth2) in my system.
Currently I use the networkmanager (Gnome) to configure my LAN connection. It is working good.
My problem is that every reboot the device names are changing so somtimes my LAN device is eth0 next reboot it is eth2 .....
I think this is done by udev. Can someone explain me how to get permanent device names every boot?
I want to have eth0 as my normal LAN device, eth1 as a bridge device for KVM VMs and eth2 as bridge device connected to my DMZ for VMs.
With virt-manager I can setup these bridges but if the device name changes every boot it is unpossible to use.
Any ideas or advices for me?
Yeah, read the wiki: http://wiki.archlinux.org/index.php/Udev#Mixed_Up_Devices.2C_Sound.2FNetwork... or http://wiki.archlinux.org/index.php/Configuring_Network#Interface_names_vary...
--
Best regards
Dominik Schips
-- Tavian Barnes
Hello, Am Dienstag, den 13.04.2010, 18:03 +0200 schrieb Dominik Schips:
Hello,
I have three network devices (eth0, eth1 and eth2) in my system.
Currently I use the networkmanager (Gnome) to configure my LAN connection. It is working good.
My problem is that every reboot the device names are changing so somtimes my LAN device is eth0 next reboot it is eth2 .....
I think this is done by udev. Can someone explain me how to get permanent device names every boot?
I want to have eth0 as my normal LAN device, eth1 as a bridge device for KVM VMs and eth2 as bridge device connected to my DMZ for VMs.
With virt-manager I can setup these bridges but if the device name changes every boot it is unpossible to use.
Any ideas or advices for me?
Yust for others that will have a similar problem. I had a deeper look at http://wiki.archlinux.org/index.php/Rc.conf#Networking http://wiki.archlinux.org/index.php/Udev#Mixed_Up_Devices.2C_Sound.2FNetwork... and setup a udev rule to get fixed devices. Now it works perfect as I expect. The Archwiki is always a good place to look at. ;) -- Best regards Dominik Schips
participants (2)
-
Dominik Schips
-
Tavian Barnes