[CentOS] C7 and spoofed MAC address

Fri Jul 7 06:13:24 UTC 2017
James Hogarth <james.hogarth at gmail.com>

On 30 June 2017 at 18:58,  <m.roth at 5-cent.us> wrote:
> Got a problem: a user's workstation froze. He wound up rebooting, without
> calling me in first, so I dunno. But, and this is a show-stopper, when it
> came up, it came up with the firmware MAC, not the spoofed one. In
> /etc/sysconfig/network-scripts/ifcg-eth0, I've got the spoofed MAC
> address, and a UUID. In the grub.conf, I've got net.ifnames=0
> biosdevname=0. But when I logged onto his machine, ip a showed eth0... but
> with the firmware MAC.
> And I'm wondering if it went to renew its IP address, and lost the spoofed
> MAC. That might explain his freezes.
> Anyway, does anyone have any idea if there's some networkmangler or
> systemd configuration that would force it to pay attention?
> Note that my hack to fix it was ifdown eth0/ifup eth0, and it's fine.

Not much to go on here ....

Your ifcfg-* configs would be helpful.

There was a slight change to MAC spoof behaviour in the NM 1.4.0 that
was part of EL7.3 compared to the older NM as I recall


That may or may not be affecting you.