kjh00n의 기록저장소

GNS3 VLAN 실습2 본문

Network

GNS3 VLAN 실습2

kjh00n 2024. 10. 26. 09:54

PC1
ip 10.10.10.1 255.255.255.0
PC2
ip 20.20.20.1 255.255.255.0
PC3
ip 30.30.30.1 255.255.255.0
PC4
ip 10.10.10.2 255.255.255.0
PC5
ip 20.20.20.2 255.255.255.0
PC6
ip 30.30.30.2 255.255.255.0
PC7
ip 10.10.10.3 255.255.255.0

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

ASW2
conf t
vlan 10
name v10
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/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,30,1002-1005

ASW3
conf t
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 30
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,20,30,1002-1005

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

DSW2
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/13
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,30,1002-1005
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,20,30,1002-1005

'Network' 카테고리의 다른 글

GNS3 VLAN 실습4  (0) 2024.10.26
GNS3 VLAN 실습3  (0) 2024.10.26
GNS3 VLAN 실습  (0) 2024.10.26
GNS3 RIP,ACL 실습  (0) 2024.10.26
GNS3 IP NAT 실습  (0) 2024.10.26