# Assigning an IP address to a virtual router ID

Use the following procedure to associate an IP address with a virtual router ID on a switch interface.

## Prerequisites

- Install the Advanced License.

- Enable IP routing globally on the switch.

- Assign an IP address to the VLAN that you want to enable with VRRP.

  Routing is automatically enabled on the VLAN when you assign an IP address to it.

## Procedure steps

1. From the navigation tree, double-click IP Routing.

2. In the IP Routing tree, double-click VRRP.

3. In the work area, click the Interface Address tab.

4. In the toolbar, click Insert.

5. Using the provided fields, create the new interface.

6. Click Insert.

## Variable definitions

The following table describes the fields of the Interface Address tab.

Field | Definition
--- | ---
IfIndex | Specifies the IP address of the interface on which to configure VRRP.
VrId | Specifies the virtual router ID to associate with this interface.
IpAddr | Specifies the IP address to associate with the virtual router ID.
Status | Specifies the status of the interface; active or inactive.