home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

Configuring service chaining by using bridging

Consider a scenario in which you have two guest VM1 and VM2, as illustrated in the following network diagram. These guest VMs can be any services such as vNAT, vFW, vDPI, and so on.

The following list presents the components of the topology.
  • dp0p0s20f1 and dp0p0s2f0 are the ingress and egress interfaces, respectively, vCPE or the vhost.

  • vhost0 and vhost1 are the virtual interfaces for VM1.
  • vhost2 and vhost3 are the virtual interfaces for VM2.
  • dp0p0s20f1 and vhost0 are in the br0 bridge group.
  • vhost1 and vhost2 are in the br1 bridge group.
    Note: eth1(VM1) and eth0(VM2) should be in the same subnet because vhost1and vhost2 are associated to the bridge.
Figure 1. Service chaining by using bridging

In the topology, to perform service chaining between VM1 and VM2, the br1 bridge group is applied between dp0p0s20f1 and vhost0, and br2 between vhost1 and vhost2. All packets that are received on the dp0p0s20f1 are forwarded to vhost0, and the packets that are received on vhost1 are forwarded to vhost2.

Table 1. Configuring service chaining by using bridging
Steps Commands

Configure bridging.


vyatta@vyatta# set interfaces bridge br0
vyatta@vyatta# set interfaces dataplane dp0p0s20f1 bridge-group bridge br0
vyatta@vyatta# set interfaces vhost dp0vhost0 bridge-group bridge br0

vyatta@vyatta# set interfaces bridge br1
vyatta@vyatta# set interfaces vhost dp0vhost1 bridge-group bridge br1
vyatta@vyatta# set interfaces vhost dp0vhost2 bridge-group bridge br1

Commit the configuration.

vyatta@vyatta# commit

Save the configuration.

vyatta@vyatta# save