Chapter 7: VRRP Configuration Guide
98
SmartSwitch Router User Reference Manual
Figure 5. Symmetrical VRRP Configuration
In this configuration, half the hosts use 10.0.0.1/16 as their default route, and half use
10.0.0.2/16. IP address 10.0.0.1/16 is associated with virtual router
VRID=1
, and IP address
10.0.0.2/16 is associated with virtual router
VRID=2
.
If Router R1, the Master for virtual router
VRID=1
, goes down, Router R2 would take over
the IP address 10.0.0.1/16. Similarly, if Router R2, the Master for virtual router
VRID=2
,
goes down, Router R1 would take over the IP address 10.0.0.2/16.
Configuration of Router R1
The following is the configuration file for Router R1 in
Figure 5
.
Router R1 is the owner of IP address 10.0.0.1/16. Line 4 associates this IP address with
virtual router
VRID=1
, so Router R1 is the Master for virtual router
VRID=1
.
R1
R2
H1
H2
H3
H4
Default Route = 10.0.0.1/16
Master for VRID=1
Default Route = 10.0.0.2/16
Backup for VRID=2
Master for VRID=2
Backup for VRID=1
Interface Addr. =
10.0.0.1/16
VRID=1
;
Addr. =
10.0.0.1/16
VRID=2
;
Addr. =
10.0.0.2/16
VRID=1
10.0.0.1/16
Interface Addr. =
10.0.0.2/16
VRID=1
;
Addr. =
10.0.0.1/16
VRID=2
;
Addr. =
10.0.0.2/16
VRID=2
10.0.0.2/16
1: interface create ip test address-netmask 10.0.0.1/16 port et.1.1
!
2: ip-redundancy create vrrp 1 interface test
3: ip-redundancy create vrrp 2 interface test
!
4: ip-redundancy associate vrrp 1 interface test address 10.0.0.1/16
5: ip-redundancy associate vrrp 2 interface test address 10.0.0.2/16
!
6: ip-redundancy start vrrp 1 interface test
7: ip-redundancy start vrrp 2 interface test
Содержание SmartSwitch Router
Страница 1: ...SmartSwitch Router User Reference Manual 9032578 04...
Страница 12: ...Notice 12 SmartSwitch Router User Reference Manual...
Страница 28: ...Preface 28 SmartSwitch Router User Reference Manual...
Страница 68: ...Chapter 3 Bridging Configuration Guide 68 SmartSwitch Router User Reference Manual...
Страница 74: ...Chapter 4 SmartTRUNK Configuration Guide 74 SmartSwitch Router User Reference Manual...
Страница 84: ...Chapter 5 DHCP Configuration Guide 84 SmartSwitch Router User Reference Manual...
Страница 108: ...Chapter 7 VRRP Configuration Guide 108 SmartSwitch Router User Reference Manual...
Страница 207: ...SmartSwitch Router User Reference Manual 207 Chapter 12 Multicast Routing Configuration Guide...
Страница 208: ...Chapter 12 Multicast Routing Configuration Guide 208 SmartSwitch Router User Reference Manual...
Страница 222: ...Chapter 13 IP Policy Based Forwarding Configuration Guide 222 SmartSwitch Router User Reference Manual...
Страница 232: ...Chapter 14 Network Address Translation Configuration Guide 232 SmartSwitch Router User Reference Manual...
Страница 254: ...Chapter 16 IPX Routing Configuration Guide 254 SmartSwitch Router User Reference Manual...
Страница 270: ...Chapter 17 Access Control List Configuration Guide 270 SmartSwitch Router User Reference Manual...
Страница 282: ...Chapter 18 Security Configuration Guide 282 SmartSwitch Router User Reference Manual...
Страница 294: ...Chapter 19 QoS Configuration Guide 294 SmartSwitch Router User Reference Manual...
Страница 298: ...Chapter 20 Performance Monitoring Guide 298 SmartSwitch Router User Reference Manual...
Страница 338: ...Chapter 22 WAN Configuration Guide 338 SmartSwitch Router User Reference Manual...