Code: Select all
cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:8f:99:7e", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:bc:3d:dd", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
Code: Select all
Jun 14 03:18:13 localhost systemd-udevd[189]: Error changing net interface name 'eth0' to 'eth1': File exists
Jun 14 03:18:13 localhost systemd-udevd[189]: could not rename interface '2' from 'eth0' to 'eth1': File exists
Jun 14 03:18:13 localhost systemd-udevd[186]: Error changing net interface name 'eth1' to 'eth0': File exists
Jun 14 03:18:13 localhost systemd-udevd[186]: could not rename interface '8' from 'eth1' to 'eth0': File exists
Code: Select all
$ cat /etc/systemd/system/network.service.d/override.conf
[Unit]
After=systemd-udevd.service
$ systemctl status network
* network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
Drop-In: /etc/systemd/system/network.service.d
`-override.conf
Please let me know how can I resolve this issue.