-----Problem arises------
In the newly installed ubuntu14.04 system did not find the file/etc/udev/rule.d/70-persistent-net.rules, unable to modify the logical name of the network (that is, the first net card name changed to Eth0, Second NET card name changed to eth0)
----------Ideas-----
1, because no/etc/udev/rule.d/70-persistent-net.rules file was found, restart; The file was not found after rebooting
2, manual execution/lib/udev/write_net_rules; hint missing variable interface
[Email protected]:/lib/udev/rules.d#/lib/udev/write_net_rules missing $INTERFACE
Add Variable:
[Email protected]: Export interface= "eth0"
Missing valid match
[Email protected]:export matchaddr= "00:0c:29:1f:1a:f5"
[Email Protected]:/lib/udev/write_net_rules
# ls/etc/udev/rules.d/
70-persistent-net.rules README
Modify 70-persistent-net.rules
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:29:1f:1a:f5", kernel== "eth*", name= "eth0"
After modification:
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:29:1f:1a:eb", kernel== "eth*", name= "eth0"
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:29:1f:1a:f5", kernel== "eth*", name= "eth1"
subsystem== "NET", action== "Add", drivers== "? *", attr{address}== "00:0c:29:1f:1a:ff", kernel== "eth*", name= "eth2"
Reboot, complete.
Reference: http://blog.csdn.net/nnuljl/article/details/38680107
[Original]ubuntu14.04 NIC logic modification no file/etc/udev/rules.d/70-persistent-net.rules