Chapter 17. Connecting Devices & Virtual LANs
Key Points
- Hubs and Switches
- Virtual LANs
- How switches communicate in VLAN
- Advantages of VLAN
Network는 Device끼리 엮인것이고
Internet은 Network끼리 엮인것이다.
Connecting Devices
Hub / Repeater
- Physical layer에만 존재한다
- Travel fixed distance
- Signal이 약해지기전 다시 amplify 또는 repeat 해준다
Swtich
- Physical layer에 존재할 경우에는 repeater와 같은 역할.
- Link-Layer device역할로써는 MAC address를 체크한다
LOOP Problem : 여러개의 스위치가 랜을 연결할 경우 발생한다. (무한으로 값을 갱신하면서 뱅뱅 돈다)
해결방법 : 물리적으로 loop가 없도록 한다 / Spanning tree algorithm (logical 하게 loop이 없는 path를 만들어준다)
Spanning tree algorithm : Route가 될만한 Switch를 다익스트라 알고리즘을 돌려서 logically loop이 없게 한다.
Router
- Physical layer에 존재할 경우에는 repeater와 같은 역할.
- Data-Link layer에 존재할 경우에는 switch와 같은 역할.
- Network에 존재하는 경우는 IP 주소를 이용하여 LAN과 LAN을 연결한다.
Virtual LAN (VLAN)
backbone swtich를 이용해 VLAN을 구성한다.
Geographycally는 분리되어 있으나 logically united 되어있다 -> Configure by software
장점
- Cost and Time Reduction -> Configure시간이 줄어든다.
- Creating Virtual work group -> reduce traffic in multicasting
- Security -> Can guarantee the security