Configuring IP Addressing

IP Configuration

Configure Multiple IP Addresses on a VLAN (Multinetting). The fol­ lowing is supported:

Up to 2000 IP addresses for the switchUp to 32 IP addresses for the same VLANUp to 512 IP VLANs, that is, VLANs on which you can configure IP addresses

Each IP address on a VLAN must be for a separate subnet, whether on the same VLAN or different VLANs.

Syntax: [ no ] vlan < vlan-id > ip address < ip-address/mask-length > [ no ] vlan < vlan-id > ip address < ip-address > < mask-bits >

For example, if you wanted to multinet VLAN_20 (VID = 20) with the IP addresses shown below, you would perform steps similar to the following. (For this example, assume that the first IP address is already configured.)

IP Address

VID

IP Address

Subnet Mask

1st address

20

10.25.33.101

255.255.240.0

2nd address

20

10.26.33.101

255.255.240.0

3rd address

20

10.27.33.101

255.255.240.0

 

 

 

 

1. Go to VLAN 20.

2. Configure two additional IP addresses on VLAN 20.

3. Display IP addressing.

Figure 8-4. Example of Configuring and Displaying a Multinetted VLANIf you then wanted to multinet the default VLAN, you would do the following:

8-9