![background image](/i/d-link/151372/d-link-dws-3024/h/d-link-dws-3024-080.png)
80
© 2001- 2011 D-Link Corporation. All Rights Reserved.
Configuration Guide
Figure 37.
VRRP Example Network Configuration
Example 1: Configuring VRRP on the Switch as a Master Router
Enable routing for the switch. IP forwarding is then enabled by default.
config
ip routing
exit
Configure the IP addresses and subnet masks for the port that will participate in the protocol.
config
interface 0/2
routing
ip address 192.150.2.1 255.255.255.0
exit
Enable VRRP for the switch.
config
ip vrrp
exit
Assign virtual router IDs to the port that will participate in the protocol.
config
interface 0/2
ip vrrp 20
Port 0/2
192.150.2.1
Virtual Router ID 20
Virtual Addr. 192.150.2.1
Port 0/4
192.150.4.1
Virtual Router ID 20
Virtual Addr. 192.150.2.1
Hosts
Layer 3 Switch acting
as Router 1
Layer 2 Switch
Layer 3 Switch acting
as Router 2