Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
systemd-utils clobbering macchanger
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
damobrisbane
n00b
n00b


Joined: 20 Jan 2022
Posts: 9

PostPosted: Mon Dec 11, 2023 8:14 pm    Post subject: systemd-utils clobbering macchanger Reply with quote

With my openrc system, when have installed systemd-utils, macchanger setting a bridge random address does not work.

1) I hacked macchanger to accept bridge:

# grep -A2 "for f" /lib/netifrc/net/ifplugd.sh
#....for f in bond bridge tuntap vlan wireless; do
for f in bond tuntap vlan wireless; do
if type "_is_${f}" >/dev/null 2>&1; then

2) enabled in conf.d/net:

..
mac_br5="random-ending"
...


So bridge gets random mac, initially. But when restart interface (or boot I suppose), the mac address always changes to a fixed one, ie not random, multiple machines get same bridge mac address.

Removing systemd-utils, the random mac address, stays random, ie across service restarts.

I am not sure where to file this; and it would be good to get confirmation this is an issue

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum