Table of Contents

VLAN - How to Configure VLAN Network in Linux



Configuration in Ubuntu 16.04

# apt -fwget install vlan

/etc/modules

...
8021q     #vlan trunking
...


/etc/network/interfaces

.....
auto bond0.10
iface bond0.10 inet manual
    vlan-raw-device bond0

auto bond0.11
iface bond0.11 inet manual
    vlan-raw-device bond0
.....