1 / 24

VLAN Basic- VLAN switch principle

VLAN Basic- VLAN switch principle. V1.2. All the devices in one collision domain All the devices in one broadcast domain All the devices share the same bandwidth. A. B. C. D. Hubs : Work at physical layer. Collision Domain. More terminals means more chances to collide CSMA/CD.

wind
Download Presentation

VLAN Basic- VLAN switch principle

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. VLAN Basic-VLAN switch principle V1.2

  2. All the devices in one collision domain All the devices in one broadcast domain All the devices share the same bandwidth A B C D Hubs:Work at physical layer

  3. Collision Domain • More terminals means more chances to collide • CSMA/CD

  4. Each segment is a single collision domain All the segments are in one broadcast domain 4 Switch: Works At Data Link Layer 1 2 3

  5. Every segment is a collision domain Broadcast packet will be forwarded to all the segments Switch Working Principles Switch Memory

  6. Address learning Forward/filter decision Loop avoidance MAC table MAC address table A B 0260.8c01.1111 0260.8c01.3333 E0 E1 E2 E3 C D 0260.8c01.2222 0260.8c01.4444

  7. Station A sends a frame to Station C Switch caches station A MAC address to port E0 by learning the source address of frame Frame from station A to station C is flooded out to all ports except port E0 Learning And Flooding MAC address table E0: 0260.8c01.1111 A B 0260.8c01.1111 0260.8c01.3333 E0 E1 C D E2 E3 0260.8c01.2222 0260.8c01.4444

  8. Filtering • Station A sends a frame to station C • Destination is known, frame is not flooded MAC address table E0: 0260.8c01.1111 E2: 0260.8c01.2222 A B E1: 0260.8c01.3333 E3: 0260.8c01.4444 0260.8c01.1111 0260.8c01.3333 E0 E1 X X C D E2 E3 0260.8c01.2222 0260.8c01.4444

  9. Broadcast storm Broadcast frame SALES Dept. ENG Dept. HR Dept.

  10. Isolate different Dept.-physical ENG Dept. HR Dept. SALES Dept.

  11. VLAN-logically isolate Dept. Port-based Broadcast domain 1 VLAN 10 Broadcast domain 3 VLAN 30 Broadcast domain 2 VLAN 20 SALES Dept. ENG Dept. HR Dept. A VLAN = A broadcast domain = Logical network (subnet)

  12. Segmentation Flexibility Security VLAN advantages 3rd floor 2nd floor 1st floor SALES HR ENG span-switch interconnection?

  13. Data Data CRC CRC DA DA SA SA tag Type Type TCI CFI VLAN ID TPID Priority VLAN frame format & types Standard ethernet frame:untagged frame VID IEEE802.1Q ethernet frame:tagged frame Question:When and where to add or strip tag ?

  14. VLAN filtering MAC vlan IDPort mac-Avlan10P5 mac-Bvlan10P7 Port5 Port7 ARPrequest ARPreply A B 100.1.1.11mac-B 100.1.1.10mac-A

  15. VLAN Link Types Trunk link PVID Access link VLAN-aware/unaware devices:devices that able/unable to understand VLAN membership and VLAN frame formats An access link is a LAN segment used to multiplex one or more VLAN-unaware devices into a port of a Switch A trunk link is a LAN segment used for multiplexing VLANs between Switch

  16. Span-switch VLAN communication VLAN 20 VLAN 10 Tagged frame with VLAN ID 10 PVID=10 Untagged frame PVID=10 PVID=20 Untagged frame VLAN 20 VLAN 10

  17. link Access Trunk direction Untagged frame Add tag(VID=PVID) In Tagged frame Forwarded according to MAC address table Strip tag and send out vid=pvid Out Allowed to pass? vid=pvid Y: forwarded N: discarded Discarded Summarization

  18. Hybrid Link Server 1 2 3 4 5 A D B C

  19. PVLAN: All Ports In One VLAN Uplink network 1 2 3 4 5 A D B C

  20. QinQ: Layer 2 VPN Forwarded according to outer tag 100 VLAN 10 VLAN 10 100:10 200:10 Forwarded according to outer tag 100 VLAN 10 VLAN 10

  21. 10.1.1.1 mac-A vlan10 P10 CPU LPM 20.1.1.1 mac-B vlan20 P20 Routing engine 10.1.1.254 mac-L vlan10 Vif10 20.1.1.254 mac-N vlan10 Vif20 Vif 10: Mac-L,10.1.1.254 Vif 20: Mac-N,20.1.1.254 MAC vlan IDPort L3-flag mac-Lvlan10Vif10 1 mac-Nvlan20Vif20 1 Switching engine mac-Avlan10P5 0 mac-Bvlan10P7 0 Port20 Port10 A, 10.1.1.1 B, 20.1.1.1 Layer 3 Switching

  22. Super VLAN 10: 10.1.1.254 Sub-VLAN2 Sub-VLAN3 VLAN3 A D B C Super VLAN

  23. Review • Collision and Broadcast domain • How to isolate different Dept. logically? • VLAN advantages • Frame types • Link types • VLAN switching rules • Layer 3 switching

More Related