VLAN is a can be a 2 -layer network is divided into a plurality of virtual local area network broadcast domain. It can effectively prevent broadcast storms, improve network security, simplifies network management.
Next we will be configured on GNS3 VLAN to divide different users broadcast domain to multiple broadcast domains.
First, a new in GNS3 C3725 devices, add 2 layer service board, and set a disk size.
Name and modify the device's icon
3 new VPC devices, respectively, and a network cable SW is connected to all the click open
Now we set the PC1's IP is 192.168.10.10
PC2's IP is 192.168.10.20
PC3's IP is 192.168.10.30
This 3 IP on the same network segment, if not, you can communicate VLAN classification
Double-SW, the input command into the global schema no ip routing routing function off
IP addresses are now configured to PC1,2,3
Now we use it to ping PC1 and PC2 PC3 see whether they can communicate
3 users is interoperability, a test environment to meet, now configure VLAN
Enter the global sw mode, enter the command VLAN 10,20 establish two VLAN, and enter do show vlan-switch brief in the global mode to see if the success of the establishment
After establishing a successful, we have to divide the port to the corresponding VLAN.
First enters the interface mode f1 / 0, the command input switchport mode access into the access link, and then enter the command switchport access vlan 10 put f1 / 0 to divide the VLAN10
f1 / 0 configuration is successful. Then say f1 / 1 and f1 / 2 to the configuration in VLAN20
After all configuration is complete, we can use PC1 to PC3 and see if we can connect pingPC2
Unable to connect, and then we come pingPC3 PC2
connection succeeded.
This description PC2 and PC3 in the same broadcast domain, PC1 and PC2,3 but not in the same broadcast domain, VLAN success will draw the same segment of three to two users do not broadcast domain.