Configuring IP Addressing

IP Configuration

N o t e

The default IP address setting for the DEFAULT_VLAN is DHCP/Bootp. On

 

additional VLANs you create, the default IP address setting is Disabled.

 

Syntax:

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

 

 

 

or

 

 

[ no ] vlan < vlan-id > ip address < ip-address > < mask-bits >

 

 

or

 

 

vlan < vlan-id > ip address dhcp-bootp

This example configures IP addressing on the default VLAN with the subnet mask specified in mask bits.

ProCurve(config)# vlan 1 ip address 10.28.227.103 255.255.255.0

This example configures the same IP addressing as the preceding example, but specifies the subnet mask by mask length.

ProCurve(config)# vlan 1 ip address 10.28.227.103/24

This example deletes an IP address configured in VLAN 1.

ProCurve (config) no vlan 1 ip address 10.28.227.103/24

Configure Multiple IP Addresses on a VLAN (Multinetting). The following is supported:

Up to 2000 IP addresses for the switch

Up to 32 IP addresses for the same VLAN

Up 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

 

 

 

 

8-8