Hi,

On 2024-03-11 15:42 +0000, edenmclaughlin...@gmail.com wrote:
> We had a need for a multiple device - single subnet setup. After
> updating multiple E320’s to a newer UHD version, me and my colleague,
> we realized that all of the devices share a common MAC address. This
> results in unstable connections within the network. As for in [this
> thread](https://lists.ettus.com/empathy/thread/POYUYNB4RH5MFPADPFYTSLLKVAWT64M6?hash=POYUYNB4RH5MFPADPFYTSLLKVAWT64M6#POYUYNB4RH5MFPADPFYTSLLKVAWT64M6
> "E310: Change MAC Address? ") is there a non-third party, Ettus
> supported, homegrown way of restoring/updating the MAC address of a
> network device, specifically E320?

It seems that network is managed by systemd-networkd.
So, I guess in the meantime,
you could change networkd configurations to assign a different MAC address.
From [1], the configuration should be in /data/network/.
You could modify the file handling that network interface
(i.e. if the interface is eth0, then the file should have 'Name=eth0'),
by adding:
[Link]
MACAddress=<uniqueMACAddress>

I guess that if the file does not exist,
copy pasting the one from [1] should be fine (?)

Or you could add/modify a <name>.link with a correct [Match] and a
[Link]
MACAddressPolicy=<persistent|random>

and let systemd-networkd generate a MAC address.

Relevant documentations:
https://man.archlinux.org/man/systemd.network.5.en
https://man.archlinux.org/man/systemd.link.5.en
https://wiki.archlinux.org/title/Systemd-networkd

[1] 
https://files.ettus.com/manual/page_usrp_e3xx.html#e3xx_getting_started_connectivity

Best regards
-- 

Cédric Hannotier
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to