[컴퓨터 네트워크] 3장. VLAN

샤이니·2021년 10월 22일
0

컴퓨터 네트워크

목록 보기
2/5
  • 헷갈리는 것 정리
    broadcast : 자신의 호스트가 속해 있는 네트워크 전체를 대상으로 packet을 전송하는 일대다 통신방식
    Local LAN 상에 붙어있는 모든 네트워크 장비에게 보내는 통신.

Overview of VLAN

VLAN Definition

VLAN : Virtual Local Area Network
물리적 배치와 상관 없이 논리적으로 LAN으 ㄹ구성할 수 있는 기술.

하나의 스위치가 있고, 이 스위치에 포트가 1~10까지 있다고 하자. 1~5를 VLAN 1로, 6~10을 VLAN 2로 설정했다면 물리적으로 같은 스위치에 존재해도 VLAN1과 VLAN2는 서로 직접적으론 통신하지 못하고 반드시 Router를 거쳐야한다. 즉 logical하게 다른 소속이 된것

  • Trunk Port
    물리적으로 하나의 포트에 다수의 VLAN traffic이 통과할 수 있는 port
  • Access Port
    호스트에 연결된 하나의 port
    특정 VLAN과 데이터를 주고받는 port

Benefits of a VLAN Design

  • Smaller broadcast domains
  • Improved security
  • Improved IT efficiency
  • Reduced cost
  • Better performance
  • Simpler project and application management

Types of VLANs

  • Default VLAN
    • 다른 VLAN에 있도록 명시적으로 구성되지 않는 한 모든 스위치의 port는 VLAN 1임
  • Data VLAN
    • voice and network management traffic은 data VLAN에 허용되어서는 안됨.
  • Voice VLAN
    • voice는 delay sensitive함.따라서 같은 switch안에 Quality of Service가 있어서 data가 먼저 왔더라도 voice를 먼저 내보냄(low delay).
    • 즉 VoIP(Voice over IP)를 지원하라면 별도의 VLAN이 필요하기 때문에 설계된 VLAN
  • Management VLAN
    • 네트워크 관리 트래픽을 위한 VLAN
  • Native VLAN
    • untaged frame이 다니는 길

VLANs in Multi-Switched Environment

Defining VLAN Trunks

  • Trunk Port
    물리적으로 하나의 포트에 다수의 VLAN traffic이 통과할 수 있는 port

Network without VLANS

Network with VLANS

VLAN Identification with a Tag

tag로 VLAN 식별

Native VLANs and 802.1Q Tagging

  • Tagged Frames on the Native VLAN
    • native VLAN에서 전송된 control traffic에는 tage가 지정되지 않아야함.
    • 802.1Q Trunk Port는 native VLAN과 동일한 VLAN ID를 가진 Tag가 지정된 frame을 수신하면 frame을 삭제함.
  • Untagged Frames on the Native VLAN
    • untagged frame이 native VLAN 위에 있으면 그대로 전달 됨.
    • 아무런 재구성이 없을 경우 default native VLAN은 VLAN 1임.

Voice VLAN Tagging

Dynamic Trunking Protocol (DTP)

DTP

  • 스위치 포트에 trunking mode가 설정되었을 때 자동으로 활성화됨.
  • switch trunk links의 auto negotiation을 위한 Cisco 독점 프로토콜

Negotiated Interface Modes 협상된 인터페이스 모드

  • Cisco Catalyst switches의 default switch port modedynamic auto이다.

Results of a DTP Configuration


Auto :수동적
Desirable : 능동적

0개의 댓글