I'd like to make use of the "Multi-port Mode" for network interfaces that is described in the documentation, however I've not yet found a configuration that seems to be correctly setting up the system. The docs note that the port mode is:
This is automatically selected based on the number of available network interfaces detected. Set the number of interfaces before powering on the VM for the first time.
If I setup the VM with three network interfaces (all of type "VirtIO" (paravirtualized)) the booted AREDN host sees all the interfaces, but seems to continue to apply VLAN tagging and doesn't seem to match the interface order stated in the docs (where I'd expect the first interface found to be the WAN interface). For example:
root@NOCALL:~# ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP qlen 1000 link/ether bc:24:11:fb:21:3b brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000 link/ether bc:24:11:bc:c1:0f brd ff:ff:ff:ff:ff:ff 4: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN qlen 1000 link/ether bc:24:11:19:08:16 brd ff:ff:ff:ff:ff:ff 5: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN qlen 1000 link/ipip 0.0.0.0 brd 0.0.0.0 6: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether bc:24:11:fb:21:3b brd ff:ff:ff:ff:ff:ff 7: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether bc:24:11:fb:21:3b brd ff:ff:ff:ff:ff:ff 8: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether bc:24:11:fb:21:3b brd ff:ff:ff:ff:ff:ff root@NOCALL:~# brctl show bridge name bridge id STP enabled interfaces br-lan 7fff.bc2411fb213b no eth0
Where above the system appears to have setup tagged VLANs 1 and 2 on eth0, and then added eth0 to a br-lan bridge.
I've tried this on the latest release (3.24.6.0) as well as the latest nightly to the same result. I've also tried using E1000 and vmxnet3 interface types, no change. I reset the root volume between each configuration test.
Can someone point me to the obvious thing I'm missing? Thanks!
When you create a AREDN VM, the LAN, WAN and DtD will all be assigned to the first ethernet port regardless of how many you created. The admin can reassign these later in the UI.