kjh00n의 기록저장소
GNS3 VLAN 실습3 본문
PC1
ip 10.10.10.1 255.255.255.0 10.10.10.254
PC2
ip 20.20.20.1 255.255.255.0 20.20.20.254
PC3
ip 10.10.10.2 255.255.255.0 10.10.10.254
PC4
ip 30.30.30.1 255.255.255.0 30.30.30.254
PC5
ip 40.40.40.1 255.255.255.0 40.40.40.254
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,1002-1005
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,20,1002-1005
ASW2
conf t
vlan 10
name v10
exit
int fa 3/0
switchport mode access
switchport access vlan 10
int fa 3/14
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,10,1002-1005
ASW3
conf t
vlan 30
name v30
vlan 40
name v40
exit
int fa 3/0
switchport mode access
switchport access vlan 30
int fa 3/1
switchport mode access
switchport access vlan 40
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,30,40,1002-1005
MSW1
conf t
vlan 30
name v30
vlan 40
name v40
exit
int fa 3/15
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,30,40,1002-1005
int vlan 30
ip addr 30.30.30.254 255.255.255.0
int vlan 40
ip addr 40.40.40.254 255.255.255.0
int fa 0/1
ip addr 200.200.200.1 255.255.255.0
no shu
ip route 10.10.10.0 255.255.255.0 200.200.200.2
ip route 20.20.20.0 255.255.255.0 200.200.200.2
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 20.20.20.254 255.255.255.0
int fa 0/1
ip addr 100.100.100.1 255.255.255.0
no shu
ip route 30.30.30.0 255.255.255.0 100.100.100.2
ip route 40.40.40.0 255.255.255.0 100.100.100.2
R2
conf t
int fa 0/0
ip addr 100.100.100.2 255.255.255.0
no shu
int fa 0/1
ip addr 200.200.200.2 255.255.255.0
no shu
ip route 10.10.10.0 255.255.255.0 100.100.100.1
ip route 20.20.20.0 255.255.255.0 100.100.100.1
ip route 30.30.30.0 255.255.255.0 200.200.200.1
ip route 40.40.40.0 255.255.255.0 200.200.200.1
'Network' 카테고리의 다른 글
GNS3 VMware와 연결 실습 (0) | 2024.10.26 |
---|---|
GNS3 VLAN 실습4 (0) | 2024.10.26 |
GNS3 VLAN 실습2 (0) | 2024.10.26 |
GNS3 VLAN 실습 (0) | 2024.10.26 |
GNS3 RIP,ACL 실습 (0) | 2024.10.26 |