Thanks Cédric,

I used the networkctl status eth0 command that pointed me to the file at 
/lib/system/network/40-eth0.network

I then edited this file to remove the DHCP sections and set the address at 
192.168.1.60/24.

Looks to be working great,

Mark

-----Original Message-----
From: USRP-users <[email protected]> On Behalf Of Cédric 
Hannotier via USRP-users
Sent: 15 January 2021 13:18
To: [email protected]
Subject: Re: [USRP-users] Setting E320 to use fixed IP Address on RJ45 eth0

On 15/01/21 09:06, Mark D via USRP-users wrote:
> My E320 doesn't have that folder,
> there is one "/etc/systemd/network/"
> but no "/etc/systemd/networkd/" (i.e. no d after network).
> I think maybe is a typing error in the manual and the folder name should be 
> network.
>
> The folder at this location is empty, so doesn't contain the SFP+ setting 
> file.

Are you sure it is managed/configured by systemd-networkd?
You can check its status by running "networkctl status eth0".

> I have created in this folder a file eth0.network with the following content:
>
> ---------------------------
> [Match]
> Name=eth0
>
> [Network]
> Address=192.168.1.60

>From systemd.network(5), I think you have to specify the netmask, eg:
Address=192.168.1.60/24

Do not forget to reload, either using 'networkctl reload' or 'systemctl restart 
systemd-networkd'.

--

Cédric Hannotier

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
________________________________
 This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager.

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to