Re: Centos 7 and MAC address munging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 17 May 2017 8:53 pm, <m.roth@xxxxxxxxx> wrote:

Odd situation: I've mentioned before that I have several users for whom I
have to spoof the MAC address, due to a software license. Now, I've got
net.ifnames=0 biosdevname=0 on the grub2 command line, and I've got the
spoofed MAC address in /etc/sysconfig/network-sctipts/ifcfg-eth0.

But he had a serious problem - X froze, and he thought to reboot, rather
than call me. It came up with the actual MAC. I tried a number of things,
including reboots, but the only thing that worked was systemctl stop
NetworkManager, ifdown eth0, then ifup eth0, then start NetworkMangler,
and all was good.

Yeah, I know, afterwards, I remembered I should have use nmcli....

But the real question is *why* did it fail on the reboot. I find no clues
in dmesg, or messages, or boot.log.

Clues for the poor?

       mark

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos


Is this box fully updated? I ask as the NM since 7.3 has different
behaviour from release due to rebasing.

What does `nmcli con sh eth0 | grep clone` tell you?

It's that property you need to set.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux