Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Native vlan AND trunk AND link

Shulou Source: shulou.com Published: 2022-06-01 05:00:23 10月04日 Update

Analysis of nativevlan and TRUNK Link

Native vlan:

Pc1-port1-sw1-port2-port1-sw2-port2-pc2

Local VLAN:VLAN 1

Data from pc1 to pc2

Data from pc1 to sw1:port1 (add vlan1 identity)

Data from sw1:port1 to sw1:port2 (remove vlan1 logo)

Data from sw1:port2 to sw2:port1 (add vlan1 identity)

Data from sw2:port1 to sw2:port2 (remove vlan1 logo)

Finally, the data is entered into PC1 without identification.

TRUNK:

Pc1- (access) port1-sw1-port2 (trunk)-(trunk) port1-sw2-port2 (access)-pc2

Data from sw1:port1 to sw1:port2 (add port ACCESS identity)

Data from sw1:port1 to sw1:port2 (allow VLAN to which ACCESS belongs, VLAN identity and data encapsulation; reject, discard)

Data from sw1:port2 to sw2:port1 (data unencapsulated)

Data from sw2:port1 to sw2:port2 (unencapsulated data and port2 have the same vlan identity, remove logo)

Finally, the data is entered into PC1 without identification.

Tags: Data identity encapsulation link same ownership port Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux macOS Shulou Technology MariaDB Apple