LAB 2

COMPUTER NETWORKING 2

SWITCH

A switch, also called a multiport bridge, connects more than two end devices together. Each switch port is a collision domain. The following switches are available in Packet Tracer:

We are using the below switch :-

Cisco 2960-24TT: This is another 24 port switch; the previous switch has Gigabit Interface Converter (GBIC) for Gigabit Ethernet ports, whereas this switch has Small Form-factor Pluggable (SFP) modules for the same. Note that this is a difference only on real switches, it has no impact on Packet Tracer.


4 PC IN DIFFERENT VLAN CREATING TWO DIFFERENT NETWORKS

COMMANDS OF SWITCH

Enable-To get into privilleged exec mode in CLI.
Config t-To enter into Global configuration mode
VLAN -To enter into interfaceconfiguration
Name -To change network name
Exit-To exit above modes

Creating a second VLAN using a switch:-

ENTER THE BELOW CODE CLI OF SWITCH:-

Switch>enable

Switch#config t

Switch(config)#VLAN 2

Switch(config-VLAN)#name cce

Switch(config-exit)


PING TIMED OUT AS PC ARE NOT ON SAME VLAN

PING REPLY AS PC IS ON THE SAME NETWORK