2.1.3 Configuring Multihoming
- Points to note
-
The example below shows how to set multiple IPv4 addresses for a VLAN. For the second and later IPv4 addresses, you need to specify the secondary parameter.
Command examples
-
(config)# interface vlan 100
Switches to interface configuration mode for VLAN ID 100.
-
(config-if)# ip address 192.168.1.1 255.255.255.0
Sets primary IPv4 address 192.168.1.1 and subnet mask 255.255.255.0 for VLAN ID 100.
-
(config-if)# ip address 170.1.1.1 255.255.255.0 secondary
Sets secondary IPv4 address 170.1.1.1 and subnet mask 255.255.255.0 for VLAN ID 100.