Configuring Ip Addresses; Assigning An Ip Address To An Interface - H3C S5820X Series Configuration Manual

Layer 3 - ip services
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Figure 4-2 Subnet a Class B network
Subnetting is a tradeoff between subnets and accommodated hosts. For example, a Class B network
16
has 65,534 (2
by using the first 9 bits of the host ID, you have only 7 bits for the host ID and thus have only 126 (2
2) hosts in each subnet. The maximum number of hosts is thus 64,512 (512 × 126), 1022 less than the
network before being subnetted.
Class A, B, and C networks use these default masks (also called natural masks): 255.0.0.0,
255.255.0.0, and 255.255.255.0 respectively.

Configuring IP Addresses

Devices must have IP addresses before they can communicate with one another. Besides manually
assigning IP addresses, you can also configure interfaces to obtain IP addresses through BOOTP and
DHCP. A newly configured IP address overwrites the previous one.
This chapter only covers how to assign IP addresses manually. For how to obtain IP addresses
through BOOTP or DHCP, see DHCP Client Configuration and BOOTP Client Configuration in the
Layer 3 - IP Services Configuration Guide.
This section includes:

Assigning an IP Address to an Interface

IP Addressing Configuration Example
Assigning an IP Address to an Interface
You can assign an interface one primary and multiple secondary IP addresses.
An interface usually needs only a primary IP address, but secondary IP addresses are needed in
special cases. For example, if an interface connects to two subnets, you need to configure a primary
IP address and a secondary IP address for the interface to communicate with the two subnets.
Follow these steps to assign an IP address to an interface:
To do...
Enter system view
– 2) addresses before being subnetted. After you break it down into 512 (2
Use the command...
system-view
––
4-3
9
) subnets
7
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents