Friday, 20 December 2013

Solution to change Network device Name (eth0) in CentOS, Fedora Linux

Open the /etc/udeve/rules.d/70-persistent-net.rules and change NAME as your require.

cat /etc/udev/rules.d/70-persistent-net.rules 
# This file was automatically generated by the /lib/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, and change only the value of the NAME= key.

# PCI device 0x15ad:0x07b0 (vmxnet3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:b6:64:c5", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"


Share This!



No comments:

Post a Comment

Here We Write The Problems we face at different situations and Solutions to those problems.