Page 1 of 1

Linux Ethernet MAC address is "000000..0"

Posted: Thu Jan 03, 2013 8:42 pm
by Mark
In Linux installations Vividata's license manager looks for the MAC (ethernet hardware) address of eth0.
In replicating one virtual machine image, the ethernet interface was renamed from eth0 to eth1.
After the replication, the eth0 network interface reported "000000000000" as the MAC address of eth0. This is a problem for the license manager.

Here is how I fixed the problem and got eth0 to be the active network interface once again:.
su to root, then
# cd /etc/udev/rules.d
# cp 70-persistent-net.rules /root/
# rm 70-persistent-net.rules
# reboot
This file is generated by the /lib/udev/write_net_rules program, made via the persistent-net-generator.rules rules file. Once deleted, the system when rebooted will recreate it. You can check with this:
# /sbin/ifconfig | grep "^eth"

Re: Linux Ethernet MAC address is "000000..0"

Posted: Thu Jan 02, 2014 5:16 pm
by Carl
You say
# /sbin/ifconfig | grep "^eth"
but ethernet device might not begin with "eth". It could be almost anything.