Vyatta Network OS Documentation

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

Basic configuration of a data plane interface

This section presents a sample configuration for a data plane, or Ethernet, interface that is connected to an Ethernet LAN.

When you finish the sample configuration, the system is configured as shown in the following figure.

Figure 1. Basic configuration of a data plane

The following example shows how to apply IP addresses directly to the two data plane interfaces already discovered for the system—dp0p1p1 and dp0p1p2. These interfaces were automatically created by the system on startup, when the system detected the physical interfaces.

Each IP address is applied directly to the interface. The system automatically discovers the MAC address (hardware ID) of the network interface card (NIC) that houses the data plane interface and applies default values for a number of other options.

To configure these interfaces, perform the following steps in configuration mode.

Table 1. Configuring data plane interfaces
Step Command
Assign an IP address to the dp0p1p1 interface.
vyatta@R1# set interfaces dataplane dp0p1p1 address 176.16.0.65/24
Assign an IP address to the dp0p1p2 interface.
vyatta@R1# set interfaces dataplane dp0p1p2 address 10.10.30.65/24 
[edit]
Commit and view the configuration.
vyatta@R1# commit
OK
[edit]
vyatta@R1# show interfaces dataplane
dataplane dp0p1p1 {
     address 10.1.32.73/24
     mtu 1500
 }