Dell POWEREDGE M1000E User Manual

Page 1050

Advertising
background image

1050

Configuring VRRP

console(config-if-vlan10)#vrrp 20

8 Specify the IP address that the virtual router function will use.

console(config-if-vlan10)#vrrp 20 ip 192.168.10.2

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

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

backup

10 Enable the VRRP groups on the interface.

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

console(config-if-vlan10)#ip vrrp 20 mode

console(config-if-vlan10)#exit

console(config)#exit

The only difference between the Router A and Router B configurations is the

IP address assigned to VLAN 10. On Router B, the IP address of VLAN 10 is

192.168.10.2. Because this is also the virtual IP address of VRID 20, Router B

is the interface owner and VRRP master of VRRP group 20.
To configure Router B:

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

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

Advertising