VRRP: 5/5
:
1.192.168.1.1 192.168.4.4.
2. 192.168.1.1, trace route (tracert) 192.168.4.4.
, L3_A.
3. 1 L3_A,
. 192.168.1.1 192.168.4.4 10 .
4., 192.168.1.1 trace route 192.168.4.4.
, L3_B.
5. 1 L3_A. L3_A
.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Internet |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Critical IP: |
1/2 |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VRRP |
|
192_168_1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
L3_A |
L3_B |
|
VRRP. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
L3_A |
|
|
. |
|
|
|
|
NAT A |
|
|
NAT B |
|
|
|
||||||||||||||||
|
|
|
|
|
L3_B |
|
|
. |
|
||||||||||||||||
|
|
|
192.168.2.1 |
|
|
|
192.168.3.1 |
|
|
|
|
|
|||||||||||||
|
|
|
192_168_2 |
|
192_168_3 |
|
NAT_A, |
|
|
||||||||||||||||
|
|
|
|
|
192.168.1.x |
|
|
||||||||||||||||||
|
|
|
2.252 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3.253 |
L3_A. L3_B |
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. |
|
|
|
L3_A |
1.252 |
192_168_1 |
1.253 |
|
L3_B |
NAT_A |
, L3_B |
|
|||||||||||||||||
|
|
|
|
|
|
|
|
|
192.168.1.x, |
|
|||||||||||||||
|
|
|
|
|
|
|
|||||||||||||||||||
$ 1 |
$ 2 |
|
|
|
|
|
|||||||||||||||||||
|
|
|
VRRP |
|
|
|
|
|
|
|
|
|
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
L2 |
|
|
|
|
|
|
|
: |
|
|
|
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Critical IP |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NAT |
ARP- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|||||||||||||||||
|
|
|
|
|
|
|
|
|
|||||||||||||||||
|
|
|
IP = 192.168.1.x/24 |
|
|
|
|
|
|
|
|
|
|||||||||||||
|
= 192.168.1.252 |
|
|
|
|
|
30 |
. |
NAT |
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VRRP |
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VRRP: 2/5
L3_C
. RIP .
config vlan default delete 1-18
create vlan vlan2 tag 2
config vlan vlan2 add untag 1-6
create ipif 192_168_2 192.168.2.254/24 vlan2 state enable
create vlan vlan3 tag 3
config vlan vlan3 add untag 7-12
create ipif 192_168_3 192.168.3.254/24 vlan3 state enable
create vlan vlan4 tag 4
config vlan vlan4 add untag 13-18
create ipif 192_168_4 192.168.4.254/24 vlan4 state enable
enable rip
config rip all tx_mode v2_only rx_mode v2_only state enable
|
|
L3_A |
|
L3_B |
|
VRRP: |
4/5 |
|
DGS-3324SR:4# show vrrp |
|
DGS-3324SR:4# show vrrp |
|
|
||||
Global VRRP |
: Enabled |
|
Global VRRP |
: Enabled |
|
|
||
Non-owner response PING: Disabled |
|
Non-owner response PING: Disabled |
|
|
||||
Interface Name |
: 192_168_1 |
|
Interface Name |
: 192_168_1 |
|
|
||
Authentication type |
|
: No Authentication |
|
Authentication type |
|
: No Authentication |
|
|
VRID |
: 252 |
|
|
VRID |
: 252 |
|
|
|
Virtual IP Address |
: 192.168.1.252 |
|
Virtual IP Address |
: 192.168.1.252 |
|
|
||
Virtual MAC Address |
: 00-00-5E-00-01-FC |
|
Virtual MAC Address |
: 00-00-5E-00-01-FC |
|
|
||
Virtual Router State |
: Master |
|
Virtual Router State |
: Backup |
|
|
||
State |
: Enabled |
|
State |
: Enabled |
|
|
||
Priority |
: 255 |
|
|
Priority |
: 100 |
|
|
|
Master IP Address |
: 192.168.1.252 |
|
Master IP Address |
: 192.168.1.252 |
|
|
||
Critical IP Address |
: 0.0.0.0 |
|
Critical IP Address |
: 0.0.0.0 |
|
|
||
Checking Critical IP |
: Disabled |
|
Checking Critical IP |
: Disabled |
|
|
||
Advertisement Interval : 1 secs |
|
Advertisement Interval : 1 secs |
|
|
||||
Preempt Mode |
|
: True |
|
Preempt Mode |
|
: True |
|
|
Virtual Router Up Time : 6782215 centi-secs |
|
Virtual Router Up Time : 6786620 centi-secs |
|
|
||||
VRID |
: 253 |
|
|
VRID |
: 253 |
|
|
|
Virtual IP Address |
: 192.168.1.253 |
|
Virtual IP Address |
: 192.168.1.253 |
|
|
||
Virtual MAC Address |
: 00-00-5E-00-01-FD |
|
Virtual MAC Address |
: 00-00-5E-00-01-FD |
|
|
||
Virtual Router State |
: Backup |
|
Virtual Router State |
: Master |
|
|
||
State |
: Enabled |
|
State |
: Enabled |
|
|
||
Priority |
: 100 |
|
|
Priority |
: 255 |
|
|
|
Master IP Address |
: 192.168.1.253 |
|
Master IP Address |
: 192.168.1.253 |
|
|
||
Critical IP Address |
: 0.0.0.0 |
|
Critical IP Address |
: 0.0.0.0 |
|
|
||
Checking Critical IP |
: Disabled |
|
Checking Critical IP |
: Disabled |
|
|
||
Advertisement Interval : 1 secs |
|
Advertisement Interval : 1 secs |
|
|
||||
Preempt Mode |
|
: True |
|
Preempt Mode |
|
: True |
|
|
Virtual Router Up Time : 6782215 centi-secs |
|
Virtual Router Up Time : 6786620 centi-secs |
|
|
||||
Total Entries: 2 |
|
|
|
Total Entries: 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VRRP: 5/5
:
1.PC_A (192.168.1.1, = 192.168.1.252) PC_B (192.168.1.101, =
192.168.1.253) PC_C (192.168.4.4, = 192.168.4.254).
2. |
“tracert”, |
|
, |
PC_A |
|
L3_A, |
PC_B |
|
L3_B. |
3. 1 ( L3_A), PC_A PC_B
PC_C, L3-B.
4. 1 2 (
L3_B), PC_A PC-B PC_C,
L3_A.
5. 2 (, L3_A L3_B ). PC_A PC_B PC_C. PC_A L3_A; PC_B L3_B.