Vyatta Network OS Documentation

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

Basic bridging configuration

This section presents a sample configuration for a basic bridge between two Ethernet segments on a vRouter.

Note: For information on bridging with GRE tunnels, see Ciena Vyatta Network OS Tunnels Configuration Guide.
Note: In the vRouter, a data plane interface is an abstraction that represents the underlying physical or virtual Ethernet interface of the system. The terms Ethernet interface and data plane interface are synonymous in this guide.

When you have finished, the system will be configured as shown in the following figure.

Figure 1. Basic bridging

In this example, you create a bridge interface and assign the data plane interfaces to the bridge group.

Configuring a bridge between two data plane interfaces creates the bridge interface and adds the data plane interfaces to the bridge group. To do this, perform the following steps on R1 in configuration mode.

Table 1. Configuring a bridge between two data plane interfaces
StepCommand
Create the bridge interface.

vyatta@R1# set interfaces bridge br0
Add the dp0p1p1 interface to the bridge group.

vyatta@R1# set interfaces dataplane dp0p1p1 bridge-group bridge br0
Add the dp0p1p2 interface to the bridge group.

vyatta@R1# set interfaces dataplane dp0p1p2 bridge-group bridge br0
Commit the configuration.

vyatta@R1# commit
View the configuration.

vyatta@R1# show interfaces
   bridge br0
   dataplane dp0p1p1 {
       bridge-group {
           bridge br0
       }
   }
   dataplane dp0p1p2 {
       bridge-group {
           bridge br0
       }
   }