Configuration Guide Vol. 1


34.2.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

  1. (config)# interface vlan 100

    Switches to interface configuration mode for VLAN ID 100.

  2. (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.

  3. (config-if)# ip address 10.1.1.1 255.255.255.0 secondary

    Sets the secondary IPv4 10.1.1.1 and subnet mask 255.255.255.0 in VLAN ID 100.