Skip to content

Commit aee35c9

Browse files
committed
CLOUDSTACK-8252: Ignore VLAN 4095 which is n/a on linux
VLAN id 4095 is commonly used as a 'tag passthrough' in virtualization environments (VMware, specifically). This vlan id is incompatible with Linux, but we can allow the admin to manually configure the bridge if the same passthrough is desired. Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 0120e90 commit aee35c9

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎scripts/vm/network/vnet/modifyvlan.sh‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ then
167167
modprobe 8021q >& /dev/null
168168
fi
169169

170+
if [ "$vlanId" -eq 4095 ]
171+
then
172+
exit 0
173+
fi
174+
170175
if [ "$op" == "add" ]
171176
then
172177
# Add the vlan

0 commit comments

Comments
 (0)