The concept of Virtual LANs
Before understanding the Virtual LAN, a specific understanding of the definition of a LAN is required. A LAN includes all devices in the same broadcast domain. A broadcast domain includes a group of network devices that are connected in a LAN network can send a broadcast frame, and all the other devices in the same LAN segment will receive a copy of the frame. so it could be said that a LAN network and a broadcast domain in principle is the same thing.
Before understanding the Virtual LAN, a specific understanding of the definition of a LAN is required. A LAN includes all devices in the same broadcast domain. A broadcast domain includes a group of network devices that are connected in a LAN network can send a broadcast frame, and all the other devices in the same LAN segment will receive a copy of the frame. so it could be said that a LAN network and a broadcast domain in principle is the same thing.
Source:
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name utara
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name selatan
Switch(config-vlan)#ex
Switch(config)#int f0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int f0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int f0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#e
Switch(config)#int f0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#ex
Switch>en
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name utara
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name selatan
Switch(config-vlan)#ex
Switch(config)#int f0/1
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int f0/2
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#ex
Switch(config)#int f0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#e
Switch(config)#int f0/4
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#ex
Note:
PC0 , PC1 group name/ID: VLan 10 / UTARA
PC2 , PC3 group name/ID: VLan 20 / SELATAN
0 comments:
Post a Comment