Forum Discussion
R-Series Tenant - Need to change Vlan tag
- 1 year ago
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_Mehlberg1 year ago
Cirrus
I am sorry - but the new vlan did not get pushed to the tenant.
The tenant still shows vlan Core tag 1978
Dave
- CA_Valli1 year ago
MVP
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