Summary: | sys-fs/udev-242 generates MAC address for bridge device instead of inheriting it from physical device | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jacek <abduleczek> |
Component: | Current packages | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | abduleczek |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jacek
2019-08-10 14:12:40 UTC
I don't think udev generates MAC addresses for bridge interfaces. Please provide more information about how you are creating this bridge interface. Ok, this is happening because of MACAddressPolicy=persistent in /lib/systemd/network/99-default.link. If you want the previous behavior, create a link file in /etc/systemd/network with the following content: [Link] NamePolicy=keep kernel database onboard slot path MACAddressPolicy=none I'm not sure why this changed between 239 and 242, but it seems like the current behavior is what upstream intended. (In reply to Mike Gilbert from comment #1) > I don't think udev generates MAC addresses for bridge interfaces. Please > provide more information about how you are creating this bridge interface. in /etc/conf.d/net config_eno1="null" config_eno2="null" bridge_br0="eno1" config_br0="dhcp" brctl_br0="setfd 0 sethello 10 stp off" Before udev242 bridge mac address was the same as eno1. In udev242 mac is completely different. Downgrade udev - restore mac address. ok. after creating file with MACAddressPolicy=none old behavior back. But in udev239 there is also was MACAddressPolicy=persistent. |