3Com Switch 8800 Configuration Guide
Chapter 11 IP Address Configuration
11-4
138.38.160.0, 138.38.192.0 and 138.38.224.0 (Refer to the following figure). Each
subnet can contain more than 8000 hosts.
10001010, 00100110, 000 00000, 00000000
ClassB
138.38.0.0
Subnet mask
255.255.224.0
11111111, 11111111, 111 00000, 00000000
11111111, 11111111, 000 00000, 00000000
Standard
mask
255.255.0.0
Subnet address:
000
Subnet address: 138.38. 0. 0
001
Subnet address: 138.38. 32. 0
010
Subnet address: 138.38. 64. 0
011
Subnet address: 138.38. 96. 0
100
Subnet address: 138.38.128. 0
101
Subnet address: 138.38.160. 0
110
Subnet address: 138.38.192. 0
111
Subnet address: 138.38.224. 0
Subnet
number
Host
number
Subnet address:
10001010, 00100110, 000 00000, 00000000
ClassB
138.38.0.0
Subnet mask
255.255.224.0
11111111, 11111111, 111 00000, 00000000
11111111, 11111111, 000 00000, 00000000
Standard
mask
255.255.0.0
Subnet address:
000
Subnet address: 138.38. 0. 0
001
Subnet address: 138.38. 32. 0
010
Subnet address: 138.38. 64. 0
011
Subnet address: 138.38. 96. 0
100
Subnet address: 138.38.128. 0
101
Subnet address: 138.38.160. 0
110
Subnet address: 138.38.192. 0
111
Subnet address: 138.38.224. 0
Subnet
number
Host
number
Subnet address:
Figure 11-2
Subnet division of an IP address
11.2 Configuring IP Address
The following sections describe IP address configuration tasks:
z
Configuring the Hostname and Host IP Address
z
Configuring the IP Address of the VLAN Interface
11.2.1 Configuring the Hostname and Host IP Address
Using this command, you can associate a host name with an IP address. After that,
when using an application like telnet, you can use the host name instead of the IP
address that is hard to memorize, and the system automatically translates the host
name to the IP address.
Perform the following configuration in system view.
Table 11-2
Configure the host name and the corresponding IP address
Operation
Command
Configure the host name and the
corresponding IP address
ip host hostname
ip
-
address
Cancel the host name and the
corresponding IP address
undo ip host hostname
[
ip
-
address
]
By default, there is no host name associated to any host IP address.