Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fred-bloggs opened this issue Jan 23, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@fred-bloggs
Copy link

fred-bloggs commented Jan 23, 2023

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.

@fred-bloggs fred-bloggs changed the title VLAN Tags with OVS Interface not applied correctly VLAN Tags with OVS Interface not applied correctly - including temporary fix Jan 23, 2023
@bb-qq bb-qq added the bug Something isn't working label Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants