Hello all!
Server with 4 nic interfaces, OpenSuse 11.1. I want rename eth0 to wan1. I can use yast, but want to now, how did it from console.
ifconfig eth0 down
ip link set eth0 name wan1
ifconfig wan1 up
is work, but after reboot, eth0 still here.
if I rename /etc/sysconfig/network/ifcfg-eth0 -> ifcfg-wan1 network did’n work, and I see new config in yast.
How I can currectly rename NIC name w/o yast?
thx,
I modified /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM==“net”, ACTION==“add”, DRIVERS=="?", ATTR{address}==“00:15:1a:4f:1d:ff”, ATTR{type}==“1”, KERNEL=="eth", NAME=“wan1”
and it work after reboot