Forum Discussion
R-Series Tenant - Need to change Vlan tag
- Jul 30, 2024
What seems to work without affecting anything else is changing the tag in the bigip_base.conf file and reloading system.
The original VLAN still exists on the tenant. When I tried to delete it, I received an error.
Knowing that, should I try to change the VLAN using CLI and modify the Bigip_Base.conf file?
Dave
Hello Dave,
sorry, I meant: since you deleted vlans from the Host already. Since it's the Host that pushes VLANs to configured tenants, you don't need to edit bigip_base.conf file on the tenant, networking configuration will be automatically passed by the F5OS hypervisor.
Since now the host has correct VLAN configuration, and new VLANs have been pushed to the tenant, I believe the easiest way to resolve this issue will be matching the "correct" VLANs on network objects.
- Dave_MehlbergJul 23, 2024Cirrus
I am sorry - but the new vlan did not get pushed to the tenant.
The tenant still shows vlan Core tag 1978
Dave
- CA_ValliJul 24, 2024MVP
Mmm ok i think I get this.
The tenant is still likely using the old vlan subscription (because that's the one that was published first). Since VLAN objects are named identically , the Tenant still thinks it has the correct object .. but since L2 is different, traffic won't flow.The correct way to address this would be deleting the old VLAN from the tenant, removing publication, and adding it back so it's going to create a new subscription. But that's going to take a lot of effort because you need to remove VLAN from every object first (Virtual Servers, and self IP's - which would require you to assign a different vlan temporarily).
So .. in this very specific case it might just be faster to actually just rewrite the tag in the config file
cp /config/bigip.conf /config/bigip.conf.backup sed -i 's/tag 1978/tag 978/g' /config/bigip.conf #repeat w/ other tags more /config/bigip.conf | grep tag tmsh load sys config verify tmsh load sys config tmsh save sys config tmsh list net vlan tag #rollback cp /config/bigip.conf.backup /config/bigip.conf tmsh load sys config tmsh save sys config
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com