Description:
In computer networking, a single layer-2 network may be partitioned to create multiple distinct broadcast
domains, which are mutually isolated so that packets can only pass between them
via one or more routers; such a domain is referred
to as a Virtual Local Area Network, Virtual LAN or VLAN.
Solution:
The given topology is:
Steps:
Configuring steps for PC0:
Ip address: 10.0.0.1
Subnet
mask: 255.255.255.0
Configuring steps for PC1:
Ip address: 10.0.0.2
Subnet
mask: 255.255.255.0
Configuring steps for PC2:
Ip address: 10.0.0.3
Subnet
mask: 255.255.255.0
Configuring steps for PC3:
Ip address: 10.0.0.4
Subnet
mask: 255.255.255.0
Configuring steps for PC4:
Ip address: 10.0.0.5
Subnet
mask: 255.255.255.0
Configuring steps for switch0:
Switch>enable
Switch#config
terminal
Switch(config)#vlan
2
Switch(config-vlan)#name
sales
Switch(config-vlan)#interface
range fa0/1 – fa0/2
Switch(config-if-range)#
switchport mode access
Switch(config-if-range)#switchport
access vlan 2
Switch(config-if-range)#exit
Switch(config)#exit
Output:
Verifying VLAN’S in CLI mode of switch0
No comments:
Post a Comment