Configuration Guide Vol. 2


15.2.3 Configuring IPv4 Addressing for a Virtual Router

Points to note

Configure the virtual IPv4 address for a virtual router. This operation causes the virtual router to start running. A virtual router can have only one virtual IP address.

If the virtual IP address configured for a virtual router is the same as the IP address assigned to a VLAN on which the virtual router is configured, the virtual router containing the VLAN is the IP address owner.The priority of this virtual router is fixed at 255.

The identifier of a virtual router with a virtual IP address must be unique in the IP subnetwork.

Command examples

  1. (config)# interface vlan 10

    (config-if)# ip address 192.168.10.10 255.255.255.0

    For example, to configure a virtual router on VLAN 10, enter VLAN configuration mode for VLAN 10. Next, assign an IP address to VLAN 10, if one has not already been assigned.

  2. (config-if)# vrrp 1 ip 192.168.10.1

    Configures a virtual IP address (192.168.10.1) for virtual router VRID 1.

Notes
  • If the terminal displays the log message The VRRP virtual MAC address entry can't be registered at hardware tables. after you configure the IP address for a virtual router, the virtual router will not operate normally. In response, delete the virtual router configuration and change the virtual router identifier. Alternatively, change the VLAN ID of the VLAN on which the virtual router is configured, and then configure an IP address for the virtual router again.

  • When you configure an IP address for a virtual router, the virtual router starts operation. Depending on the priority settings of other virtual routers, another virtual router might become the master later.

  • If 64 or more virtual routers are set for a device, adjust the sending interval of ADVERTISEMENT packets by referring to "Guideline for setting the sending interval of 15-9 ADVERTISEMENT packets".