1-3
bits for the host ID and thus have only 126 (2
7
– 2) hosts in each subnet. The maximum number of hosts
is thus 64,512 (512 × 126), 1022 less after the network is subnetted.
Class A, B, and C networks, before being subnetted, 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
3Com Switch 4210 Family support assigning IP addresses to VLAN interfaces and loopback interfaces.
Besides directly assigning an IP address to a VLAN interface, you may configure a VLAN interface to
obtain an IP address through BOOTP or DHCP as alternatives. If you change the way an interface
obtains an IP address, from manual assignment to BOOTP for example, the IP address obtained from
BOOTP will overwrite the old one manually assigned.
This chapter only covers how to assign an IP address manually. For the other two approaches to IP
address assignment, refer to the part discussing DHCP in this manual.
Table 1-2 Configure an IP address to an interface
Operation Command Remarks
Enter system view
system-view
––
Enter interface view
interface interface-type
interface-number
––
Assign an IP address to the
Interface
ip address ip-address { mask |
mask-length }
Required
No IP address is assigned by
default.
z A newly specified IP address overwrites the previous one if there is any.
z The IP address of a VLAN interface must not be on the same network segment as that of a
loopback interface on a device.
Displaying IP Addressing Configuration
After the above configuration, you can execute the display command in any view to display the
operating status and configuration on the interface to verify your configuration.