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.

Binding interfaces to routing instances

An example of binding interfaces to routing instances and the related commands.

This example shows how to specify interfaces and bind them to the RED and BLUE routing instances.
Figure 1. RED and BLUE routing instances
Table 1. Binding interfaces to routing instances
Step Command

Define the dp0s1 and dp0s2 data plane interfaces.

vyatta@R1# set interfaces dataplane dp0s1
vyatta@R1# set interfaces dataplane dp0s2

Bind dp0s1 to the BLUE routing instance and dp0s2 to the RED routing instance.

vyatta@R1# set routing routing-instance BLUE interface dp0s1
vyatta@R1# set routing routing-instance RED interface dp0s2

View the configuration.

vyatta@R1# show interfaces
interfaces {
   dataplane dp0s1
   dataplane dp0s2
   }
routing {
    routing-instance BLUE {
        interface dp0s1
    }
    routing-instance RED {
        interface dp0s2
    }
}