Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

unnumbered-address (Dynamic Profiles)

Syntax

Hierarchy Level

Description

For Ethernet interfaces, enable the local address to be derived from the specified interface. Configuring unnumbered Ethernet interfaces enables IP processing on the interface without assigning an explicit IP address to the interface. To configure unnumbered address dynamically, include the $junos-loopback-interface-address predefined variable.

You can configure unnumbered address support on Ethernet interfaces for IPv4 and IPv6 address families.

Options

interface-name

Name of the interface from which the local address is derived. The specified interface must have a logical unit number, a configured IP address, and must not be an unnumbered interface. This value can be a specific interface name or the $junos-loopback-interface predefined variable.

When defining the unnumbered-address statement using a static interface, keep the following in mind:

  • If you choose to include the routing-instance statement at the [edit dynamic-profiles] hierarchy level, that statement must be configured with a dynamic value by using the $junos-routing-instance predefined variable. In addition, whatever static unnumbered interface you specify must belong to that routing instance; otherwise, the profile instantiation fails.

  • If you choose to not include the routing-instance statement at the [edit dynamic-profiles] hierarchy level, the unnumbered-address statement uses the default routing instance. The use of the default routing instance requires that the unnumbered interface be configured statically and that it reside in the default routing instance.

Note:

When you specify a static logical interface for the unnumbered interface in a dynamic profile that includes the $junos-routing-instance predefined variable, you must not configure a preferred source address, whether with the $junos-preferred-source-address predefined variable, the $junos-preferred-source-ipv6-address predefined variable, or the preferred-source-address statement. Configuring the preferred source address in this circumstance causes a commit failure.

When defining the unnumbered-address statement using the $junos-loopback-interface predefined variable, keep the following in mind:

  • To use the $junos-loopback-interface predefined variable, the dynamic profile must also contain the routing-instance statement configured with the $junos-routing-instance predefined variable at the [edit dynamic-profiles] hierarchy level.

  • The applied loopback interface is based on the dynamically obtained routing instance of the subscriber.

address

(Optional) Secondary IP address of the donor interface. Configuring the preferred source address enables you to use an IP address other than the primary IP address on some of the unnumbered Ethernet interfaces in your network. This value can be a static IP address, the $junos-preferred-source-address predefined variable for the inet family, or the $junos-preferred-source-ipv6-address predefined variable for the inet6 family.

When defining the preferred-source-address value using a static IP address, keep the following in mind:

  • The unnumbered interface must be statically configured.

  • The IP address specified as the preferred-source-address must be configured in the specified unnumbered interface.

When defining the preferred-source-address value using the $junos-preferred-source-address or the $junos-preferred-source-ipv6-address predefined variables, keep the following in mind:

  • You must configure the unnumbered-address statement using the $junos-loopback-interface predefined variable.

  • You must configure the routing-instance statement using the $junos-routing-instance predefined variable at the [edit dynamic-profiles] hierarchy level.

  • The preferred source address chosen is based on the dynamically applied loopback address which is in turn derived from the dynamically obtained routing instance of the subscriber. The configured loopback address with the closest network match to the user IP address is selected as the preferred source address.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 9.2.

Support for the $junos-preferred-source-address and $junos-preferred-source-ipv6-address predefined variables introduced in Junos OS Release 9.6.

Support for the $junos-loopback-interface predefined variable introduced in Junos OS Release 9.6.