22.03.30[EVE-NG] Total Topology 실습

김스타·2022년 3월 30일
1

eve

목록 보기
6/19

📝 배운 내용은 다음과 같다.

📝 Topology를 구성하시오.

✨ Topology 구성도

✨ PC 설정

👉 Configuring VPC IP

VPCS>ip 192.168.33.10 255.255.255.192 192.168.33.1
ip / subnet mask / network add

✨ Switch 설정

👉 Configuring VTP Modes

🖋 server(SW3)

Switch(config)#vtp domain test

🖋 Client(SW4,SW6)

Switch(config)#vtp mode client


🖋 transparent(SW5)

Switch(config)#vtp mode transparent


👉 Configuring Vlan

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

🖋 configuring vlan port

🖋 SW5

Switch(config)#int e0/0
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10

Switch(config)#int e0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20

Switch(config)#int range e0/2-3
Switch(config-if-range)#switchport trunk encapsulation dot1q
Switch(config-if-rnage)#switchport mode trunk

👉 Trunk encapsulation

🖋 SW3

Switch(config)#int range e0/0,e0/2-3
Switch(config-if-range)#switchport trunk encapsulation dot1q
Switch(config-if-rnage)#switchport mode trunk

👉 Configuring EtherChannel

🖋 SW3

Switch(config)#int e0/1, e1/0
Switch(config-if-range)#channel-group 1 mode desirable
Switch(config-if-range)#exit
switch(config)# int po 1
switch(config-if)#switchport trunk encapsulation dot1q
switch(config-if)#switchport mode trunk
switch(config-if)#switchport trunk allowed vlan 1,10,20,30

✨ Router 설정

👉 Configuring IP Address

🖋 R1

Router(config)#int e0/0
Router(config-if)#ip add 192.168.33.253 255.255.255.248
Router(config-if)#no shutdown

👉 Configuring an HSRP Standby

🖋 R1

Router(config)#int e0/1
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int e0/1.10
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip add 192.168.33.9 255.255.255.192
Router(config-subif)#standby 10 ip 192.168.33.1
Router(config-subif)#standby 10 priority 150
Router(config-subif)#standby 10 preempt

Router(config)#int e0/1.20
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip add 192.168.33.98 255.255.255.192
Router(config-subif)#standby 20 ip 192.168.33.65
Router(config-subif)#standby 20 priority 120
Router(config-subif)#standby 20 preempt

🖋 R2

Router(config)#int e0/1
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#int e0/1.10
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip add 192.168.33.11 255.255.255.192
Router(config-subif)#standby 10 ip 192.168.33.1
Router(config-subif)#standby 10 priority 120
Router(config-subif)#standby 10 preempt

Router(config)#int e0/1.20
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip add 192.168.33.99 255.255.255.192
Router(config-subif)#standby 20 ip 192.168.33.65
Router(config-subif)#standby 20 priority 150
Router(config-subif)#standby 20 preempt

👉 Configuring OSPF

🖋 R1

Router(config)#route ospf 1
Router(config-router)#network 192.168.33.0 0.0.0.63 area 0
Router(config-router)#network 192.168.33.64 0.0.0.63 area 0
Router(config-router)#network 192.168.33.248 0.0.0.7 area 0

🖋 R2

Router(config)#route ospf 1
Router(config-router)#network 192.168.33.0 0.0.0.63 area 0
Router(config-router)#network 192.168.33.64 0.0.0.63 area 0
Router(config-router)#network 192.168.33.248 0.0.0.7 area 0

🖋 R14

Router(config)#route ospf 1
Router(config-router)#network 11.11.11.0 0.0.0.63 area 0
Router(config-router)#network 22.22.22.0 0.0.0.63 area 0
Router(config-router)#network 192.168.33.248 0.0.0.7 area 0

👉 ping 결과

11.11.11.11에서 192.168.33.100 ping 결과

0개의 댓글