Basic Operation Guide 2014/02

Example 78 Configuring and displaying a multinetted VLAN
HP Switch(config)# vlan 20
HP Switch(vlan-20)# ip address 10.26.33.101/20
HP Switch(vlan-20)# ip address 10.27.33.101/20
HP Switch(config)# show ip
Internet (IP) Service
IP Routing : Disabled
Default Gateway : 10.20.227.1
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
| Proxy ARP
VLAN | IP Config IP Address Subnet Mask Std Local
------------------- + ---------- --------------- -------------- ----------
DEFAULT_VLAN | Manual 10.20.30.100 255.255.240.0 No No
VLAN_20 | Manual 10.25.33.101 255.255.240.0 No No
| Manual 10.26.33.101 255.255.240.0 No No
| Manual 10.27.33.101 255.255.240.0 No No
If you then wanted to multinet the default VLAN, you would do the following:
Example 79 Multinetting on the default VLAN
HP Switch(vlan-20)# vlan 1
HP Switch(vlan-1)# ip address 10.21.30.100/20
HP Switch(config)# show ip
Internet (IP) Service
IP Routing : Disabled
Default Gateway : 10.20.227.1
Default TTL : 64
Arp Age : 20
Domain Suffix :
DNS server :
| Proxy ARP
VLAN | IP Config IP Address Subnet Mask Std Local
------------------- + ---------- --------------- -------------- ----------
DEFAULT_VLAN | Manual 10.20.30.100 255.255.240.0 No No
| Manual 10.21.30.100 255.255.240.0 No No
VLAN_20 | Manual 10.25.33.101 255.255.240.0 No No
| Manual 10.26.33.101 255.255.240.0 No No
| Manual 10.27.33.101 255.255.240.0 No No
NOTE: The Internet (IP) Service screen in the Menu interface (see 1) displays the first IP address
for each VLAN. You must use the CLI show ip command to display the full IP address listing for
multinetted VLANs.
Removing or replacing IP addresses in a multinetted VLAN. To remove an IP address from a
multinetted VLAN, use the no form of the IP address command shown on page 106. Generally, to
replace one IP address with another, you should first remove the address you want to replace, and
then enter the new address.
Configure the optional default gateway. Using the Global configuration level, you can manually
assign one default gateway to the switch. (The switch does not allow IP addressing received from
a DHCP or Bootp server to replace a manually configured default gateway.)
IP configuration 107