Vyatta NOS documentation

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

Configure a LAN-facing Ethernet interface

In Quick-start scenario: Basic system configuration, you configured Internet-facing Ethernet interface. To act as an Internet gateway, the system needs an additional Ethernet interface that faces the office LAN.
  1. Use the set interfaces dataplane command to configure the interface.
    In this example, we assign the IP address 192.168.1.254 to interface dp0p1p2, with a prefix length of 24 — the prefix length of the office LAN subnet.
    user@system# set interfaces dataplane dp0p1p2 address 192.168.1.254/24
    
  2. Commit your change.
    user@system# commit
  3. Optional: Use the show interfaces command to view the configuration.
    user@system# show interfaces
    dataplane dp0p1p1 {
         address 192.0.2.21/24
     }
     dataplane dp0p1p2 {
         address 192.168.1.254/24
     }
     loopback lo {
     }
    [edit]
    user@system#