Vyatta Network OS Documentation

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

Configuring network addresses

The system automatically creates and addresses the loopback interface, so you do not need to configure any additional addressing. If you delete the loopback node, the system re-creates and readdresses the loopback address again the next time the system starts.

You may at times want to configure a smaller network prefix than /8 to the loopback interface. The example in this section shows how to assign the 192.168.75.1/32 address to the loopback interface. When you finish the example, the interface is configured as in the following figure.

Figure 1. Configuring the loopback interface

To configure the loopback interface, perform the following steps in configuration mode.

Table 1. Configuring the loopback interface

Step

Command

Assign the IP address to the loopback interface.

vyatta@R1# set interfaces loopback lo address 192.168.75.1/32 

Commit the configuration.

vyatta@R1# commit

View the configuration.

vyatta@R1# show interfaces loopback
 loopback lo {
    address 192.168.75.1/32
 }