On Thursday 21 July 2011 12:20:30 Florian Philipp wrote:
> Also, udev will usually detect your network interfaces as new interfaces
> and give them different numbers (eth1 instead of eth0 and so on).

You can "solve" this by deleting the respective entries in the udev config:

******
$ cat /etc/udev/rules.d/70-persistent-net.rules                                 
                                                                                
                                           
# This file was automatically generated by the /lib64/udev/write_net_rules      
                                                                                
                                                       
# program run by the persistent-net-generator.rules rules file.                 
                                                                                
                                                       
#                                                                               
                                                                                
                                                       
# You can modify it, as long as you keep each rule on a single line.            
                                                                                
                                                       
                                                                                
                                                                                
                                                       
# PCI device 0x1234:0x1234 (eth-device)                                         
                                                                                
                                                        
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:55", 
KERNEL=="eth*", NAME="eth0"
*******

Removing this file or just the entries should force udev to reuse the network-
device-names.

-- 
Joost

Reply via email to