home

Supported platforms

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.

Basic IP unnumbered interface configuration

Configuring IP unnumbered interfaces presents a sample configuration of two routers with unnumbered interfaces and a static route.

Figure 1. Configuring IP unnumbered interfaces

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

Table 1. Configuring IP unnumbered interfaces on VR1

Step

Command

Create a loopback interface, and configure the IP address.

vyatta@Router# set interfaces loopback lo1 address 133.0.0.1/32

Create the configuration node for the vif; assign the vif VLAN ID 60; and then assign the IP address for the vif.

vyatta@Router# set interfaces dataplane dp0s192 vif 60 vlan '60'

Borrow the IP address from a loopback interface.

vyatta@Router# set interfaces dataplane dp0s192 vif 60 ip unnumbered donor‐interface lo1

Add a static-interface route to reach the other network.

vyatta@Router# set protocols static interface‐route 132.0.0.1/32 next‐hop‐interface 'dp0s192.60'

Add a route to the destination network.

vyatta@Router# set protocol static route 192.168.2.0/0 nexthop 132.0.0.1

Commit the configuration.

vyatta@Router# commit

Verify whether the IP unnumbered support has been configured correctly.

vyatta@Router# show interfaces dataplane dp0s192 vif 60
ip {
        unnumbered {
                donor-interface lo1
        }
}
vlan 60

Table 2. Configuring IP unnumbered interfaces on VR2

Step

Command

Create a loopback interface, and configure the IP address.

vyatta@Router# set interfaces loopback lo1 address 132.0.0.1/32

Create the configuration node for the vif; assign the vif VLAN ID 60; and then assign the IP address for the vif.

vyatta@Router# set interfaces dataplane dp0s192 vif 60 vlan '60'

Borrow the IP address from a loopback interface.

vyatta@Router# set interfaces dataplane dp0s192 vif 60 ip unnumbered donor‐interface lo1

Add the static interface route to reach the other network.

vyatta@Router# set protocols static interface‐route 133.0.0.1/32 next‐hop‐interface 'dp0s192.60'

Add a route to the destination network.

vyatta@Router# set protocol static route 192.168.1.0/0 nexthop 133.0.0.1

Commit the configuration.

vyatta@Router# commit

Verify whether the IP unnumbered support has been configured correctly.

vyatta@Router# show interfaces dataplane dp0s192 vif 60
ip {
        unnumbered {
                donor-interface lo1
        }
}
vlan 60