Assigning An Ip Address To An Interface; Configuration Guidelines; Configuration Procedure; Configuring Ip Unnumbered - HP 6125XLG Layer 3-Ip Services Configuration Manual

Blade switch
Table of Contents

Advertisement

For example, a Class B network without subnetting can accommodate 1022 more hosts than the same
network subnetted into 512 subnets.
Without subnetting—65534 hosts (2
address, which has an all-one host ID, and the network address, which has an all-zero host ID.)
With subnetting—Using the first nine bits of the host-id for subnetting provides 512 (2
However, only seven bits remain available for the host ID. This allows 126 (2
subnet, a total of 64512 hosts (512 × 126).

Assigning an IP address to an interface

An interface must have an IP address to communicate with other hosts. You can either manually assign
an IP address to an interface, or configure the interface to obtain an IP address through BOOTP or DHCP.
If you change the way an interface obtains an IP address, the new IP address will overwrite the previous
address.
An interface can have one primary address and multiple secondary addresses.
Typically, you need to configure a primary IP address for an interface. If the interface connects to multiple
subnets, configure primary and secondary IP addresses on the interface so the subnets can communicate
with each other through the interface.

Configuration guidelines

Follow these guidelines when you assign an IP address to an interface:
An interface can have only one primary IP address. A newly configured primary IP address
overwrites the previous one.
You cannot assign secondary IP addresses to an interface that obtains an IP address through
BOOTP, DHCP, or IP unnumbered.
The primary and secondary IP addresses you assign to the interface can be located on the same
network segment, but different interfaces on your device must reside on different network segments.

Configuration procedure

To assign an IP address to an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Assign an IP address to the
interface.

Configuring IP unnumbered

Typically, you assign an IP address to an interface either manually or through DHCP. If the IP addresses
are not enough, or the interface is used only occasionally, you can configure an interface to borrow an
16
– 2). (The two deducted addresses are the broadcast
Command
system-view
interface interface-type
interface-number
ip address ip-address { mask |
mask-length } [ sub ]
21
) subnets.
9
– 2) hosts in each
7
Remarks
N/A
N/A
By default, no IP address is
assigned to the interface.

Advertisement

Table of Contents
loading

Table of Contents