adds an additional level, subnet ID, to the two-level hierarchy with IP addressing, IP routing now
involves three steps: delivery to the site, delivery to the subnet, and delivery to the host.
pecial addresses such as the addresses with the net ID of all zeros
of all ones, are not assignable to hosts. The same is true of
your network, you should note that subnetting is somewhat a tradeoff
d hosts. For example, a Class B network can accommodate 65,534
lass A, B, and C networks, before being subnetted, use these default masks (also called natural
0.0.0, 255.255.0.0, and 255.255.255.0 respectively.
Configuring IP Addresses
Conf
4500 Series Ethernet Switches support assigning IP addresses to VLAN interfaces and loopback
interface, you may configure a VLAN
atives. If you change the way an
interface
n IP address, fro
t to BOOTP for example, the IP address
o
TP will o
d one manually assigned.
In the absence of subnetting, some s
and the addresses with the host ID
subnetting. When designing
between subnets and accommodate
(2
16
– 2. Of the two deducted Class B addresses, one with an all-ones host ID is the broadcast address
and the other with an all-zeros host ID is the network address) hosts before being subnetted. After you
break it down into 512 (2
9
) subnets by using the first 9 bits of the host ID for the subnet, you have only 7
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.
C
masks): 255.
iguring IP Addresses
S
interfaces. Besides directly assigning an IP address to a VLAN
interface to obtain an IP address through BOOTP or DHCP as altern
obtains a
m manual assignmen
btained from BOO
verwrite the ol
This chapter only covers how to assign an IP address manually. For the other two approaches to IP
signment, refer to the part discussing DHCP in this manual.
address as
Follow these steps to configure an IP address to an interface:
To do…
Use the command…
Remarks
En
m-view
––
ter system view
syste
Enter interface view
interface interface-type interface-number
––
As
nte
ip-address
{
mask |
Required
sign an IP address to the
ip
address
I
rface
mask-length
} [
sub
]
No IP address is assigned by
default.
8-3