Computer Network - Priya (Lab Notebook)
Computer Network - Priya (Lab Notebook)
2. Create a LAN using 10 devices with a Switch and use optimal ip 5-7
addressing.
EXPERIMENT-1
Creating a LAN using 3 devices with a Switch
OBJECTIVE:
• Connect 3 End devices with Switch.
• Ping all the devices in the same LAN network.
PREPARATION:
In this activity, we will configure a LAN with 3 end devices
connected to a switch using Cisco packet Tracer. Connect the
end devices with the switch using copper straight-through
cable and set IP for each workstation.
We will verify the connection by pinging the devices in the
same network.
Page |4
EXPERIMENT-2
Creating a LAN using 10 devices with a Switch and using an
optimal IP addressing.
OBJECTIVE:
• Connect 10 End devices with Switch.
• Use Optimal IP addressing.
• Find Subnet Mask, Network Address and Broadcast
Address.
• Ping all the devices in the same LAN network.
PREPARATION:
In this activity, we will configure a LAN with 10 end
devices connected to a switch using Cisco packet Tracer.
Connect the end devices with the switch using copper
Page |6
EXPERIMENT-3
Connect Two different LAN networks with Static Routing.
OBJECTIVE:
• Connect Two different LAN with the help of static
routing.
• Sending packets from one network to another.
PREPARATION:
In this activity, we will configure 2 LAN with 3 end devices
in each of the network connected by the switches and they
are connected to routers. Here we have taken 2 Routers as
for a router one IP address is used in the private LAN and
another for public IP. Here we have connected all the devices
with automatically choose connection type cable.
We will verify the connection by pinging the devices or
sending msg.
Page |9
For Router0
For Router1
EXPERIMENT-4
Create VLAN inside a Network.
OBJECTIVE:
• Create a LAN and virtualize it.
• Try to Ping all the devices before and after virtualization.
PREPARATION:
In this activity, we will first create a LAN with 4 PCs and 1
switch and then virtualizing 2 PCs so that they’ll not be
accessible within the same network then Connecting the end
devices with the switch using copper straight-through cable
and setting the IP.
We will verify the connection by pinging the devices in the
network after and before VLAN configuration.
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with
CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#name office
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#name home
Switch(config-vlan)#exit
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
Switch(config)#interface fastEthernet 0/2
Switch(config-if)#switchport access vlan 2
Switch(config-if)#exit
P a g e | 15
In the above image we can see that we are not getting any
reply from pc3 when pinged by pc0,
While pc1 can be pinged from pc0 as they are in the same
LAN.
REFLECTION:
Why VLAN 1 is not used?
Cause VLAN 1 is default VLAN in switch, By pointing the
cursor on switch you can see, in the port column the last row
is VLAN1.