Professional Documents
Culture Documents
Practical-4
Aim
To perform a practical to provide static routing to router.
Software Used
1. Cisco Packet Tracer (7.0)
2. Ubuntu (16.04 LTS)Operating System
Description
Step 1: create topology shown below using appropite pc,switchs, routers and
CST or CCO wires.
Network 6.0
Network 4.0
Network 5.0
For router0:
1. en
2. config t
3. hostname shivangpatel
4. int gigabitEthernet 0/0
5. ip address 192.168.4.1 255.255.255.0
UTU/CGPIT/IT/SEM-4/Computer Networks
vEnrollment No: 202203103510471
6. no shut
7. int gigabitEthernet 0/1
8. ip address 192.168.6.1
255.255.255.0 9. no shut.
For router1:
1. en
2. config t
3. hostname shivang
4. int gigabitEthernet 0/0/0
5. ip address 192.168.5.1
255.255.255.0
6. no shut
7. int gigabitEthernet 0/0/1
8. ip address 192.168.6.2
255.255.255.0
9. no shut.
Step 3: Now , After assigning ip address to nodes of router it’s time to assign ip address to all
PCs.
We have already done it so many time so now do it yourself.
Step 4: After ip address assignation process completes it’s time to provide static routing to
both routers.
For router0 (host name: shivangpatel):
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No: Dat
Step 5:
Static routing process is now completed it’s time to check result.
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No: Dat
Results and
Conclusion
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No:
Practical - 5
Aim
To perform a practical to create a Topology and configure RIP routing Protocol
Software Used
1. Cisco Packet Tracer (7.00)
2. Ubuntu (16.04 LTS) Operating System
Description
Step 1: Create topology as shofwignurien 1using appropriate devices & connection
wires.
Step 2:Now, As you can see in figure 1 we have to configure routers to provide ip
•Enable
•Cofig t
•Hostname (shivangpatel1,shivangpatel2)
•Int gigabitEthernet 0/0
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No:
•
Ip address 192.168.5.1
•
255.255.255.0 No shut
•
Int gigabitEthernet 0/1
•
Ip address 192.168.7.1
•
255.255.255.0 No shut
Follow the same process for Router2. You have to just replace ip addresses
192.168.5.1 with 192.168.6.1 & 192.168.7.1 with 192.168.7.2.
•Rip
•Network 192.168.5.0
•Network 192.168.7.0
.
.
•N number of networks connected to router.
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No:
Step 4: provide ip Address, subnet mask and default gateway to all devices according to
their network.
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No: 202203103510471 Date:
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No:
Learned how to create a wired topology using router, switch, and PC. The topology is
successfully running and all the PCs are able to communication with each other.
UTU/CGPIT/IT/SEM-4/Computer Networks
Enrollment No:
PRACTICAL– 6
AIM: To perform a practical to create a topology and configure OSPF
routing protocol.
➢
Software Used
✓ Cisco Packet Tracer 8.2.1
✓ Windows 11 Home Single Language Operating System
➢
Description
Step 01. From Device type Selection box, Select End device, now select two generic device
and drag & drop to workspace for network 1 in shown in figure 1. Do this same for
network 2 as shown in below figure 1.
✓
Select two switches and drag & drop to workspace as shown below in figure 1.
✓
Select two Router and drag & drop to workspace and connect both switch to router
with help of Copper Straight Through Cable to Routers GigabitEthernet 0/0/0 and
✓ GigabitEthernet 0/0/1.
✓ Now Connect both Router with help of Copper CrossOver Cable GigabitEthernet 0/0/1
and GigabitEthernet 0/0/1.
Now, connect server with switches as shown in figure 1.
Step 02.
✓
✓
Step
03✓. (Figure 1: Created Topology)
Now Click on Server0 and Open Desktop menu then click on IP Configuration.
✓ Now, Assign Static IP Address 192.168.1.2
Subnet mask 255.255.255.0
✓ Default Gateway 192.168.1.1 to Server0 as shown in Figure 2.
Now Open services tab and select DHCP, and Change
Start IP Address 192.168.1.3
Maximum Number of Users 253, then Click on Services ON and click on Save as
shown in Figure 3.
1
Enrollment No:
2
Enrollment No:
Step 04. Now Click on Server1 and Open Desktop menu then click on IP Configuration.
✓
Now, Assign Static IP Address 192.168.2.2, Subnet mask 255.255.255.0
✓
Default Gateway 192.168.2.1 to Server1 as shown in Figure 4.
Step 05. Now Open services tab and select DHCP, and Change
✓
Start IP Address 192.168.2.3
✓
Maximum Number of Users 253, then Click on Services ON and click on Save as
shown in Figure 5.
3
Enrollment No:
4
Enrollment No:
✓
Run no shut, then exit command as shown in figure 7.
Step Now,
10✓. Run (int gigabitEthernet 0/0/1) command for selecting gigabit port.
Run (ip addresss 192.168.3.2 255.255.255.0) for selecting IP of
✓ 0/0/1 port. Run no shut, then exit command as shown in figure 7.
Now,
Step Run (router ospf 2 then network 192.168.2.0 0.0.0.255 area 0
11✓.
then 0.0.0.255 area 0) command. network 192.168.3.0
✓
Step Now, open all pc of network 1 and network 2, and you can see the DHCP IP was
already assigned to that pc as shown in figure 9.
12. Click on any PC of network 1 and open Desktop then Command prompt, type
ping 192.168.1.4(Destination Address) as shown in figure 10. If you get 0%
Step lost in packet transferring then topology is successful.
13.
5
Enrollment No:
➢ Results
Two end devices (generic devices) have been selected and placed in Network 1 and
✓
Network 2.
6
Enrollment No:
✓
Two switches have been added to each network.
✓
Two routers have been placed and connected to the switches using Copper Straight
Through Cables.
The routers have been interconnected using Copper Crossover Cables.
✓
Servers have been connected to switches.
Static IP addresses have been assigned to Server0 (192.168.1.2) and Server1
✓
(192.168.2.2)
with corresponding subnet masks and default gateways.
✓
DHCP services have been configured on both servers with appropriate start
IP addresses and
maximum number of users.
✓
Router0 has been configured with appropriate IP addresses on its
interfaces, enabled OSPF,
and added network statements.
✓
Router1 has been configured similarly to Router0.
ConcDlHusCiPonIPs have been successfully assigned to PCs in both networks.
✓
Ping test has been conducted from a PC in Network 1 to Server0 (192.168.1.2).
✓
The network topology has been successfully implemented according to the provided
✓
steps.
All devices are properly connected and configured.
➢ DHCP services are functioning correctly, as evidenced by the assigned IPs to the
PCs.
✓ The OSPF configuration on routers indicates that they are ready for dynamic
routing. The successful ping test confirms the connectivity between a PC and
Server0 in
✓
Network 1,
✓ indicating that the network is operational.
Overall, the network setup meets the requirements specified in the instructions.
✓
7
Enrollment No:
PRACTICAL – 7
AIM: To perform a practical to create a topology and configure
VLAN routing protocol.
➢ Software Used
✓Cisco Packet Tracer 8.2.1
✓ Windows 11 Home Single Language Operating System
➢
Description
Step 01. From Device type Selection box, Select End device, now select two
generic device and drag & drop to workspace for VLAN2 in shown in figure
1. Do this same for VLAN3 as shown in below figure 1.
✓
Select switch and drag & drop to workspace as shown below in figure 1.
✓ Connect all generic Device with switch with the help of Copper Straight
Through Cable to Switches fastEthernet 0/1 and 0/2, 0/3 and 0/4.
✓ Now, you can easily transfer packet in LAN without implementing VLAN.
Step 02.
✓
✓
Step 03.
✓ (Figure 1: Created Topology)
✓
Enrollment No:
✓
Subnet Mask 255.255.255.0.
➢Results
✓
PC 0 (192.168.1.2) successfully pings PC 1 (192.168.1.3) since they are both in VLAN 2
✓
(student).
PC 3 (192.168.1.4) successfully pings PC 2 (192.168.1.4) since they are both in VLAN 3
(faculty).
➢
Conclusion
The VLAN configuration has been successfully implemented, segregating the network into
✓
two VLANs: VLAN 2 for students and VLAN 3 for faculty.
By configuring VLANs, network traffic is logically separated, improving security and
✓
network performance.
The ping tests confirm that communication is restricted within their respective VLANs,
demonstrating the effectiveness of VLAN segmentation.
✓
This practical exercise helps in understanding VLAN configuration and its importance in
network management and security.
✓
vEnrollment No: 202203103510471
PRACTICAL – 8
AIM: To perform a practical to configure NAT.
➢
Software Used
Cisco Packet Tracer 8.2.1Windows 11 Home Single Language Operating System
✓
➢
Description
Step First, open the Packet Tracer and create a network topology as shown in the image below,
01. then specify the Inside and Outside fields and add comments to the workspace.
✓
In the topology below, the interface to the Internet is GigabitEthernet0/0 and is selected
as Outside.
Step After specifying and configuring the IP blocks for the topology, add two
02. computers to the workspace and configure the TCP/IP settings.
Enrollment No:
20220310351047
(Figure 2: Configured
PCs)
Step
03. Now, select the Inside and Outside interfaces at the CLI command prompt of Router0 and
perform the following commands to add static records for computers with IP addresses
192.168.1.2 and 192.168.1.3.
Step 04. Now, ping Router2 from computers on the LAN and then check out the NAT
records created on the Router using the show ip nat translations command
in the CLI.
Enrollment No:
20220310351047
PRACTICAL – 9
AIM: Network Utilities – PING, NETSTAT, IPCONFIG, IFCONFIG,
ARP, TRACE-ROUTE.
➢
Ping
o The ping command is used to test connectivity between two hosts. It sends ICMP echo
request messages to the destination. The destination host replies with ICMP reply
messages. If the ping command gets a reply from the destination host, it displays the
reply along with round-trip times. You'll see a "request timed out" message if packet
loss is occurring, and you'll see an error message if your computer can't communicate
with the remote host at all.
oThis tool can help you troubleshoot Internet connection problems, but bear in mind
that many servers and devices are configured not to reply to pings.
oThe ping command uses the following syntax.
p ng dest nat on host Ifl or name
o
The following command tests connectivity between the host computer and
o Google's server.
The following image shows the output of this command.
➢
Netstat
o
This command displays active connections, ports on which the computer is
o listening, Ethernet statistics, the IP routing table, and IP statistics.
The output of this command is organized in rows and columns. Each row represents
a new connection or an entry in the output. It contains four columns. These
columns provide the following information about the row.
▪
Proto: - This column displays the name of the protocol (TCP or UDP).
▪
Local Address: - This column displays the IP address of the local computer
and the port number being used. If the port is not yet established, the port
number is shown as an asterisk (*).
Enrollment No:
▪
Fore ign Address: - This column displays the IP address and port number of
the rem▪ote computer to which the port is connected.
State: - This column displays the status of the connection.
o The following image shows the sample output of this command.
o
Options and parameters:
▪
The following table lists some common options of the netstat command.
□-a: Displays all active TCP connections and the TCP and UDP ports
on which the computer is listening.
□-e: Displays Ethernet statistics, such as the number of bytes and
packets sent and received.
□-n: Displays active TCP connections, however, addresses and port
numbers are expressed numerically, and no attempt is made to determine names.
□-o: Displays active TCP connections and includes the process ID (PID)
for each connection.
□-p: Shows connections for the protocol specified by Protocol. In this
case, the Protocol can be TCP, UDP, tcpv6, or udpv6.
□-s: Displays statistics by protocol. By default, statistics are shown for
the TCP, UDP, ICMP, and IP protocols.
➢
ipcon□fi-gr:/Difiscpolnafyigs the contents of the IP routing table.
o
The ipconfig command is used on Windows, while the ifconfig command is used on
Linux, Mac OS X, and other Unix-like operating systems. These commands allow you to
oconfigure your network interfaces and view information about them.
This command displays all current TCP/IP network configuration values and refreshes
Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS)
settings. This command is mainly used to view the IP addresses on the computers that are
oconfigured to obtain their IP address automatically.
The following image shows the sample output of this command.
vEnrollment No:
202203103510471
➢
Arp
o
To send IP packets, a computer needs two addresses. These addresses are the
MAC address and the IP address. A MAC address is the physical or hardware
address of the NIC. An IP address is the logical or software address of NIC. If a
computer knows the IP address of the destination computer but it does not know
the MAC address of the destination computer, it uses the ARP protocol to know the
o MAC address of the destination computer.
The ARP protocol broadcasts a given IP address over a local network. The
corresponding
o host responds to the broadcast with its MAC address. To avoid repetition, ARP
stores the
answer in a table known as ARP table. ARP maintains a separate ARP table for
each NIC. By default, this command displays the ARP table of the active NIC.
o
If multiple NICs are
installed on the computer, you can use the -a option with this command. If the -a
option is used, the ARP command displays all ARP tables.
The following image shows the output of the arp command when used with the -
a option.
Enrollment No:
➢
Tracert / Traceroute / Tracepath
o
This command is used to diagnose path-related problems. On an IP network, routers
exchange IP packets between the source and the destination. They take IP packets
from the source host and forward them in a sequence until they reach the destination
host. The sequence of routers between the source and destination is known as the
path. A path consists of all routers in a sequence that IP packets sent from the source
host traverse to reach the destination host.
o
The tracert command prints the path. If all routers on the path are functional, this
command prints the full path. If a router is down on the path, this command prints
the path up to the last operational router.
o
The tracert command uses the following syntax.
tracert Dest nat on Name or Ifl address
o
The following command traces the path to the host named www.google.co.in.
tracert www.google.co. n
o
The following image shows the output of this command.
Enrollment No:
➢
Conclusion
Network troubleshooting commands such as Ping, Netstat, ipconfig (ifconfig), ARP, and Tracert
(Traceroute/Tracepath) are essential tools for diagnosing and resolving various network-related
issues. Here's a summary of their functionalities:
✓
Ping: Used to test connectivity between two hosts by sending ICMP echo request
messages. It helps troubleshoot Internet connection problems and packet loss issues.
✓
Netstat: Displays active connections, listening ports, Ethernet statistics, IP routing
table, and IP statistics. It helps in identifying network connections and diagnosing
network issues.
✓
ipconfig / ifconfig: Displays and configures network interfaces, IP addresses, DHCP, and
DNS settings. It's used for viewing and managing TCP/IP network configuration on
different operating systems.
✓
ARP: Resolves IP addresses to MAC addresses on a local network. It maintains an
ARP table mapping IP addresses to MAC addresses, essential for communication
between devices.
✓
Tracert / Traceroute / Tracepath: Traces the path that packets take from the source to
the destination host, showing each router along the way. It helps in identifying network
delays and routing problems.
These commands provide valuable insights into network connectivity, configuration, and
performance, enabling network administrators to effectively troubleshoot and resolve network
issues.
Enrollment No:
PRACTICAL – 10
AIM: Perform a practical to configure TELNET and SSH using cisco
packet tracer.
➢
Software Used
✓
Cisco Packet Tracer 8.2.1
✓ Windows 11 Home Single Language Operating System
➢
Description - TELNET
Step After adding a Cisco Router, Switch, and PC on the Packet Tracer workspace,
01. cabling all devices.
Step Double-click Cisco Router0 to open the CLI prompt and type No to skip the initial
configuration and press Enter.
02. To enable Telnet on the Router, execute the following commands in order.
After configuring the Cisco Router interface, we created a user name and password for
Step the Telnet connection. Before connecting to Cisco Router1, configure the TCP/IP
configuration of PC 0 in the workspace as follows.
03.
S t
04
ep
.
Step 05. Click on the PC, click the Desktop tab, and then click CMD Command Prompt.
✓ At the CMD prompt, type telnet 192.168.1.1 and press Enter to connect to the
device. Enter the user name and password you created during the setup of the
connection.
Enrollment No:
Step 02. Open the CLI prompt by clicking on the Main Router and press Enter to skip the
initial configuration.
Step 03. To enable SSH on the router, perform the following commands in order.
Step To quickly configure the Router 1’s interface, double-click on it, click the Config tab in
05. the window that opens, and then configure the Port Status option of the
GigabitEthernet0/0 interface to On, then assign the IP address.
Enrollment No:
Step To test whether SSH is running, open the PC1 prompt and establish a
06. connection using the command below.
Enter the user name and password you created, and as soon as you press Enter, the
Step connection will be established as in the image below
After executing the show ssh command on PC 0 Command Prompt, you can check the
07. version of the SSH protocol that is linked.
In this step, execute the following command to make SSH from router to router.
Step In the same way, enter the user account information you created on the Cisco Router and
press Enter.
08.
Step
09.
S t ep
10 .
Enrollment No: