Thanks for getting back to me on this,

I'm trying to set the "management" port on the RJ45 connector. Our application 
isn't using the SFP port.

Ifconfig returns the following ports:
eth0
int0
lo
sfp0

It's the eth0 port that I'm trying to set to a fixed address. I can configure 
this via the serial port connection using the command "ifconfig eth0 
192.168.1.60 up" but currently I'm having to do this every time the unit boots 
up.

Mark

From: USRP-users <[email protected]> On Behalf Of Marcus D. 
Leech via USRP-users
Sent: 15 January 2021 09:34
To: [email protected]
Subject: Re: [USRP-users] Setting E320 to use fixed IP Address on RJ45 eth0

On 01/15/2021 04:06 AM, Mark D via USRP-users wrote:
Hi,

I'm trying to set an E320 USRP to use a fixed IP address on the RJ45 port.

I've tried following the instructions in the USRP Manual at 
https://files.ettus.com/manual/page_usrp_e3xx.html

The manual says that settings for the SFP+ port is stored in  
/etc/systemd/networkd/sfp0.network.

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.

I have created in this folder a file eth0.network with the following content:

---------------------------
[Match]
Name=eth0

[Network]
Address=192.168.1.60

--------------------------------

However this doesn't seem to have any effect. When I use ifconfig to show the 
status of network connections eth0 is showing as "UP-BRAODACST RUNNING 
MULTICAST" but no IP address is set.

Any ideas on how I can set a fixed address?

Mark

I don't have one of these, but it seems like there's both an SFP port (for 
high-speed sample transport), and a "management" port with
  an ordinary RJ-45 connector.  Which one do you want to set?

Also, what does:

ifconfig


produce?  We want to get a list of the network interface names on the machine.

________________________________
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