No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - IP Services
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring IP Unnumbered on an Interface

Configuring IP Unnumbered on an Interface

IP unnumbered allows an interface that is not assigned an IP address to borrow an IP address from another interface.

Usage Scenario

To save IP address resources, you can configure an interface to borrow an IP address from another interface. For example, if an interface is only occasionally used, it is unnecessary to configure an IP address for it. Instead, you can configure the interface to borrow an IP address of another interface.

When configuring IP unnumbered on an interface, note the following points:

  • The IP address of the numbered interface cannot be a borrowed IP address.

  • The IP address of the numbered interface can be lent to multiple interfaces.

  • If the numbered interface has multiple IP addresses, the unnumbered interface borrows only the primary IP address.

  • If the numbered interface is not configured with an IP address, the unnumbered interface borrows the IP address 0.0.0.0.

  • The IP address of the virtual loopback interface can be borrowed by other interfaces, but the virtual loopback interface cannot borrow an IP address from another interface.

Pre-configuration Tasks

Before configuring IP unnumbered on an interface, configure link layer protocol parameters for the interfaces to ensure that the link layer protocol status of the interfaces is Up.

Configuration Procedures

Figure 9-3 Flowchart for configuring IP unnumbered

Configuring the Primary IP Address for a Numbered Interface

Only the primary IP address of an interface can be borrowed.

Context

Configuring IP unnumbered saves IP address resources. You can configure an interface that is occasionally used to borrow an IP address, instead of configuring a new IP address for the interface.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the numbered interface is displayed.

  3. Run ip address ip-address { mask | mask-length }

    A primary IP address is configured for the numbered interface.

    The IP address of a numbered interface can be configured using the ip address command or obtained through negotiation.

  4. Run commit

    The configuration is committed.

Configuring an Unnumbered Interface to Borrow an IP Address from Another Interface

An Ethernet interface can borrow the IP address of another interface.

Context

Configuring IP unnumbered saves IP address resources. You can configure an interface that is occasionally used to borrow an IP address, instead of configuring a new IP address for the interface.

NOTE:

The configuration procedure described in this section involves only configuring an interface to borrow an IP address. The unnumbered interface has no IP address, and therefore dynamic routing protocols cannot run on this interface. To allow this interface to communicate with a remote device, you must configure a static route from this interface to the network segment of the remote device.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the unnumbered interface is displayed.

  3. Run ip address unnumbered interface interface-type interface-number

    The unnumbered interface is configured to borrow an IP address from a specified interface.

  4. Run commit

    The configuration is committed.

Verifying the Configuration of IP Unnumbered

After configuring IP unnumbered, verify the configuration.

Prerequisites

IP unnumbered has been configured.

Procedure

  • Run the display interface [ brief | interface-type interface-number ] command to check interface configurations.

Example

Run the display interface command. The command output shows the IP address and subnet mask of the unnumbered interface.

<DeviceA> display interface GigabitEthernet 0/1/1
GigabitEthernet 0/1/1 current state : UP (ifindex: 8)
Line protocol current state : UP
Description: HUAWEI, Pos 0/1/1 Interface
Route Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec)
Internet Address is unnumbered, using address of GigabitEthernet0/1/0(172.16.10.1/24)
Link layer protocol is PPP
Current BW: 100 Mbits
Statistics last cleared:never
    Last 300 seconds input rate 0 bits/sec, 0 packets/sec
    Last 300 seconds output rate 0 bits/sec, 0 packets/sec
    Input: 0 packets, 0 bytes
    Input error: 0 shortpacket, 0 longpacket, 0 CRC, 0 lostpacket
    Output: 0 packets, 0 bytes
    Output error: 0 lostpackets
    Output error: 0 overrunpackets, 0 underrunpackets
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 18156

Downloads: 35

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next