[ 11일차 ] vlan 설정하기
[10주차 인터넷프로토콜_ccna_ospf. ppt]
+ 카페 [ 11일차 ] vlan설정하기 게시글 ㅠㅠ
------------------------------------------
VMware Workstation 설치하기
This host supports Intel VT-x, but Intel VT-x is disabled.
Intel VT-x might be disabled if it has been disabled in the BIOS/firmware settings or the host has not been power-cycled since changing this setting.
(1) Verify that the BIOS/firmware settings enable Intel VT-x and disable 'trusted execution.'
(2) Power-cycle the host if either of these BIOS/firmware settings have been changed.
(3) Power-cycle the host if you have not done so since installing VMware Workstation.
(4) Update the host's BIOS/firmware to the latest version.
This host does not support "Intel EPT" hardware assisted MMU virtualization.
Module 'CPUIDEarly' power on failed.
Failed to start the virtual machine.
-----------------------------------
[ 8주차 vlan1 구축 . ppt]
p.26 VLAN 실습 (Trunk)
vlan : 가상의 터미널, 논리적인 lan
사진5
왼쪽 스위치
Switch(config)#vlan 11
Switch(config-vlan)#exit
Switch(config)#vlan 12
Switch(config-vlan)#exit
Switch(config)#int fa0/2
Switch(config-if)#switchport access vlan 11
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#switchport access vlan 11
Switch(config-if)#exit
Switch(config)#int fa0/4
Switch(config-if)#switchport access vlan 12
Switch(config-if)#exit
Switch(config)#int fa0/5
Switch(config-if)#switchport access vlan 12
Switch(config-if)#int fa0/1
Switch(config-if)#switchport mode trunk ->여러개의 vlan을 통과하게 함
가운데 스위치에도 설정을 해줘야함
Switch(config)#vlan 11
Switch(config-vlan)#exit
Switch(config)#vlan 12
Switch(config-vlan)#exit
Switch(config)#int fa0/2
Switch(config-if)#switchport mode trunk
오른쪽 스위치
Switch(config)#vlan 11
Switch(config-vlan)#exit
Switch(config)#vlan 12
Switch(config-vlan)#exit
Switch(config)#int fa0/2
Switch(config-if)#switchport access vlan 11
Switch(config-if)#exit
Switch(config)#int fa0/3
Switch(config-if)#switchport access vlan 12
사진6
루핑이되는건 통신이 안된다 (= 주황불)
자기자신이 다 활성화되어있고 상대포트도 다 활성화 되어있는것이 대장스위치임
=스위치5
스위치6 : 부대장
따라서 우선순위 5>6>4>3
Switch(config)#spanning-tree vlan 1 pri
Switch(config)#spanning-tree vlan 1 priority 100
% Bridge Priority must be in increments of 4096.
% Allowed values are:
0 4096 8192 12288 16384 20480 24576 28672
32768 36864 40960 45056 49152 53248 57344 61440 -> 우선순위 높은 순서대로 나와있음 0이 제일 높음
Switch(config)#spanning-tree vlan 1 priority 0
Switch(config)#spanning-tree vlan 1 priority 4096
Switch#sh spanning-tree vlan 1
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 1
Address 000C.85BB.2B31
Cost 19
Port 1(FastEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0003.E447.399E
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa0/2 Altn BLK 19 128.2 P2p
Fa0/1 Root FWD 19 128.1 P2p
------
콘솔라인 암호화하기
Router(config)#line con 0
Router(config-line)#password 2222
Router(config-line)#login -> 아이디는 안물어보고 암호만 물어봄