bonding

VLAN tagging on Bonding interfaces for Ubuntu Servers

06/05/2014 // 0 Comments

Firstly, install vlan and bonding packages on the Ubuntu server:

Enter these linesĀ on /etc/modules because we want to enable the modules at startup.

If there is no network connection, you need to install these packages from CDROM or install these packages while OS setup. This configuration can be used for bonding and VLAN tagging on server. You can define additional VLAN interfaces. This configuration if for Active-Passive interfaces. We need to define primary interface as seen in eth0. If you do not want to configure your physical switch or do not want to struggle with your network administrator, this is the best way. When eth0 is lost, your secondary interface (eth1 in this example) will be used. If you want to use active-active setup, the best way is to setup LACP bonding, but you need to configure your physical switch ports for LACP.

bond0 is your bonding interface. bond0.430 is your VLAN tagged bonding interface. 430 is your VLAN. If you want to check bonding status, you can check here: