22.03.30 [EVE-NG] HSRP Topology 구성

김스타·2022년 3월 30일
1

eve

목록 보기
7/19

📝 Configuring HSRP

👉 Topology 구성도

ip 설정

VPCS>ip 11.11.11.10 255.255.255.0 11.11.11.1
VPCS>save

Router 설정

R1

Router(config)#int e0/1
Router(config-if)#ip add 11.11.11.2 255.255.255.0
Router(config-if)#no shut
Router(config-if)#standby 10 ip 11.11.11.1
Router(config-if)#standby 10 priority 150
Router(config-if)#standby 10 preempt

R2

Router(config)#int e0/1
Router(config-if)#ip add 11.11.11.3 255.255.255.0
Router(config-if)#no shut
Router(config-if)#standby 10 ip 11.11.11.1
Router(config-if)#standby 10 priority 120
Router(config-if)#standby 10 preempt

📝 Configuring HSRP(2)

👉 Topology 구성도(2)

ip 설정

VPCS>ip 10.1.1.10 255.255.255.0 10.1.1.1

vlan 설정

sw3 : vlan 설정

switch(config)#vlan 10
switch(config-vlan)#name vlan10
switch(config-vlan)#vlan 20
switch(config-vlan)#name vlan20

sw3 : vlan port access

switch(config)#int e0/2
switch(config-if)#switchport mode access
switch(config-if)#switchport access vlan 10

sw1, sw2

switch(config)#vlan 10
switch(config-vlan)#name vlan10
switch(config-vlan)#vlan 20
switch(config-vlan)#name vlan20

encapsulation

R1 HSRP 10 설정

Router(config)#int e0/1.10
Router(config-if)#ip add 10.1.1.2 255.255.255.0
Router(config-if)#encapsulation dot1q 10
Router(config-if)#no shut

standby

R1

Router(config-if)#standby 10 ip 10.1.1.1
Router(config-if)#standby 10 priority 150
Router(config-if)#standby 10 preempt

Router(config)#int e0/1.20
Router(config-if)#ip add 20.1.1.2 255.255.255.0
Router(config-if)#encapsulation dot1q 20
Router(config-if)#no shut
Router(config-if)#standby 20 ip 20.1.1.1
Router(config-if)#standby 20 priority 150
Router(config-if)#standby 20 preempt

0개의 댓글