Changes
VLAN
,→Advantages of VLAN
==Advantages of VLAN==
* Increases the number of '''broadcast domains''' but reduces the size of each '''broadcast domain''', which in turn reduces network traffic and increases network security (both two of which are hampered the main weaknesses in case of having a single large broadcast domain)
* Reduces management effort to create subnetworks
* Reduces hardware requirement, as networks can be logically instead of physically separated
<pre>
host # vconfig add eth0 <vlan_id>
host # vzctl set <CTID> --netdev_add netif_add eth0.<vlan_id> --save
</pre>
* Create VLAN device inside container on veth device
* [http://en.wikipedia.org/wiki/VLAN wikipedia:VLAN]
* [http://en.wikipedia.org/wiki/IEEE_802.1Q wikipedia:IEEE 802.1Q]
[[Category:Networking]]