Example #2: configure vrrp on a backup router – NETGEAR 7000 Series Managed Switch User Manual

Page 76

Advertising
background image

NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

8-4

Virtual Router Redundancy Protocol

v1.0, May 2008

Example #2: Configure VRRP on a Backup Router

The following is an example of configuring VRRP on a 7000 Series Managed Switch acting as the
backup router:

Enable routing for the switch. IP forwarding will then be enabled
by default.

(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing

Configure the IP addresses and subnet masks for the port that will
particpate in the protocol.

(Netgear Switch) (Config)#interface 1/0/4
(Netgear Switch) (Interface 1/0/4)#routing
(Netgear Switch) (Interface 1/0/4)#ip address 192.150.4.1 255.255.255.0
(Netgear Switch) (Interface 1/0/4)#exit

Enable VRRP for the switch.

(Netgear Switch) (Config)#ip vrrp 20

Assign virtual router IDs to the port that will particpate in the
protocol.

(Netgear Switch) (Config)#interface 1/0/4
(Netgear Switch) (Interface 1/0/4)#ip vrrp 20

Specify the IP address that the virtual router function will rec-
ognize. Since the virtual IP address on port 1/0/4 is the same as
Router 1’s port 1/0/2 actual IP address, this router will always
be the VRRP backup when Router 1 is active.

(Netgear Switch) (Interface 1/0/4)#ip vrrp 20 ip 192.150.2.1

Set the priority for the port. The default priority is 100.

(Netgear Switch) (Interface 1/0/4)#ip vrrp 20 priority 254

Enable VRRP on the port.

(Netgear Switch) (Interface 1/0/4)#ip vrrp 20 mode
(Netgear Switch) (Interface 1/0/4)#exit
(Netgear Switch) (Config)#exit

Advertising