diff options
author | Lane Kolbly <lane.kolbly@ni.com> | 2021-11-08 14:00:38 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-11-09 08:31:00 -0800 |
commit | 729ec7238e2cb5e3d24a5b42bdf706460d43e3c1 (patch) | |
tree | f4a9d6388986759d3448ade4948b83da2ce0edde /host/docs | |
parent | ef94c93a0822beda2f8c691bd4390727f7355322 (diff) | |
download | uhd-729ec7238e2cb5e3d24a5b42bdf706460d43e3c1.tar.gz uhd-729ec7238e2cb5e3d24a5b42bdf706460d43e3c1.tar.bz2 uhd-729ec7238e2cb5e3d24a5b42bdf706460d43e3c1.zip |
doc: x4xx: Document configuring eth0 static IP
Diffstat (limited to 'host/docs')
-rw-r--r-- | host/docs/usrp_x4xx.dox | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/host/docs/usrp_x4xx.dox b/host/docs/usrp_x4xx.dox index db11f1b54..fa05c7b4c 100644 --- a/host/docs/usrp_x4xx.dox +++ b/host/docs/usrp_x4xx.dox @@ -255,7 +255,7 @@ The Ettus USRP X410 has various network interfaces: single interface is used (`sfpX`). The configuration files for these network interfaces are stored in: -`/etc/systemd/network/`. +`/data/network/<interface>.network`. Interface Name | Description | Default Configuration | Configuration File | Example: X4_200 FPGA image | ---------------|----------------------------------------|-----------------------|--------------------|----------------------------| @@ -270,6 +270,33 @@ Interface Name | Description | Default Configuration `sfp1_2` | QSFP28 1 (lane 2) | 192.168.22.2/24 | sfp1_2.network | N/C | `sfp1_3` | QSFP28 1 (lane 3) | 192.168.23.2/24 | sfp1_3.network | N/C | +For example, `/data/network/eth0.network` by default looks like: +``` +[Match] +Name=eth0 +KernelCommandLine=!nfsroot + +[Network] +DHCP=ipv4 +IPForward=ipv4 + +[DHCP] +UseHostname=true +ClientIdentifier=mac +``` + +In order to change the eth0 interface from using DHCP to using a static IP, you +can edit `/data/network/eth0.network` to be like: +``` +[Match] +Name=eth0 +KernelCommandLine=!nfsroot + +[Network] +Address=192.168.1.123/24 +``` +replacing the IP address with the IP of your choice. + \subsubsection x4xx_getting_started_network_connectivity_leds Network Status LEDs The Ettus USRP X410 is equipped with status LEDs for its network-capable ports: |