Dell POWEREDGE M1000E User Manual

Page 1049

Advertising
background image

Configuring VRRP

1049

This example configures two VRRP groups on each router. Router A is the

VRRP master for the VRRP group with VRID 10 and the backup for VRID 20.

Router B is the VRRP master for VRID 20 and the backup for VRID 10. If

Router A fails, Router B will become the master of VRID 10 and will use the

virtual IP address 192.168.10.1. Traffic from the clients configured to use

Router A as the default gateway will be handled by Router B.
To configure Router A:

1 Enable routing for the switch.

console#config

console(config)#ip routing

2 Create and configure the VLAN routing interface to use as the default

gateway for network clients. This example assumes all other routing

interfaces, such as the interface to the external network, have been

configured.

console(config)#interface vlan 10

console(config-if-vlan10)#ip address 192.168.10.1

255.255.255.0

console(config-if-vlan10)#exit

3 Enable VRRP for the switch.

console(config)#ip vrrp

4 Assign a virtual router ID to the VLAN routing interface for the first VRRP

group.

console(config)#interface vlan 10

console(config-if-vlan10)#vrrp 10

5 Specify the IP address that the virtual router function will use. The router

is the virtual IP address owner (the routing interface has the same IP

address as the virtual IP address for the VRRP group), so the priority value

is 255.

console(config-if-vlan10)#vrrp 10 ip 192.168.10.1

6 Configure an optional description to help identify the VRRP group.

console(config-if-vlan10)#vrrp 10 description

master

7 Assign a virtual router ID to the VLAN routing interface for the second

VRRP group.

Advertising