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 Address Negotiation on Interfaces

Configuring IP Address Negotiation on Interfaces

PPP access users can use PPP address negotiation to apply to a server for IP addresses.

Usage Scenario

If devices are connected through PPP links, client interfaces can obtain IP addresses from the server through negotiation. This is applicable when the client accesses the Internet by connecting to the Internet Service Provider (ISP) through PPP links (for example by dial-up). In this case, the ISP device assigns an IP address to the client through negotiation.

As shown in Figure 9-1, after the interfaces that directly connect Device A on the server side to Device B on the client side are encapsulated with PPP, the client can obtain an IP address from the server through negotiation.

Figure 9-1 Configuring IP address negotiation on interfaces

When configuring IP address negotiation on interfaces, note the following points:

  • IP address negotiation can be configured only on PPP-encapsulated interfaces. If the PPP status is Down, the IP address generated during negotiation is deleted.

  • After IP address negotiation is configured for an interface, you do not need to configure any IP address for the interface. If the interface already has an IP address, the original IP address is deleted.

  • After an interface obtains an IP address through negotiation, you cannot configure secondary IP addresses for this interface.

  • If you configure IP address negotiation for an interface that has already has this function enabled, the originally generated IP address is deleted, and the interface obtains a new IP address through negotiation.

  • After the IP address generated through negotiation for the interface is deleted, the interface becomes an addressless interface.

Pre-configuration Tasks

Before configuring IP address negotiation on interfaces, complete the following tasks:

  • Configure IP addresses for server interfaces to ensure that the link layer protocol status of the interfaces is Up.

  • Configure physical parameters and the link layer protocol PPP for interfaces on client interfaces.

Configuration Procedures

Figure 9-2 Flowchart for configuring IP address negotiation on interfaces

Configuring a Server to Assign an IP Address to a Client Through Negotiation

After an IP address is specified on a server, the server can assign this IP address to a client.

Context

The IP address to be assigned to a client cannot be the same as the IP address of the server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface that directly connects to the client is displayed.

    IP address negotiation can be configured only on PPP-encapsulated interfaces.

  3. Run remote address ip-address

    An IP address is specified to be assigned to a client.

    The IP address to be assigned to a client cannot be the same as the IP address of the server.

  4. Run shutdown

    The interface is shut down.

  5. Run commit

    The configuration is committed.

  6. Run undo shutdown

    The interface is enabled.

  7. Run commit

    The configuration is committed.

Configuring a Client to Obtain an IP Address Through Negotiation

After interface IP address negotiation is enabled on a client, the client can obtain an IP address from the server.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The view of the interface that directly connects to the server is displayed.

    IP address negotiation can be configured only on PPP-encapsulated interfaces.

  3. Run ip address ppp-negotiate

    IP address negotiation is enabled on the interface.

  4. Run commit

    The configuration is committed.

Verifying the Configuration of IP Address Negotiation

After configuring IP address negotiation, verify the configuration.

Prerequisites

IP address negotiation 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 client interface.

[~DeviceB] display interface pos 0/1/0
Pos0/1/0 current state : UP
Line protocol current state : UP
Last line protocol up time : 2007-12-07, 17:12:39 Description : HUAWEI, Pos/0/0 InterfaceRoute Port,The Maximum Transmit Unit is 4470, Hold timer is 10(sec)
Internet Address is negotiated, 192.168.1.2/32
Link layer protocol is PPP
LCP opened, IPCP opened
The Vendor PN is FTRJ1321P1BTL
Port BW: 2.5G, Transceiver max BW: 2.5G, Transceiver Mode: SingleMode
WaveLength: 1310nm, Transmission Distance: 5km
Rx Power: -2.81dBm, Tx Power: -1.91dBm
 Physical layer is Packet Over SDH
Scramble enabled, clock master, CRC-32, loopback: none
Flag J0 "NetEngine       "
Flag J1 "NetEngine       "
Flag C2 22(0x16)
    SDH alarm:
        section layer:  none
        line    layer:  none
        path    layer:  none
    SDH error:
        section layer:  B1 61575
        line    layer:  B2 12002824  REI 16835916
        path    layer:  B3 65535
Statistics last cleared:never
    Last 300 seconds input rate 16 bits/sec, 0 packets/sec
    Last 300 seconds output rate 40 bits/sec, 0 packets/sec
    Input: 3510 packets, 57372 bytes
    Input error: 0 shortpacket, 0 longpacket, 4 CRC, 0 lostpacket
    Output: 7270 packets, 344198 bytes
    Output error: 0 lostpackets
    Output error: 0 overrunpackets, 0 underrunpackets          
Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055376

Views: 15127

Downloads: 33

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