Telegram- 👇 😉
-
. WIKIMERIONET
Merion Mertics , ,

CRM

8

GLBP (Gateway load Balancing Protocol) - , Cisco, , 1 .

FHRP, .

GLBP , HSRP VRRP 2 .

 GLBP (Gateway load Balancing Protocol)

AVG (Active Virtual Gateway) - , MAC . GLBP .

, , MAC , ARP . IP , MAC .

AVF (Active Virtual Forwarder) - , .

AVG , AVF , AVG AVF .

, FHRP ( interface e0/0)


Router(config-if)# glbp 1 ip 192.168.0.254 // GLBP
Router(config-if)# glbp 1 priority 110 //  110 (     ,   AVG   100) 
Router(config-if)# glbp 1 preempt //    AVG (      HSRP, VRRP)
Router(config-if)# glbp 1 weighting 115 //   AVF  115 Router(config-if)# glbp 1 load-balancing host-depended | round-robin | weighted

?

, AVF. - . :

Router(config-if)# glbp 1 weighting 130 lower 20 upper 129

Forwarder 130, 20, 129. 19, AVF, 129 , AVF. lower 1, upper 100.

Track:

Router(config)# track 1 interface e0/1 line-protocol
Router(config)# int e0/0
Router(config-if)# glbp 1 weighting track 1 decrement 111

AVG?

R2(config)#do show glbp
Ethernet0/0 - Group 1
State is Active
...

, Active, AVG. :

R3(config-if)#do sh glbp
Ethernet0/0 - Group 1
State is Standby
...

, AVG.

State is Active / Listen / Standby. AVG Active, Standby, , Listen. State is Active , State is Standby. AVF.


3 AVG

  1. Round Robin ( ) - , , MAC , , . ARP table , mac . ARP , . AVG, mac glbp. , AVF , - R3 mac-address , R4 mac-address .
  2. Weighted () - AVF , , .
  3. Host dependent ( ) - MAC . VPC10 MAC AVG , , .

? , :

  1. R3 (State is Listen) , , R2, R4.
  2. R2 (State is Active) , AVG R4 (State is Standby), ( R3/R4). R3 AVG.
  3. R4 (State is Standby) , R2/R3 R3 (State is Listen) State is Standby.

show glbp

R2(config-if)#do sh glbp
Ethernet0/0 - Group 1
State is Active
  1 state change, last state change 00:06:48
Virtual IP address is 192.168.0.254
Hello time 3 sec, hold time 10 sec
  Next hello sent in 2.176 secs
Redirect time 600 sec, forwarder timeout 14400 sec
Preemption disabled
Active is local
Standby is 192.168.0.3, priority 100 (expires in 8.576 sec)
Priority 100 (default)
Weighting 100 (default 100), thresholds: lower 1, upper 100
Load balancing: round-robin
Group members:
  aabb.cc00.2000 (192.168.0.1) local
  aabb.cc00.3000 (192.168.0.2)
  aabb.cc00.4000 (192.168.0.3)
There are 3 forwarders (1 active)
Forwarder 1
  State is Active
    1 state change, last state change 00:06:37
  MAC address is 0007.b400.0101 (default)
  Owner ID is aabb.cc00.2000
  Redirection enabled
  Preemption enabled, min delay 30 sec
  Active is local, weighting 100
Forwarder 2
  State is Listen
  MAC address is 0007.b400.0102 (learnt)
  Owner ID is aabb.cc00.3000
  Redirection enabled, 599.104 sec remaining (maximum 600 sec)
  Time to live: 14399.104 sec (maximum 14400 sec)
  Preemption enabled, min delay 30 sec
  Active is 192.168.0.2 (primary), weighting 100 (expires in 9.216 sec)
Forwarder 3
  State is Listen
  MAC address is 0007.b400.0103 (learnt)
  Owner ID is aabb.cc00.4000
  Redirection enabled, 598.592 sec remaining (maximum 600 sec)
  Time to live: 14398.592 sec (maximum 14400 sec)
  Preemption enabled, min delay 30 sec
  Active is 192.168.0.3 (primary), weighting 100 (expires in 10.016 sec)

3 glbp 1 , 1 . R2 R3 R4 active, listen . R3 R4 , . , , AVF , Forwarder Active.


preempt

, FHRP . GLBP AVG AVF. AVG , AVF , 30 .

preempt AVG:

R2(config)# int e0/0
R2(config-if)# glbp 1 preempt

preempt AVF:

R2(config)# int e0/0
R2(config-if)# glbp 1 forwarder preempt delay minimum 60

GLBP:

R2(config-if)# glbp 1 timers 3 10

//  md5   
R2(config-if)#glbp 1 authentication md5 key-string CISCO

//   
R2(config-if)#glbp 1 authentication text CISCO

R2# show glbp //      FHRP

R2# show glbp brief //       GLBP
----------------------------------------------------------------------------------------------------------------------------
R2#show glbp brief
Interface   Grp Fwd Pri State   Address         Active router   Standby router
Et0/0       1   -   110 Standby 192.168.0.254   192.168.0.4     local
Et0/0       1   1   -   Active   0007.b400.0101 local           -
Et0/0       1   2   -   Listen   0007.b400.0102 192.168.0.2     -
Et0/0       1   3   -   Listen   0007.b400.0103 192.168.0.3     -
Et0/0       1   4   -   Listen   0007.b400.0104 192.168.0.4     -

GLBP 4 , 5, GLBP, . , - AVF.