From d5202795bfb22a0bc5d5e2d0a7d6a8d8d45f35a8 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Tue, 2 Jan 2018 15:51:01 -0800 Subject: 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 --- host/docs/usrp_n3xx.dox | 51 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) (limited to 'host/docs/usrp_n3xx.dox') 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 + systemd-networkd manual pages + +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 -- cgit v1.2.3