bb-qq/aqc111

VLAN Tags with OVS Interface not applied correctly - including temporary fix

Opened this issue · 0 comments

Description of the problem

When using an OVS Interface, the VLAN Tags do not get applied at all after restart. It does not matter if the IP Address is DHCP or fixed. All other settings getting applied correctly.

The parameter "OVS_VLAN_ID=200" is set correctly in the following files:

  • /etc/sysconfig/network-scripts/ifcfg-ovs_eth2
  • /var/packages/aqc111/etc/ifcfg-ovs_eth2

I think the issue is that for OVS Interfaces the VLAN Tag needs to be set with: "ovs-vsctl set port ovs_eth2 tag=200"

Solution:
If I add the following line to /var/packages/aqc111/scripts/start-stop-status it works after restart, but the VLAN ID is of course hard coded:

set_ovs_interface()
...
ovs-vsctl add-br ovs_$interface_name
ovs-vsctl add-port ovs_$interface_name $interface_name
## add ##
ovs-vsctl set port ovs_$interface_name tag=200
...

Maybe you can verify, and add this fix to a next release. Of course there needs to be a way to avoid hard coded VLAN ID.

Description of your products

  • DS420+
  • Sabrent USB C ethernet Adapter SUPER Speed 5gbps
  • aqc111-geminilake-1.3.3.0-10.spk

This combination is working very well so far except the VLAN Tag not beeing set.