Network Setup for Ubuntu 2020.4 LTS
Netplan is the network configuration abstraction renderer utility for a linux system. In order to name the interfaces based on their MAC addresses edit the following configuration file: /etc/netplan/01-network-manager-all.yaml
and apply changes sudo netplan apply
(might require system reboot). Follow the 01-network-manager-all.yaml
configuration example below and make the necessary changes based on your MAC addresses.
network:
version: 2
renderer: NetworkManager
ethernets:
netfpga0:
match:
# netfpga mac address of the first interface (macs are set in netfpga driver)
macaddress: 02:53:55:4d:45:00
optional: true
set-name: nf0
netfpga1:
match:
macaddress: 02:53:55:4d:45:01
optional: true
set-name: nf1
netfpga2:
match:
macaddress: 02:53:55:4d:45:02
optional: true
set-name: nf2
netfpga3:
match:
macaddress: 02:53:55:4d:45:03
optional: true
set-name: nf3
nic0:
match:
# mac address of your nic interface
macaddress: xx:xx:xx:xx:xx:xx
optional: true
set-name: eth0
nic1:
match:
# mac address of your nic interface
macaddress: xx:xx:xx:xx:xx:xx
optional: true
set-name: eth1
To disable the daemon edit /etc/avahi/avahi-daemon.conf
and change the following::
use-ipv4=no
use-ipv6=no
then run the following command to restart the service:
[user@nf-test109]# sudo service avahi-daemon restart
To temporary disable IPv6 run the following commands:
[user@nf-test109]# sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
[user@nf-test109]# sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
[user@nf-test109]# sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
For the reference_router
hardware testing, it is recommended
to disable IPv6 at boot time by editing /etc/default/grub
,
adding/extending the following lines to the file:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
and updating GRUB sudo update-grub
.
Occasionally multicast traffic can also be seen on the interfaces, i.e., igmp.mcast.net: igmp v3 report
and interferes with the testing traffic set. Most likely IGMP is a chrome-based browser origin.
All reference designs contain the microblaze augmented with uart
, which is routed via USB-JTAG connector and can be accessed on ttyUSB1
using i.e., minicom
tool.
sudo minicom --device /dev/ttyUSB1 -b 115200
If successful your terminal will print the following:
============ NetFPGA-SUME ============
m: Manual Test
Select: