diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2018-01-02 15:51:01 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-01-03 13:44:28 -0800 |
commit | d5202795bfb22a0bc5d5e2d0a7d6a8d8d45f35a8 (patch) | |
tree | fdb102b2c8b3d48587b6f2624edea3aa6b30ab38 | |
parent | fd7cfb676bd51fcca059a1fb1be2b160eb01ed3c (diff) | |
download | uhd-d5202795bfb22a0bc5d5e2d0a7d6a8d8d45f35a8.tar.gz uhd-d5202795bfb22a0bc5d5e2d0a7d6a8d8d45f35a8.tar.bz2 uhd-d5202795bfb22a0bc5d5e2d0a7d6a8d8d45f35a8.zip |
docs: n3xx: Add paragraph on network configuration to manual
Add a (short) paragraph on network configuration on N3xx to manual.
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
-rw-r--r-- | host/docs/usrp_n3xx.dox | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/host/docs/usrp_n3xx.dox b/host/docs/usrp_n3xx.dox index 7845327be..e6c93c251 100644 --- a/host/docs/usrp_n3xx.dox +++ b/host/docs/usrp_n3xx.dox @@ -87,7 +87,56 @@ You should be presented with a shell similar to the following (FIXME): \subsection n3xx_getting_started_connectivity Network Connectivity -tbw (Using ifconfig, using systemd to set static IPs) +The RJ45 port (eth0) comes up with a default configuration of DHCP, +that will request a network address from your DHCP server. + +The SFP+ (eth1, eth2) ports are configured with static addresses 192.168.10.2/24 +and 192.168.20.2/24 respectively. + +The configuration for the ethX port is stored in /etc/systemd/networkd/ethX.network. + +For configuration please refer to the manual pages +<a href=https://www.freedesktop.org/software/systemd/man/systemd.network.html> systemd-networkd manual pages</a> + +The factory settings are as follows: + +eth0 (DHCP): + + [Match] + Name=eth0 + + [Network] + DHCP=v4 + + [DHCPv4] + UseHostname=false + +eth1 (static): + + [Match] + Name=eth1 + + [Network] + Address=192.168.10.2/24 + + [Link] + MTUBytes=9000 + +eth2 (static): + + [Match] + Name=eth2 + + [Network] + Address=192.168.20.2/24 + + [Link] + MTUBytes=9000 + +Note: Care needs to be taken when editing these files on the device, since vi / vim sometimes generates +undo files (e.g. /etc/systemd/networkd/eth1.network~), that systemd-networkd might pick up. + +Note: Temporarily setting the IP addresses via ifconfig etc will only change the value till the next reboot / reload of the FPGA image. \subsection n3xx_getting_started_security Security-related settings |