Configuring an IP address for an interface
Make sure that an IP unnumbered HDLC interface has a route to the remote end. When you configure the route, follow these guidelines:
If you use a routing protocol, make sure the learned route has a mask longer than the borrowed IP address, because route lookup is based on the longest match.
If you configure a static route and the borrowed IP network mask is 32 bits long, the static route must use a mask shorter than the borrowed IP address.
If you configure a static route, and the mask of the borrowed IP address is shorter than 32 bits, the static route must use a mask longer than the borrowed IP address.
To configure an IP address for an interface:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Configure an IP address for the interface. |
| Use either method. By default, no IP address is assigned to an interface, and an interface does not borrow the IP address of any other interface. |
For more information about interface IP address configuration, see HPE FlexNetwork MSR Router Series Comware 5 Layer 3—IP Services Configuration Guide.