Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

Ethernet bonding with VLAN

After a bonding interface is created, it is possible to create a VLAN within it. The following example is an extension of the previous example with the addition of a VLAN. The resulting bonding interface contains both VLAN and nonVLAN traffic.

To configure this scenario, perform the following steps in configuration mode.

Table 1. Adding a VLAN to an existing bonding interface.

Step

Command

Add the vif configuration to the bonding group.

vyatta@R1# set interfaces bonding dp0bond0 vif 192 address 10.192.248.225/24

Commit the change.

vyatta@R1# commit

                            

Show the new bonding group configuration.

vyatta@R1# show interfaces bonding dp0bond0
 address 192.168.10.10/24
 mode lacp
 vif 192 {
    address 10.192.248.225/24
 }