N's Story

GLBP 실습 본문

■ Communications /↘ Cisco GNS

GLBP 실습

AndrewNa 2019. 3. 28. 23:29
728x90
반응형

Topology

 

Command

-R1-

interface Loopback0

ip address 150.150.150.150 255.255.255.255

!

interface FastEthernet0/0

ip address 172.16.1.1 255.255.255.0

router ospf 1

network 150.150.150.150 0.0.0.0 area 0

network 172.16.1.0 0.0.0.255 area 0

 

-R2-

interface FastEthernet0/0

no switchport

ip address 172.16.1.2 255.255.255.0

!

track 1 interface FastEthernet0/0 line-protocol // track 설정

!

interface FastEthernet0/1

no switchport

ip address 192.168.1.2 255.255.255.0

glbp 10 ip 192.168.1.254

glbp 10 priority 120 // 우선순위 설정 100이 default

glbp 10 preempt delay minimum 50

glbp 10 weighting 100 lower 80 // 가중치가 80이 되면 상대에게 AVG를 넘김

glbp 10 weighting track 1 decrement 25 // track 1 down 시 20감소 default는 10

glbp 10 forwarder preempt delay minimum 50

glbp 10 load-balancing round-robin // default

!

router ospf 1

network 172.16.1.0 0.0.0.255 area 0

network 192.168.1.0 0.0.0.255 area 0

 

-R3-

interface FastEthernet0/0

no switchport

ip address 172.16.1.3 255.255.255.0

!

track 1 interface FastEthernet0/0 line-protocol

!

interface FastEthernet0/1

no switchport

ip address 192.168.1.3 255.255.255.0

glbp 10 ip 192.168.1.254

glbp 10 priority 110

glbp 10 weighting 100 lower 80

glbp 10 weighting track 1 decrement 25

glbp 10 forwarder preempt delay minimum 50

glbp 10 load-balancing round-robin ​

!

router ospf 1

network 172.16.1.0 0.0.0.255 area 0

network 192.168.1.0 0.0.0.255 area 0

 

-R4-

interface FastEthernet0/0

no switchport

ip address 172.16.1.4 255.255.255.0

!

track 1 interface FastEthernet0/0 line-protocol

!

interface FastEthernet0/1

no switchport

ip address 192.168.1.4 255.255.255.0

glbp 10 ip 192.168.1.254

glbp 10 weighting 100 lower 80

glbp 10 weighting track 1 decrement 25

glbp 10 forwarder preempt delay minimum 50

glbp 10 load-balancing round-robin ​

!

router ospf 1

network 172.16.1.0 0.0.0.255 area 0

network 192.168.1.0 0.0.0.255 area 0

 

-R5-

no ip routing

!

interface FastEthernet0/0

ip address 192.168.1.10 255.255.255.0

!

ip default-gateway 192.168.1.254

 

-R6-

no ip routing

!

interface FastEthernet0/0

ip address 192.168.1.20 255.255.255.0

!

ip default-gateway 192.168.1.254

 

-R7-

no ip routing

!

interface FastEthernet0/0

ip address 192.168.1.30 255.255.255.0

!

ip default-gateway 192.168.1.254

 

 

Check

AVG, AVF 확인

R2#show glbp brief

 

R3#show glbp brief​

 

R4#show glbp brief​

 

Road Balancing 확인

R5#tracer 150.150.150.150

R5#show arp

 

R6#tracer 150.150.150.150

R6#show arp

 

R7#tracer 150.150.150.150

R7#show arp

 

 

 

728x90
반응형
Comments