kjh00n의 기록저장소

GNS3 VLAN 실습4 본문

Network

GNS3 VLAN 실습4

kjh00n 2024. 10. 26. 09:55

PC1
ip 10.10.30.1 255.255.255.0 10.10.30.254
PC2
ip 10.10.10.1 255.255.255.0 10.10.10.254
PC3
ip 10.10.10.2 255.255.255.0 10.10.10.254
PC4
ip 10.10.10.3 255.255.255.0 10.10.10.254
PC5
ip 10.10.20.1 255.255.255.0 10.10.20.254
PC6
ip 10.10.20.2 255.255.255.0 10.10.20.254
PC7
ip 10.10.20.3 255.255.255.0 10.10.20.254
PC8
ip 10.10.30.2 255.255.255.0 10.10.30.254

ASW1
conf t
vlan 10
name v10
vlan 20
name v20
vlan 30
name v30
exit
int fa 3/0
switchport mode access
switchport access vlan 30
int fa 3/1
switchport mode access
switchport access vlan 10
int fa 3/14
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,1002-1005
switchport trunk native vlan 20

ASW2
conf t
vlan 10
name v10
vlan 20
name v20
vlan 30
name v30
exit
int fa 3/0
switchport mode access
switchport access vlan 10
int fa 3/1
switchport mode access
switchport access vlan 10
int fa 3/14
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,1002-1005
switchport trunk native vlan 20
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,1002-1005
switchport trunk native vlan 30
int fa 3/13
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,1002-1005

ASW3
conf t
vlan 10
name v10
vlan 20
name v20
vlan 30
name v30
exit
int fa 3/0
switchport mode access
switchport access vlan 20
int fa 3/1
switchport mode access
switchport access vlan 20
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,1002-1005
switchport trunk native vlan 30

R1
conf t
int fa 0/0
no shu
int fa 0/0.10
encapsulation dot1q 10
ip addr 10.10.10.254 255.255.255.0
int fa 0/0.20
encapsulation dot1q 20
ip addr 10.10.20.254 255.255.255.0
int fa 0/0.30
encapsulation dot1q 30
ip addr 10.10.30.254 255.255.255.0


'Network' 카테고리의 다른 글

client,server 연결 실습  (0) 2024.10.28
GNS3 VMware와 연결 실습  (0) 2024.10.26
GNS3 VLAN 실습3  (0) 2024.10.26
GNS3 VLAN 실습2  (0) 2024.10.26
GNS3 VLAN 실습  (0) 2024.10.26