1. GLBP
Gateway Load Balancing Protocol

Ciscoμμ HSRP κΈ°λ₯μ κ°ννκΈ° μν΄ GLBPλ₯Ό κ°λ°νλ€.
κ²μ΄νΈμ¨μ΄ μ΄μ€νλ λ¬Όλ‘ , λ³λμ μ€μ μμ΄λ λΆν λΆμ°μ μ 곡νλ κ²μ΄λ€.
1-1. GLBP μν
Group λΉ
AVG λΌμ°ν° 1κ°, Standby λΌμ°ν° 1κ°, λλ¨Έμ§ λΌμ°ν°λ Listen μν.
λ§μΌ, AVG λΌμ°ν°κ° Down λλ€λ©΄,
Standby λΌμ°ν° β AVG λΌμ°ν°,
Listen μν λΌμ°ν° μ€ νλ β Standby λΌμ°ν°κ° λλ€.
AVG ( Active Virtual Gateway) μν
1. κ° λΌμ°ν°λ€(λ©€λ²λ€)μκ² κ°μ MACμ ν λΉνλ€.
μ΄ λΌμ°ν°λ€μ κ°μ MACμ AVF(Active Virtual Forwarder)λΌκ³ νλ€.
2. κ²μ΄νΈμ¨μ΄ μ£Όμμ λν ARP μμ²μ μλ΅νλ€.
PCμμ κ²μ΄νΈμ¨μ΄ IPμ λν ARP μμ²μ νλ©΄, AVFμ ν λΉνλ MACλ€ μ€ νλλ‘ μλ΅νλ€. μ¦, μλμΌλ‘ λΆν λΆμ°μ΄ λλ κ²μ΄λ€.
AVGκ° κ²°μ λλ μ°μ μμ
λμ GLBP Priority β λμ μΈν°νμ΄μ€ IP
1-2. GLBP νΉμ±
- Group λΉ λ¨μΌ Virtual IPμ μ΅λ 4κ°μ MACμ μ¬μ©νλ€.
- μΆλ°μ§ / λͺ©μ μ§ IP : 224.0.0.102 , Multicast
- UDP 3222
- 3μ΄ μ£ΌκΈ°λ‘ GLBP μ 보 κ΄κ³
1-3. GLBP μΈμ¦
곡격μμ μ₯λΉκ° AVG λλ AVF λλ GLBP Spoofing 곡격μ λ°©μ§νκ³ μ μΈμ¦μ μ€μ νλ€. μ¬ν FHRPμ²λΌ Plain-Text, MD5 μΈμ¦μ μ€μ ν μ μλ€.
2. GLBP μ€μ

κΈ°λ³Έ μ€μ β GLBP μ€μ β GLBP μ€μ νμΈ β GLBP μΈμ¦ μ€μ
[κΈ°λ³Έ]
– IP μ€μ
κ° μ₯λΉμ μΈν°νμ΄μ€
(PC GWλ Virtual IPλ‘ μ€μ )
– OSPF λΌμ°ν
R1 fa0/0, fa1/0
R2 fa0/1, fa1/0
SW2 fa0/0, fa0/1, loopback 0
[GLBP μ€μ ]
- R1(config)# track 1 int fa0/0 line-protocol R1(config-track)# exit R1(config)# R1(config)# int fa1/0 R1(config-if)# glbp 1 ip 10.10.100.254 R1(config-if)# glbp 1 priority 105 R1(config-if)# glbp 1 timers 2 6 R1(config-if)# glbp 1 preempt delay minimum 60 R1(config-if)# glbp 1 forwarder preempt delay minimum 50 R1(config-if)# glbp 1 weighting 100 lower 90 upper 100 R1(config-if)# glbp 1 load-balancing round-robin R1(config-if)# glbp 1 weighting track 1 decrement 20 R2(config)# track 1 int fa0/1 line-protocol R2(config-track)# exit R2(config)# R2(config)#int fa1/0 R2(config-if)# glbp 1 ip 10.10.100.254 R2(config-if)# glbp 1 timers 2 6 R2(config-if)# glbp 1 weighting 100 lower 95 R2(config-if)# glbp 1 weighting track 1 R2(config-if)# -
2: κ°μν μΈν°νμ΄μ€λ κ²½λ‘λ₯Ό μ§μ νλ€. line-protocol μ΅μ
μ μ¬μ©νλ©΄ ν΄λΉ μΈν°νμ΄μ€μ Layer 2 μνμ λ°λΌ Up / Down μνλ‘ νλ¨νλ€. κ²½λ‘λ₯Ό μ§μ νκ³ μ νλ€λ©΄, “track 2 ip route 10.10.0.1/32 reachability” μ΄λ κ² ν μ μλ€.
6: GLBP κ·Έλ£Ή λ²νΈλ 0-1023 μ¬μ΄ κ°λ₯Ό λ£μ μ μλ€. μ¬κΈ°κΉμ§μ μ€μ λ§μΌλ‘ GLBPκ° λμνλ€.
7: GLBP μ°μ μμλ₯Ό μ€μ νλ€. 0 -255 μ¬μ΄ κ°μ λ£μ μ μλ€.
8: κΈ°λ³Έ Hello Timer 3μ΄, Hold Timer 10μ΄μ§λ§, Hello 2 Hold 6μΌλ‘ μ€μ νλ€. 2μ΄ μ£ΌκΈ°λ‘ Helloλ₯Ό μ μ‘νκ³ , 6μ΄λμ Helloλ₯Ό λ°μ§λͺ»νλ©΄ μλμκ² μ₯μ κ° λ°μνλ€κ³ κ°μ£Όνλ€.
9: μ₯μ λ°μμΌλ‘ μΈν΄ λ€λ₯Έ λΌμ°ν°λ‘ AVG μν μ μμνλ€κ° μ₯μ 볡ꡬ μ 60μ΄ ν λ€μ AVG μν μ μννλ€. κΈ°λ³Έμ μΌλ‘ λΉνμ±ν λμ΄μλ€.
10: μ₯μ λ°μμΌλ‘ μΈν΄ λ€λ₯Έ λΌμ°ν°λ‘ AVF μν μ μμνλ€κ° μ₯μ 볡ꡬ μ 50μ΄ ν λ€μ AVF μν μ μννλ€. κΈ°λ³Έ 30μ΄λ‘ νμ±νλμ΄μλ€.
11: λ¨Όμ , R1μ μ μ‘ κ°μ€μΉλ₯Ό 100μΌλ‘ μ€μ νλ€. κ°μ€μΉκ° 90μ΄ λλ©΄ AVFμ μν μ λκΈ°κ³ , 100μ΄ λλ©΄ λ€μ AVF μν μ μννλ€.
12: λΆνλΆμ° λ°©μμ round-robinμΌλ‘ μ€μ νλ€.
13: track 1μ΄ Downλμμ λ, κ°μ€μΉ 20μ κ°μνλ€.
[GLBP μ€μ νμΈ]
– show glbp brief

[GLBP μΈμ¦]
– Plain-Text μΈμ¦
R1(config)# int fa1/0 R1(config-if)# glbp 1 authentication text <WORD> R2(config)# int fa1/0 R2(config-if)# glbp 1 authentication text <WORD>
– MD5 μΈμ¦ (Key-String)
R1(config)# int fa1/0 R1(config-if)# glbp 1 authentication md5 key-string <WORD> R2(config)# int fa1/0 R2(config-if)# glbp 1 authentication md5 key-string <WORD>
– MD5 μΈμ¦ (Key-Chain)
R1(config)# key chain <NAME> R1(config-keychain)# key [0-2147483647] R1(config-keychain-key)# key-string <WORD> R1(config-keychain-key)# exit R1(config-keychain)# exit R1(config)# R1(config)# int fa1/0 R1(config-if)# glbp 1 authentication md5 key-chain <NAME> R2(config)# key chain <NAME> R2(config-keychain)# key [0-2147483647] R2(config-keychain-key)# key-string <WORD> R2(config-keychain-key)# exit R2(config-keychain)# exit R2(config)# R2(config)# int fa1/0 R2(config-if)# glbp 1 authentication md5 key-chain <NAME>