Dab tsi yog Virtual LAN (VLAN)?

Virtual LAN (Local Area Network) yog ib qhov kev tshawb fawb subnetwork uas tuaj yeem pab ua ke ua ke ntawm cov khoom siv los ntawm ntau lub cev LANs . Cov lag luam loj tshaj lag luam feem ntau tsim VLANs rov faib rau lawv lub network kom paub tswj kev khiav tsheb.

Muaj ntau hom kev sib txwv sib txuas lus virtual virtual LANs xws li Ethernet thiab Wi-Fi .

Cov txiaj ntsig ntawm VLAN

Thaum teem kom raug, virtual LANs yuav ua kom kev ua haujlwm ntawm cov tes hauj lwm tsis khoom. VLANs yog npaj los ua ke ua ke cov neeg siv khoom sib txuas lus uas sib txuas lus nrog txhua zaus. Cov tsheb sib txuas nruab nrab ntawm ob los yog ntau lub cev tes hauj lwm feem ntau yuav tsum tau ua raws li kev sib txuas ntawm lub network cov txheej txheem , tab sis muaj VLAN uas cov tsheb khiav tau zoo dua ntawm cov kev hloov network .

VLANs tseem tuaj yeem nqa cov nyiaj pabcuam ntxiv ntawm cov tes hauj lwm loj los ntawm kev tswj xyuas ntau dua uas cov cuab yeej siv tau sib pab hauv zos. WI-Fi qhua tes hauj lwm feem ntau siv cov ntsiab lus siv wireless uas txhawb VLANs.

Static thiab Dynamic VLANs

Cov neeg khiav dej num hauv tsev kawm ntawv feem ntau xa cov VLANs li "chaw nres nkoj raws VLANs." Ib tus qub VLAN yuav tsum muaj ib tus neeg khiav dej num los muab qhov chaw nres nkoj rau ntawm qhov kev hloov network mus rau ib lub network. Txawm li cas ntaus ntawv ntxiv mus rau hauv qhov chaw nres nkoj, nws yuav yog ib tug tswv cuab ntawm tib lub pre-assigned virtual network.

Dynamic VLAN configuration pub rau ib tus neeg khiav dej num los txhais cov tswv cuab hauv network raws li tus yam ntxwv ntawm cov khoom siv ntawm lawv tus kheej es tsis yog lawv qhov chaw nres nkoj qhov chaw. Piv txwv li, ib qho VLAN tau muab sau nrog cov npe chaw nyob ( MAC chaw nyob) los yog cov npe ntawm tus account.

VLAN Tagging thiab Standard VLANs

VLAN cim npe rau Ethernet tes hauj lwm raws li IEEE 802.1Q kev lag luam. Ib qho 802.1Q lossis muaj 32 khoom (4 bytes ) ntawm cov ntaub ntawv ntsaws rau hauv lub hau Ethernet. Thawj 16 tshooj ntawm daim teb no muaj cov xov tooj sib tw 0x8100 uas ua rau Ethernet cov cuab yeej kom paub txog tus ncej uas yog 802.1Q VLAN. Lub xeem 12 khoom ntawm daim teb no muaj tus VLAN tooj, tus nab npawb ntawm 1 thiab 4094.

Cov kev coj ua zoo tshaj plaws ntawm VLAN thawj coj txhais ntau hom kev sib txuas ntawm cov haujlwm hauv virtual:

Teem ib VLAN

Nyob rau theem siab, cov thawj saib xyuas network tsim cov VLANs tshiab raws li nram no:

  1. Xaiv ib tus xov tooj VLAN siv tau
  2. Xaiv tus IP chaw nyob ntau rau cov khoom siv ntawm VLAN siv
  3. Configure tus hloov twj nrog ob qho chaw zoo li qub lossis dynamic. Nrig txog kev ruaj ntseg yuav tsum muaj tus neeg khiav dej num los muab tus zauv VLAN rau txhua qhov chaw nres nkoj thaum lub sij hawm ua qhov kev tso cai yuav tsum tau muab cov npe MAC chaw nyob los sis cov usernames mus rau VLAN tus nab npawb.
  4. Configure routing ntawm VLANs raws li tsim nyog. Configuring ob lossis ntau dua VLANs sib txuas lus nrog lwm tus yuav tsum siv ntawm VLAN-paub cov router lossis ib txheej Layer 3 .

Cov cuab yeej ntawm cov cuab yeej thiab cov cim siv sib txawv siv sib txawv nyob ntawm qhov khoom siv.