일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
- vlancisco
- DORA
- 레이스컨디션
- Router
- 아이유
- webhacking
- ciscovlan
- 오렌지태양아래
- cisco
- DHCP
- IEEE
- XSS
- VLAN
- GNS3
- IU
- dto1q
- 유애나
- flag
- 더골든아워
- ack
- beebox
- 아이유콘서트
- vlan.dat
- 시스코
- hacking
- wireshark
- cisco dhcp
- bWAPP
- Today
- Total
얄루
VLAN tutorial 본문
VLAN: Virtual Local Area Network
스위치를 이용해서 가상의 네트워크로 나누는 기술
IEEE 802.1Q: Dot1q
주로, VLAN(가상 LAN) 상에서, 스위치 간에 VID(VLAN Identifier) 정보를 전달하는 방법
1. access port: 특정 VLAN만 통과
2. trunk port: 모든 VLAN 통과
router에서 스위치 기능을 사용하려면 --> vlan database -> vlan [number] -> exit (해야만 저장됨!!!!)
switchport: L2 switch에서만 사용할 수 잇음
vlan 생성
vlan database
vlan 10
vlan 20
exit
ACCESS VLAN
int f1/15
switchport mode access
switch access vlan 10
int f1/0
switchport mode access
switch access vlan 20
end
sh vlan-switch bri
TRUNK VLAN
conf t
int f1/15
sw mo tr
sw tr all vlan all
end
sh int trunk
switch in bound -> dot1q로 encalsulation
Flag: 1(<-- VLAN number)가 같은 번호를 사용하는 interface에만 전달 가능
vlan 정보는 vlan.dat에 저장된다.
삭제는 del vlan.dat
Inter VLAN setting (Router)
int f0/0.10
enc dot1q 10
ip addr 1.1.1.126 255.255.255.128
'네트워크 > GNS3' 카테고리의 다른 글
(수정중) fr(mul/po)-ripv2(default, no auto summary)-ppp(chap)-vlan-intervlan-raid (0) | 2022.05.31 |
---|---|
ppp_pap/chap, frsw practice (0) | 2022.05.09 |