I have all NetworkManager services masked out. I have network-scripts installed and network enabled. I have these files in /etc/sysconfig/network-scripts:
ifcfg-p6p1 looks like:
NM_CONTROLLED="no" DHCPV6C="no" DEVICE="p6p1" ONBOOT="yes" PEERDNS="no" HWADDR="00:0B:0E:0F:00:ED" BRIDGE=br0
ifcfg-br0 looks like:
NM_CONTROLLED="no" DHCPV6C="no" BOOTPROTO="dhcp" DEVICE="br0" ONBOOT="yes" PEERDNS="no" TYPE=Bridge
On fedora 30, br0 automagically shows up with the same MAC as p6p1.
On fedora 31, br0 gets the wacky MAC address: 26:b0:0b:12:b4:6c
The corporate DHCP service then thinks I have a different hardware and gives me the wrong IP address which doesn't lead to my hostname.
Anyone know what is going on?
On 11/4/19 11:41 AM, Tom Horsley wrote:
On Mon, 4 Nov 2019 13:55:39 -0500 Tom Horsley wrote:
HWADDR="00:0B:0E:0F:00:ED"
No idea why this changed, but if I add
MACADDR="00:0B:0E:0F:00:ED"
in the ifcfg-br0 file, then it once again gets the same MAC as the physical interface and everyone knows who I am again.
It shouldn't have been automatically taking the MAC address from any particular interface in the bridge. I guess that was fixed at some point. Now you have to specify which MAC to use, otherwise it will generate one.