VLAN concepts and benefits
Split broadcast domains
(1) Physical segmentation: Router
(2) Logical Segmentation: dividing a plurality of VLAN on a switch, each VLAN is a broadcast domain.
VLAN technology
(1) Broadcast Control
(2) to enhance network security
(3) simplify network management
VLAN species
(2) static VLAN, Port-based static VLAN. VLAN may comprise a plurality of ports, one port can only belong to one VLAN
(2) a dynamic VLAN, MAC address-based VLAN dynamic
Static VLAN Configuration
The VLAN range of
the step of configuring a static VLAN
(1) Create a VLAN
(2) is added to the ports of the switch corresponding to the VLAN
(3) Verify the VLAN configuration
(2) is added to the ports of the switch corresponding to the VLAN
(3) Verify VLAN configuration
to create a VLAN
Both methods create VLAN
(. 1) VLAN database configuration mode
(2) Global Mode
simultaneously a plurality of ports to the VLAN
access link and relay link
access link: access terminal PC, data corresponding VLAN only run
relay link: access to other network devices (switches, routers, etc.), can run all the data VLAN
trunk command ...
Experiments
in GNS3 simulator, according to the following topology, based on the switch sw1 and sw2 respectively VLAN10, VLAN20, the PC1, PC3 into VLAN10, the PC2, PC4 into VLAN20, interoperability and the PC1 and PC3, PC2, and PC34 exchange
1 provided corresponding to the IP address of the PC
2, open sw1, sw2 and establish VLAN10, VLAN20, the corresponding computer port into sw1
. 3, connected sw1 and sw2 provided in the trunk link to create an interface
4, all the setting is completed, whether to use the ping command to test PC interoperability
PC1pingPC3 success
PC2pingPC4 success