Changes

Jump to: navigation, search

VLAN

45 bytes added, 20:44, 12 April 2018
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
* Increases control over multiple traffic types.
== Common VLAN configurations for VE container ==
VLAN can be used in following ways:
* Create VLAN device on physical network interface (eth0) and move it (VLAN device) to VEcontainer:
<pre>
host # vconfig add eth0 <vlan_id>
host # vzctl set <CTID> --netdev_add netif_add eth0.<vlan_id> --save
</pre>
* Create VLAN device inside VE container on veth device
<pre>
ve # vconfig add eth0 <vlan_id>
* [http://en.wikipedia.org/wiki/VLAN wikipedia:VLAN]
* [http://en.wikipedia.org/wiki/IEEE_802.1Q wikipedia:IEEE 802.1Q]
[[Category:Networking]]
Anonymous user

Navigation menu