Docsity

Creating and Configuring VLANs: Logical Networking Group for Users or Services, Assignments of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
VLANs (Virtual Local Area Networks)
A VLAN is a logical group of networking which is created as per
users or services.
Increasing the number of Broadcast domains , while decreasing the
size of it
192.168.1.0/24 – 192.168.1.255/24 = 256
First network = 128 ips Second network = 128 ips
192.168.1.0 – 192.168.1.127 -
192.168.1.128 – 192.168.1.255
All switches have only 1 VLAN by default
Verification Command
Switch# show vlan
pf3
pf4
pf5

Partial preview of the text

Download Creating and Configuring VLANs: Logical Networking Group for Users or Services and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

VLANs (Virtual Local Area Networks)  A VLAN is a logical group of networking which is created as per users or services.  Increasing the number of Broadcast domains , while decreasing the size of it  192.168.1.0/24 – 192.168.1.255/24 = 256  First network = 128 ips Second network = 128 ips  192.168.1.0 – 192.168.1.127 -  192.168.1.128 – 192.168.1.  All switches have only 1 VLAN by default Verification Command Switch# show vlan

VLAN Name Status Ports


1 default active Fa0/1, Fa0/2, Fa0/3, …, Fa0/ 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active  We can create VLANs from 2-1001 manually. VLAN Configuration

Sw(config-vlan)#name HR Sw(config-vlan)#exit Sw(config)# vlan 3 Sw(config-vlan)#name SALES Sw(config-vlan)#exit Step 2 – Assigning switchports to the VLANs Sw(config)#int fa 0/ Sw(config-if)# switchport mode access Sw(config-if)#switchport access vlan 2 Sw(config-if)#exit Sw(config)#int fa 0/

Sw(config-if)# switchport mode access Sw(config-if)#switchport access vlan 2 Sw(config-if)#exit  We can assign a range of ports to a vlan by using the below commands; Sw(config)#int range fa 0/4- Sw(config-if)# switchport mode access Sw(config-if)#switchport access vlan 3 Sw(config-if)#exit Step 3 – Trunk-link Configuration Sw(config)# int fa 0/

R(config)# int fa 0/0. R(config-subif)# encapsulation dot1q 2 R(config-subif)# ip add 192.168.1.1 255.255.255. R(config-subif)# exit R(config)# int fa 0/0. R(config-subif)# encapsulation dot1q 3 R(config-subif)# ip add 192.168.2.1 255.255.255. R(config-subif)# exit