CN Amitt Merged
CN Amitt Merged
TECHNOLOGY
COMPUTER NETWORK
(KCS-653)
Submitted by:
Amit Maurya
Roll No- 2101650100019
Session 2023-24
Submitted to:
Mr. Balram Sharma
(Assistant Professor)
Department of Computer Science & Engineering
Mission
M1: To impart high quality education in the science of computing.
M2: To prepare educated and skilled computer professionals.
M3: To create excellence by providing comprehensive knowledge of the
latest tools and technologies in the domain of computer science, so that
students strive to become leaders.
M4: To inculcate ethical values in students so that they understand their
responsibility towards the nation with focus on upliftment of all sections of
society.
M5: To facilitate establishment of research centers and encourage students
to solve complex technological problems.
Program Educational Objectives
PEO1: Make valuable contributions to design, development and production
in the practice of computer science and engineering in related engineering
areas or application areas, and at the interface of computers and physical
systems.
PSO2: Ability to design and develop software for web based and mobiles
androids under real world environment.
Apparatus (Software): NA
As show in figure we teach how the IP addresses are classified and when they are used.
• Sub Netting
Why we Develop sub netting and How to calculate subnet mask and how to identify subnet address.
• Super Netting
Why we develop super netting and How to calculate supernet mask and how to identify supernet address.
EXPERIMENT- 2
8. Under Internet Connection Sharing, select the Allow other network users to connect
through this computer's Internet connection check box.
9. If you are sharing a dial-up Internet connection, select the Establish a dial-up connection
whenever a computer on my network attempts to access the Internet check box if you
want to permit your computer to automatically connect to the Internet.
When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP address
192.168.0.1. Your computer may lose connectivity with other computers on your network. If
these other computers have static IP addresses, it is a good idea to set them to obtain their IP
addresses automatically. Are you sure you want to enable Internet Connection Sharing?
The network adapter that is connected to the LAN is configured with a static IP address of
192.168.0.1 and a subnet mask of 255.255.255.0
To connect to the Internet by using the shared connection, you must confirm the LAN adapter
IP configuration, and then configure the client computer. To confirm the LAN adapter IP
configuration, follow these steps:
Note: You can also assign a unique static IP address in the range of 192.168.0.2 to
192.168.0.254. For example, you can assign the following static IP address, subnet mask, and
default gateway:
8. IP Address 192.168.31.202
9. Subnet mask 255.255.255.0
10. Default gateway 192.168.31.1
11. In the Local Area Connection Properties dialog box, click OK.
Objectives:
• Connect a switch to the network.
• Verify the configuration on the switch
Background / Preparation:
In this activity, you will verify the configuration on the customer Cisco Catalyst 2960 switch. The switch
is already configured with all the basic necessary information for connecting to the LAN at the customer
site. The switch is currently not connected to the network. You will connect the switch to the customer
workstation, the customer server, and customer router. You will verify that the switch has been connected
and configured successfully by pinging the LAN interface of the customer router.
Topology Diagram:
a. Using the proper cable, connect the FastEthernet0/0 on Customer Router to the Fast Ethernet0/1 on
Customer Switch.
b. Using the proper cable, connect the Customer PC to the Customer Switch on port FastEthernet0/2.
c. Using the proper cable, connect the Local Server to the Customer Switch on port FastEthernet0/3.
a. From the Customer PC, use the terminal emulation software to connect to the console of the
customer Cisco Catalyst 2960 switch.
b. Use the console connection and terminal utility on the Customer PC to verify the configurations.
Use cisco as the console password
c. Enter privileged EXEC mode and use the show running-config command to verify the following
configurations. The password is cisco123
d. Verify IP connectivity between the Cisco Catalyst 2960 switch and the Cisco 1841 router by
initiating
e. Click the Check Results button at the bottom of this instruction window to check your work.
Reflection
a. What is the significance of the enable secret command compared to the enable password?
b. If you want to remove the requirement to enter a password to access the console, what commands
do you issue from your starting point in privileged EXEC mode?
EXPERIMENT-4
Objectives:
Configure static routes on each router to allow communication between all clients.
Test connectivity to ensure that each device can fully communicate with all other devices.
Background / Preparation :
This topology represents a small WAN. Each device in this network has been configured with
IP addresses; however, no routing has been configured. The company management wants to use
static routes to connect the multiple networks.
Topology Diagram:
Step-1: Test connectivity between the PC’s and the default gateway.
To determine if there is connectivity from each PC to its configured gateway, first use a simple ping
test.
a. Click BOpc and go to Desktop > Command Prompt.
b. From the command prompt, type the ipconfig command. Note the IP address for
BOpc and the default gateway address. The default gateway address is the IP address
for the Fast Ethernet interface on BranchOffice.
c. Ping 192.168.1.1, the default gateway address for the BranchOffice LAN, from the
command prompt on BOpc. This ping should be successful.
d. Click PNpc and go to Desktop > Command Prompt.
e. From the command prompt, type the ipconfig command. Note the IP address for
PNpc and the default gateway address. The default gateway address is the IP address
for the Fast Ethernet interface on PartnerNet.
f. Ping 192.168.3.1, the default gateway address for the PartnerNet LAN, from the
command prompt on PNpc. This ping should be successful.
g. Repeat steps a, b, and c for MOpc and its respective default gateway, the Fast
Ethernet interface on MainOffice. Each of these ping tests should be successful.
a. Test connectivity with MainOffice by pinging 10.10.10.1, the IP address of the directly connected
serial 3/0 interface. This ping should succeed.
b. Test connectivity with MainOffice by pinging 10.10.10.5, the IP address of the serial 2/0 interface.
This ping should fail.
c. Issue the show ip route command from the terminal window of BOpc. Note that only directly
connected routes are shown in the BranchOffice routing table. The ping to 10.10.10.5 failed
because the BranchOffice router has no routing table entry for 10.10.10.5.
d. Issue the show ip route command from the terminal window of BOpc. Note that only directly
connected routes are shown in the BranchOffice routing table. The ping to 10.10.10.5 failed
because the BranchOffice router has no routing table entry for 10.10.10.5.
e. What steps must be taken to reach all the networks from any PC in the activity?
You can view routing tables in Packet Tracer using the Inspect tool. The Inspect tool is in the Common Tools
bar to the right of the topology. The Inspect tool is the icon that appears as a magnifying glass.
To configure static routes for each router, first determine which routes need to be added for each device. For the
BranchOffice and the PartnerNet routers, a single default route allows these devices to route traffic for all
networks not directly connected. To configure a default route, you must identify the IP address of the next hop
router, which in this case is the MainOffice router.
a. From the Common toolbar, click the Select tool.
b. Move the cursor over the red serial link between the BranchOffice router and the MainOffice
router. Notice that the interface of the next hop is S3/0.
c. Move the cursor over the MainOffice router and note that the IP address for Serial 3/0 is
10.10.10.1.
d. Move the cursor over the red serial link between the PartnerNet router and the MainOffice router.
Notice that the interface of the next hop is S2/0.
e. Move the cursor over the MainOffice router and note that the IP address for Serial 2/0 is
10.10.10.5.
f. Configure the static routes on both the BranchOffice and PartnerNet routers using the CLI. Click
the BranchOffice router, and click the CLI tab.
g. At the BranchOffice> prompt, type enable to enter privileged EXEC mode.
h. At the BranchOffice# prompt, type configure terminal.
i. The syntax for a default route is ip route 0.0.0.0 0.0.0.0 next_hop_ip_address. Type ip route
0.0.0.0 0.0.0.0 10.10.10.1.
The configuration of static routes at the Main Office is a bit more complex because the MainOffice router is
responsible for routing traffic to and from the Branch Office and PartnerNet LAN segments.
The MainOffice router knows only about routes to the 10.10.10.0/30, 10.10.10.4/30, and 192.168.2.0/24
networks because they are directly connected. Static routes to the 192.168.1.0/24 and 192.168.3.0/24 networks
need to be added so that the MainOffice router can route traffic between the networks behind the BranchOffice
and PartnerNet routers.
a. Click the MainOffice router, and then click the CLI tab.
b. At the MainOffice> prompt, type enable to enter privileged EXEC mode.
c. At the MainOffice# prompt, type configure terminal.
d. The syntax for a static route is ip route network subnet_mask next_hop_ip_address:
Now that each router in the topology has static routes configured, all hosts should have connectivity to all other
hosts. Use ping to verify connectivity.
a. Click BOpc and click the Desktop tab.
b. Choose the Command prompt option.
c. Type ping 192.168.3.2. The ping should be successful, verifying that the static routes are configured
properly.
d. Type ping 192.168.2.2. Notice that the result is successful even though you did not specifically add
the 192.168.2.0 network as a static route into any of the routers. Because a default route was used on
the BranchOffice and PartnerNet routers, a route for the 192.168.2.0 network was not needed. The
default route sends all traffic destined off network to the MainOffice router. The 192.168.2.0
network is directly connected to the MainOffice router; therefore, no additional routes needed to be
added to the routing table
e. Click the Check Results button at the bottom of this instruction window to check your work.
EXPERIMENT- 5
Procedure:
To do these practical following steps should be done:
1. Start by stripping off about 2 inches of the plastic jacket off the end of the cable. Be very
careful at this point, as to not nick or cut into the wires, which are inside. Doing so could alter
the characteristics of your cable, or even worse render is useless. Check the wires, one more
time for nicks or cuts. If there are any, just whack the whole end off, and start over.
2. Spread the wires apart, but be sure to hold onto the base of the jacket with your other
hand. You do not want the wires to become untwisted down inside the jacket. Category 5
cable must only have 1/2 of an inch of 'untwisted' wire at the end; otherwise it will be 'out of
spec'. At this point, you obviously have ALOT more than 1/2 of an inch of un-twisted wire.
3. You have 2 end jacks, which must be installed on your cable. If you are using a pre-made
cable, with one of the ends whacked off, you only have one end to install - the crossed over
end. Below are two diagrams, which show how you need to arrange the cables for each type
of cable end. Decide at this point which end you are making and examine the associated
picture below
EXPERIMENT- 6
Topology Diagram:
Objectives:
Background/Preparation:
In this activity, you will subnet the private address space 192.168.1.0/24 to provide enough
host addresses for the two LANs attached to the router. You will then assign valid host
addresses to the appropriate devices and interfaces. Finally, you will test connectivity to
verify your IP address implementation.
a. You are given the private address space 192.168.1.0/24. Subnet this address
space based on the following requirements:
LAN-A needs enough addresses for 50 hosts.
LAN-B needs enough addresses for 40 hosts.
How many bits must be left for host addresses? _____
How many bits can now be taken from the host portion to make a subnet? _____
How many hosts does each subnet support? _____
How many subnets are created? _____
What is the new subnet mask? ______________________________
Step 2: Assign host addresses to devices.
What is the subnet address for subnet 0? ______________________________
What is the subnet address for subnet 1? ______________________________
Assign subnet 0 to LAN-A, and assign subnet 1 to LAN-B.
What is the first address in subnet 0? ______________________________
This address is assigned the FastEthernet0/0 interface on Customer Router.
What is the first address in subnet 1? ______________________________
This address is assigned the FastEthernet0/1 interface on Customer Router.
What is the last address in subnet 0? ______________________________
This address is assigned to HostA.
What is the last address in subnet 1? ______________________________
This address is assigned to HostB.
What is the default gateway for HostA? ______________________________
What is the default gateway for HostB? ______________________________
b. Click HostB. On the Desktop tab, choose IP Configuration. Enter the correct
addressing for HostB according to your answers in Step 1 and Step 2
c. . Check results. On the Assessment Items tab, your configurations for HostA
and HostB should have green checkmarks. If not, read the provided feedback
for a hint on how to correct the problem.
Note: If you cannot see all the feedback, place your mouse pointer over the
right side of the Activity
Results window. When the cursor turns into a double-headed arrow, click and
drag to resize the window until you can see all the feedback text.)
Configure the LAN interfaces on Customer Router with IP addresses and a subnet mask.
Check results. On the Assessment Items tab, your configurations for Customer Router should
have green checkmarks. If not, read the provided feedback for a hint on how to correct the
problem.
b. Check results. On the Connectivity Tests tab, the status of each test should be
successful
Reflection
a. How many subnets are still available for future expansion?
b. What would be the two subnet addresses if the host requirement was 80 hosts per
LAN?
c. Challenge: Create your own Packet Tracer network using the same topology, but
implement an addressing scheme based on 80 hosts per LAN. Have another
student or your instructor check your work
EXPERIMENT-7
Objectives
Configure the customer Cisco 1841 ISR as a DHCP server.
Background / Preparation
In this activity, you will continue to configure the Cisco 1841 ISR router for the customer network by
configuring the DHCP service. The customer has several workstations that need to be automatically configured
with IP addresses on the local subnet and appropriate DHCP options to allow access to the Internet.
The DHCP pool will use the 192.168.1.0/24 network but the first 49 addresses are excluded. The default
gateway and DNS server also need to be configured as 192.168.1.1 and 192.168.1.10.
For this activity, both the user and privileged EXEC passwords are cisco.
Note: Packet Tracer does not currently support the domain name and lease period options. These options are not
used in this activity.
CustomerRouter(dhcp-config)#dns-server 192.168.1.10
CustomerRouter(dhcp-config)#default-router 192.168.1.1
CustomerRouter(dhcp-config)#exit
CustomerRouter(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.49
Reflection
a. What is the purpose of DHCP on the customer network?
c. What other DHCP options can be defined on the Cisco 1841 ISR router that are not
configured in this activity?
EXPERIMENT-8
Objectives
Configure a LAN Ethernet interface.
Configure a WAN serial interface.
Verify the interface configurations.
Background / Preparation
In this activity, you will configure the LAN Ethernet interface and the WAN serial interface on the Customer
Cisco 1841 router.
CustomerRouter(config-if)#no shutdown
CustomerRouter(config-if)#end
Use the show ip route command to verify your configuration. This is a partial example of the output.
CustomerRouter#show ip route
<output omitted>
CustomerRouter#show run
...
!
interface FastEthernet0/0
description Connected to CustomerSwitch
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/1/0
description Connected to ISP
ip address 209.165.200.225 255.255.255.224
!
Use the ping command to verify connectivity to the WAN interface on the ISP router. This is a partial example
of the output.
CustomerRouter#ping 209.165.200.226
Use the ping command to verify connectivity to the customer switch. This is a partial example of the output.
CustomerRouter#ping 192.168.1.1
b. Click the Check Results button at the bottom of this instruction window to check your work.
Reflection
a. When you ping the LAN IP address of the ISP router, what happens and why?
b. Which of the following Cisco ISO CLI modes do you need to be in to configure the description of
an interface?
CustomerRouter#
CustomerRouter>
CustomerRouter(config)#
CustomerRouter(config-if)#
c. You configured the Fast Ethernet 0/0 interface with the no shutdown command and
verified the configuration. However, when you rebooted the router, the interface was
shutdown. You reconfigured the Fast Ethernet 0/0 interface and verified that the
configuration works. Explain what most likely happened.
EXPERIMENT-9
Aim: Examining WAN Connections
Objective
The show commands are very powerful commands for troubleshooting and monitoring networks. They
give a static image of the network at a given time. The use of a variety of show commands will give a
clear picture of how the networking is communicating and transferring data.
Background / Preparation
The physical topology of the network has been designed using Frame Relay. To test the network
connectivity, use a variety of show commands.
a. Click on Branch1 and use various show commands to view the connectivity to the network.
b. Use the show running-configuration command to view the router configuration.
c. Use the show ip interface brief command to view the status of the interfaces.
d. Use the various show frame-relay map, show frame-relay pvc, and show frame-relay lmi
commands to see the status of the Frame-relay circuit.
e. Click on Branch 2 and use various show commands to view the connectivity to the network.
f. Use the show running-configuration command to view the router configuration.
g. Use the show ip interface brief command to view the status of the interfaces.
h. Use the various show frame-relay map, show frame-relay pvc, and show frame-relay lmi
commands to see the status of the Frame-relay circuit.
Step 2: Examine the configuration of Main.
a. Click on Main and use a variety of show commands to view the connectivity to the network.
b. Use the show running-configuration command to view the router configuration.
c. Use the show ip interface brief command to view the status of the interfaces.
d. To view the status of the frame-relay configurations use the show frame-relay lmi, show frame-
relay map, and show frame-relay pvc commands.
Reflection
b. What beneficial information can be obtained from the various show commands?
______________________________________________________________________________
______________________________________________________________________________
____