2020UIN3322 (Rohit Kumar) Network File

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 97

NETWORK AND NETWORKING

DEVICES WORKSHOP
Practical File
Course Code : INITC 19

Submitted By -
Name: Rohit Kumar
Roll no.: 2020UIN3322
Branch: ITNS
Semester: 6th
Academic Year: 2022-23

ROHIT KUMAR (2020UIN3322) ■


INDEX
SNO. NAME Page No. SIGNATURE
1 To familiarize with the Lab Network
Topology. Locating different
3-7
interfaces, routers and switches.
Studying different pools of IP
addresses.
2 Establish a straight LAN configuration
using 7-24
i. hub
ii. switch
iii. router
3 Document a basic network using
hub, switch and router in one 24-29
network.
4 Document a basic network using 3
routers in a LAN configuration. 30-37
5 Implement static routing in a 38-46
network.
6 Implement dynamic routing in a 47-55
network.
7 Explore the working of netstat, ping
and traceroute command. Debugging 56-58
the network to find down links.
8 Establish a VLAN configuration. 59-64
9 Observe the working of IP protocol.
Exploring the routing tables for
65-66
different
routers.
10 Implement routing protocols:
• RIP vl and v2 protocol
67-81
• BGP routing protocol
• EIGRP routing protocol
11 Implement the routing protocols in
order to monitor traffic loads.
82-85

12 Set-up a TFTP server to back-up IOS


images. 86-90

ROHIT KUMAR (2020UIN3322) ■


PRACTICAL-1
To familiarize with the Lab Network Topology. Locating different
interfaces, routers and switches. Studying different pools of IP
addresses.

Router- A Router is a networking device that forwards data packets between computer networks.
This device is usually connected to two or more different networks. When a data packet comes to a
router port, the router reads address information in the packet to determine which port the packet will
be sent. For example, a router provides you with internet access by connecting your LAN with the
Internet. When a packet arrives at a Router, it examines the destination IP address of a received
packet and makes routing decisions accordingly. Routers use Routing Tables to determine which
interface the packet will be sent. A routing table lists all networks for which routes are known. Each
router's routing table is unique and stored in the RAM of the device.

In a lab network topology, different routers can include:

1. Basic Router: A basic router is a device that connects multiple networks together, and it is
responsible for forwarding data packets between those networks. They are typically located in a
central location, such as a data center or a network closet, and are usually connected to
multiple networks through interfaces. They can be managed through a web-based interface, or
through a command-line interface, such as Telnet or SSH session.
2. Advanced Router: An advanced router is a router that has more advanced routing capabilities
than a basic router. They can be used to segment large networks into smaller subnets and also
provide features like VPN, QoS, and Firewall. They are typically located in a central location,
such as a data center or a network closet, and are usually connected to multiple networks
through interfaces. They can be managed through a web-based interface, or through a
command-line interface, such as Telnet or SSH session.
3. Wireless Router: A wireless router is a router that includes a built-in wireless access point. It
allows users to connect to the network wirelessly, eliminating the need for wired connections.
They can also provide DHCP services and firewall protection. They are typically located in a
central location, such as a data center or a network closet, and are usually connected to
multiple networks through interfaces. They can be managed through a web-based interface, or
through a command-line interface, such as Telnet or SSH session.
4. VPN Router: A VPN router is a router that includes built-in VPN capabilities. It allows remote
users to connect to the network securely over the internet using a VPN connection. They are
typically located in a central location, such as a data center or a network closet, and are
usually connected to multiple networks through interfaces. They can be managed through a
web based interface, or through a command-line interface, such as Telnet or SSH session.

ROHIT KUMAR (2020UIN3322)



5. Multi-function Router: A multi-function router is a router that includes multiple features in one
device, such as routing, VPN, firewall, and wireless capabilities. It allows users to have multiple
functionalities with a single device, which is more cost-effective and easier to manage. They
are typically located in a central location, such as a data center or a network closet, and are
usually connected to multiple networks through interfaces. They can be managed through a
web based interface, or through a command-line interface, such as Telnet or SSH session.

In summary, different routers in a lab network topology can include basic routers, advanced routers,
wireless routers, VPN routers, and multi-function routers. Each of these routers serves a unique
purpose and can be used to connect different types of devices to the network, or to help in routing
and switching of data packets.

Switches-Aswitch is a multiport bridge with a buffer and a design that can boost its efficiency(a
large number of ports imply less traffic) and performance. A switch is a data link layer device. The

switch can perform error checking before forwarding data, which makes it very efficient as it does not

forward packets that have errors and forward good packets selectively to the correct port only. In

other words, the switch divides the collision domain of hosts, but the broadcast domain remains the

same.

In a lab network topology, different switches can include:

1. Unmanaged Switch: An unmanaged switch is a basic switch that does not have an interface for
configuration. They are typically used in small networks where the number of devices is limited
and the network is not complex. They can be used to connect different types of devices such as
computers, printers, and servers, to the network. They are typically located in a central location,
such as a network closet.
2. Managed Switch: A managed switch is a switch that has an interface for configuration. They are
typically used in larger networks where the number of devices is high and the network is more
complex. They can be used to connect different types of devices such as computers, printers,
and servers, to the network. They can also be used to segment large networks into smaller
subnets, and provide features like VLAN, QoS, and Link Aggregation. They are typically located
in a central location, such as a network closet.
3. Layer 2 Switch: A layer 2 switch is a switch that operates at the Data Link Layer of the OSI
model. They are typically used in smaller networks where the number of devices is limited and
the network is not complex. They can be used to connect different types of devices such as
computers, printers, and servers, to the network. They are typically located in a central
location, such as a network closet.


4. Layer 3 Switch: A layer 3 switch is a switch that operates at both the Data Link Layer and the
Network Layer of the OSI model. They are typically used in larger networks where the number
ROHIT KUMAR (2020UIN3322)
of devices is high and the network is more complex. They can be used to connect different
types of devices such as computers, printers, and servers, to the network. They can also be
used to segment large networks into smaller subnets and provide routing capabilities. They are
typically located in a central location, such as a network closet.
5. Stackable Switch: A stackable switch is a switch that can be stacked with other switches to
form a single logical switch. This allows for increased port density and easier management.
They are typically used in larger networks where the number of devices is high and the network
is more complex. They can be used to connect different types of devices such as computers,
printers, and servers, to the network. They are typically located in a central location, such as a
network closet.

In summary, different switches in a lab network topology can include unmanaged switches, managed
switches, layer 2 switches, layer 3 switches and stackable switch. Each of these switches serves a
unique purpose and can be used to connect different types of devices to the network and to help in
the routing and switching of data packets.

IP address -All the computers of the world in the Internet network communicate with each other
with underground or underwater cables or wirelessly. If I want to download a file from the internet or
load a web page or literally do anything related to the internet, my computer must have an address
so that other computers can find and locate mine in order to deliver that particular file or webpage
that I am requesting. In technical terms, that address is called IP Address or Internet Protocol Address.

#DIFFERENT POOLS OF IP ADDRESSES


There are several different pools of IP addresses that are used for different purposes. These include:

1. IPv4 addresses: IPv4 is the most widely used version of IP addresses, it uses 32-bit addresses
and is represented in a dot-decimal notation, such as 192.168.1.1. Each octet (or group of 8
bits) in an IPv4 address is represented by a decimal number between 0 and 255, separated by
a dot. IPv4 addresses are divided into two parts: the network part and the host part. The
network part identifies the network that the host is on, and the host part identifies the specific
host within that network. This is done by using a subnet mask, which defines which portion of
the address represents the network and which portion represents the host.
2. IPv6 addresses: IPv6 is the newer version of IP addresses, it uses 128-bit addresses and is
represented in a colon-hexadecimal notation, such as
2001:0db8:85a3:0000:0000:8a2e:0370:7334. Each 16-bit block in an IPv6 address is represented
by a hexadecimal number, separated by a colon. IPv6 addresses have a much larger address
space than IPv4 addresses, which allows for many more devices to be connected to the internet.
3. Private IP addresses: These are IP addresses that are not publicly routable on the internet, but
can be used within a private network. They are often used for internal networks, such as in
homes or businesses. Examples of private IP addresses include 192.168.x.x and 10.x.x.x.

ROHIT KUMAR (2020UIN3322)


4. Public IP addresses: These are IP addresses that are publicly routable on the internet. They are
assigned by internet service providers (ISPs) and are used to identify devices that need to
connect to the internet. Public IP addresses are unique and can be used to identify a specific
device on the internet.
5. Special-purpose IP addresses: These are IP addresses that are reserved for special uses.
Examples include multicast addresses, loopback addresses, and link-local addresses.
6. Reserved IP addresses: There are certain ranges of IP addresses that are reserved for specific
uses, such as for testing, research, or other special purposes. These ranges are not intended
for general use and are not assigned to specific organizations or individuals.
7. Dynamic IP addresses: These are IP addresses that are assigned to a device on a network on
an as-needed basis. They are commonly used in residential and business networks to
conserve IP addresses. This is done by assigning a device a new IP address each time it
connects to the network, rather than reserving a static IP address for it.

It's important to note that the availability of IP addresses is limited, and many organizations and
individuals are working to conserve IP addresses and transition to 1Pv6 as 1Pv4 addresses are
becoming scarce.

In a lab network topology, different interfaces can include:

1. Ethernet interfaces: These are physical interfaces that use the Ethernet protocol to transmit
data. They are typically connected to other devices using Ethernet cables, and are usually
labeled with the type of interface, such as "Ethernet" or "Gigabit Ethernet." Ethernet interfaces
can be used to connect devices such as computers, servers, and switches to the network.
2. Serial interfaces: These are physical interfaces that use serial communication to transmit
data. They are typically used to connect devices such as routers and modems, and can be
used to establish a point-to-point connection between two devices. Serial interfaces are
typically labeled with the type of interface, such as "Serial" or "RS-232."
3. Wireless interfaces: These are virtual interfaces that use wireless communication to transmit
data. They can be used to connect devices such as laptops, smartphones, and tablets to the
network. Wireless interfaces can be accessed through software, such as a command-line
interface or a web-based interface, and are typically labeled with the type of interface, such as
"Wi-Fi" or "Bluetooth."
4. Virtual interfaces: These are virtual interfaces that can be created within a device, such as a
router or switch, to provide additional functionality. Examples of virtual interfaces can include
VLANs, VPNs, or virtual NICs. These interfaces can be accessed through software, such as a
command-line interface or a web-based interface.
5. Management interfaces: These are interfaces that are used to manage and configure devices
on the network. Examples include web-based interfaces and command-line interfaces such as
Telnet or SSH. These interfaces can be used to access the device's settings, monitor its
performance, and troubleshoot issues.

ROHIT KUMAR (2020UIN3322)


In summary, different interfaces in a lab network topology can include Ethernet interfaces, serial
interfaces, wireless interfaces, virtual interfaces, and management interfaces. Each of these interfaces
serves a unique purpose and can be used to connect different types of devices to the network.

PRACTICAL-2
Establish a LAN Configuration using:

I. Hub:
Procedure:
1.) Open Cisco Packet Tracer.

2.) Click on Network devices option from the bottom left corner and select Hub among
various networkdevices.

3.) Select PT-Hub from available options.

Hub-PT
HubO

Time 00 0101(0)(

•> Hub-PT

4.) Click on End Devices and select PCs from available options.

ROHIT KUMAR (2020UIN3322)


Hub-PT
HubO

PC-PT
.. PC-PT
.
PC-PT PC-PT
. PC..PT
.
PCO PC1
PC2 PC3 PC4

5.) Click on Connections and select "Copper Straight-Through" cable to connect these devices.

Co r Strai ht-Throu h

6.) Assign IP addresses to the computers. We get "IP Configuration" option by clicking on any computer and
selecting "Desktop" option from the top ribbon.

df' PCO D X
Physical ConfigDesktoProgrammingAttributes

IP Conf1gurat1on El
Interface
FastEthernetO
IP Configuration
Q DHCP
1Pv4 Address Subnet Mask 0 Static
22.0.0 1

255.0.0.0
Default Gateway

0.0.0.0
DNS Server
1Pv6 Configuration
0 Automatic 0Static 0.0.0.0
1Pv6 Address Link Local Address FEB0::201:63FF:FE69:6334
Default Gateway DNS Server
802.1X
0 Use 802.1X Security AuthenticationMOS


QTop

ROHIT KUMAR (2020UIN3322)


7.) Repeat step-6 and assign IP address to all the PCs.

22.0.0.2 22.0.0.4
22.0.0.3

8.) To check whether the PCs are connected to each other, we use PING command.

Click on any computer and then go to "Desktop" and select "Command Prompt", then type "ping *IP
address of any other computer*" (*excluded).
it' PCO D X

Physical Config Oeskto Programming Attributes

Command Prompt El
Ci sec, Packet

Tracer PC Command Line l. 1)


C:\>ping 22.0.0.4

Pinging 22.0.0.4 with 32 bytes of data:

Reply from 22.0.0.4: bytes=32 time=lms TTL=l


Reply from 22.0.0.4: bytes=32 time=lms TTL=l
Reply frc,m 22.0.0.4: bytes=32 time<lms TTL=l
Reply from 22.0.0.4: bytes=32 time<lms TTL=l

Ping statistics for 22.0.0.4:


Packets: Sent= 4, Received= 4, Lost= 0 (0% loss),
Approximate rc,und trip times in milli-seconds:
Minimum= Oms, Maximum= J.ms, Average= Oms

C:\>

QTop

9.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which
youwant to send the message to the destination computer, then Run the Simulation.

ROHIT KUMAR (2020UIN3322) ■


1■11,e,er11 ®111 r-. E\.E\.E\.□c.J liill!!I
::;q_c, • --, 111'11

di X

I
SmUat1on Panef

Eventl1st
Vis. T1me(sec) lastDevice
0.000
0001 PC0
0.02 HlbO
0.02 HlbO
0002 HlbO
0.03 PC3
Visible 0004 HlbO
Visible 0004 HlbO
Visible 0.004 HlbO

f•@ijQj;@@M. Constari Delay Cap os

22 0.0.2 220.0.4
22003

Q Scenario O v
Fire Last Slalus
eSuccessfu
S01Jce Destination Type Colof Time{sec) Periodic NLrn Edit Delete

■0000N0
am--m-m-
PC0PC3ICMP (e<>t)(delete)

MMF■ll■Nii@d

II. Switch:
Procedure:
1.) Open Cisco Packet Tracer.

2.) Click on Network devices option from the bottom left corner and select Switch among
various networkdevices.

>
Switch-PT-Empty

3.) Select 2960 switch from available options.

2960-24TT
SwitchO

T,me 00 00 2s(Q)( )


2960 10S15

ROHIT KUMAR (2020UIN3322)


4.) Click on End Devices and select PCs from available options.

2960-24TT
SwitchO

. . ., . .
.
PC-PT PC-PT PC-PT PC-PT
PC-PT
PC0 PC2 PCJ PC4
PC1

T,me 00 01 sG(Q)(

• Q
PC-PT

5.) Click on Connections and select "Copper Straight-Through" cable to connect these devices via
FastEthernetlnterface.

22.0.0.2 22.0.0.4

6.) Assign IP addresses to the computers dynamically by using DHCP protocol. Go to CLI of switch and
write the following commands in order to assign the network to the connected devices.
\ip SwitchO D X

Physical Config ...£.!.. Attributes

10S Command Line Interface

FastEthernet0/3, changed state to up

%LINK-5-CHANGEO: Interface FastEthernet0/4, changed state to


up

%LINEPROT0-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up

Switch>enable Switch#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. switch(config)fip dhcp pool DHCP
Switch(dhcp-config)#network 22.0.0.0 255.0.0.0 Switch(dhcp-config)#exit Switch(config)#interface vlanl
Switch(config-if)#ip address 22.0.0.4 255.0.0.0 Switch(config-if)#no shutdown
switch(config-if)#
%LINK-5-CHANGED: Interface Vlanl, changed state to up

%LINEPROT0-5-UPOOWN: Line protocol on Interface Vlanl, changed state to up

I
QTop
Copy Paste

ROHIT KUMAR (2020UIN3322) ■


7.) Go to every PC's Desktop, click IP configuration and select DHCP. Repeat this step for all PC's.
if' PCO □ X
Physical Config Oeskto Programming Attributes

IP Conf1qurat1on l!I
InterfaceFastEthernet0
IP Configuration
0 DHCP
1Pv4 Address 0 Static DHCP request successful.
Subnet Mask 22001
255.o a.a
0.0.0.0

Default Gateway
DNS Server 0.00.0

1Pv6 Configuration
0 Automatic 0 Static
1Pv6 Address
Link Local Address FEB0::201:97FF:FE74:2947
Default Gateway
DNS Server

802.1X
0 Use 802.1X Security AuthenticationMOS

QTop

8.) To check whether the PCs are connected to each other, we use PING command.Click on any computer and

then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other

computer*" (*excluded).

, PCO D X

Physical Config DesktoProgramming Attributes

Command Prompt
13
1.0
Cisco Packet Tracer C:\>ping P22.0.U.
Comma Li c,:,uld
Pinq re, uest
and try again.
C:\>ping 22.0.0.4 not find h,:,st 22. O. 0 .. Please check the name

Pinging 22.0.0.4 with 32 bytes of data:

Request timed c,ut.


Reply from 22.0.0.4: bytes=32 tirne<lms
TTL=255 Reply from 22.0.0.4: bytes=32 time<lms
TTL=255 Reply from 22.0.0.4: bytes=32 time<lms
TTL=255

Ping statistics for 22.0.0.4:


Packets: Sent = 4, Received = 3, Lost = l (25% Approximate round trip times in lc,ss),
milli-seconds:
Minimum = Oms, Maximum = ,)ms, Average = Oms

c·: \>

9.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from
which youwant to send the message to the destination computer, then Run the Simulation.

ROHIT KUMAR (2020UIN3322)


olX

I
SimrJabon Panel
Eventl.Jst
Vis.lime(sec)
Last Device
0.000
0.001
PC0
0002 SwilchO
0.03 PC3
Visible OJ)0-4 SwitchO

0
f•MF@ Constant Delay Cap :.! -

mam
Play Controls

22.0.02 220.04 I
Event l.Jst Filers - Visible Everts
ACL F1ter,ARP, BGP, BluetOOlh, CAP\/1/AP, COP,
DHCP, DHCPv6, DNS, DTP, EAPOL, EIGRP,
EIGRPv6, FTP, H 323, HSRP, HSRPv6, HTTP,
HTTPS, ICMP, tCMPv6, lPSec,ISAKMP, loT,
loTTCP, LACP, LLDP, Mefaki, NOP, NETFLOW,
NTP, OSPF, OSPF\16, PAgP,POPJ,
PPP,PPPoED,PTP,RADIUS,REP, RIP, RIPng,
RTP,SCCP, SMTP, SNMP, SSH, STP,
SYSLOG, TACACS, TCP, TFTP, Telnet, UDP, use,
VTP
s !◄I I ►I I
Tme 01 10 14 011 O PtAY < ONTROt
inf¥@ a!!!
Mffifaiiii:
e I As1mulation

"•ill •;( //
..,
QScenano o Fire
e
Last Status
Successfu
Soo"ce Destma1100
PCO PC3
Type
ICMP
Color lime(sec) Periodic Ntm
■ 0.000 N O
Edit
(edit)
Delete
(delete)

• -
-
=
I
, ,c .,nh< .n. •---------,1Mi§1ifiNIM&
Ill. Router:
Procedure:
1.) Open Cisco Packet Tracer.

2.) Click on Network devices option from the bottom left corner and select Router among
various networkdevices.

3.) Select "2911" Router from available options.

2911
Router1

<
Time 00 00 16(Q)( I

• l-< --1>
?Q11

ROHIT KUMAR (2020UIN3322)


4.) Click on Network devices option from the bottom left corner and select two "2960" Switches
amongvarious network devices, and connect them with router using "Copper Straight-Through".

J '" ""
291 1

2960-24TT
2960-24TT
Switch1
Switch2

Time 00 18 36 651(Q)PLAY CONTROLS

Bi Copper Straiqht-Throuqh

5.) Click on End Devices and select PCs from available options. Click on Connections and
select "CopperStraight-Through" cable to connect PCs with Switches via FastEthernet
Interface.

PC-PT " PC8


"
PC-PT PC7

Time 00 19 36 63a(Q'PLAY CONTROLS

Copper Straight-Through

ROHIT KUMAR (2020UIN3322)


6.) Assign IP addresses to the computers dynamically by using DHCP protocol. Go to CLI of switch0 and write
the following commands in order to assign the dynamic IP address to the connected devices of network
22.0.0.0 whose default router IP address is 22.0.0.5
Physical Config ..£!.!.. Attributes

10S Command Line Interface


FastEthernetO 2, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to up

%LINEPROT0-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

Switch>enable Switch#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#ip dhcp pool DHCP
Switch(dhcp-config}#network 22.0.0.0 255.0.0.0
Switch(dhcp-config)#default-router 22.0.0.5 Switch(dhcp-config)#exit Switch(config)#interface vlanl
Switch(config-if)hp address 22.0.0.4 255.0.0.0 Switch(config-if)#no shutdown

Switch(config-if)#
%LINK-5-CHANGED: Interface Vlanl, changed state to up

Similarly, go to CLI of switchl and repeat the same process for the connected devices of network 23.0.0.0
whose default router IP address is 23.0.0.5

Switch1 D X

Physical Config ..£.!.!... Attributes


10S Command Line Interface
FastEthernet0/2, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/3, changed state to


up

%LINEPROT0-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

Switch>enable Switch#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#ip dhcp pool DHCP
Switch(dhcp-config)#network 23.0.0.0 255.0.0.0 Switch(dhcp-config)#default-router 23.0.0.S Switch(dhcp-config)#exit switch(config)#interface vlanl
Switch(config-if)#ip address 22.0.0.4 255.0.0.0 Switch(config-if)#no shutdown

Switch(config-if)#
%LINK-5-CHANGED: Interface V1anl, changed state to up

%LINEPROT0-5-UPDOWN: Line protoco1 on Interface V1anl, changed state to up


I
Copy Paste


0 Top

ROHIT KUMAR (2020UIN3322)


7.) Go to every PC's Desktop, click IP configuration and select DHCP. Repeat this step for all PC's.
PCO □ X
Physical Config Deskto Programming Attributes

JP Conf1gurat1on 1:1
Interface
FastEthernetO
IP Configuration
0 DHCP
1Pv4 Address Subnet Mask 0 Static DHCP request successful.
22.001
2550 0 0
22005
0000
Default Gateway
ONS Server

1Pv6 Configuration
0 Automatic 1Pv6 Address 0 Static
Link Local Address Default Gateway
DNS Server
FEB0::20C:CFFF:FEOB:314O

802.1X
0 Use 802.1X Security AuthenticationMD5

0 Top

8.) Click on Router and Go to CLI. Write the commands shown below to connect router to the network
22.0.0.0 via the Gigabit Ethernet 0/0 cable and network 23.0.0.0 via the Gigabit Ethernet 0/1 cable.
Router1 D X

Physical Config ..£ll. Attributes

10S Command Line Interface

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 22.0.0.5 255.0.0.0
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up

%LINEPROT0-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Router(config-if)#exit Router(config)#interface GigabitEthernet0/1


Router(config-if)#ip address 23.0.0.5 255.0.0.0
Router(config-if)#no shutdown

I
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface

IO
Copy Paste

Top

9.) To check whether the PCs are connected to each other, we use PING command.

Click on any computer and then go to "Desktop" and select "Command Prompt", then type

ROHIT KUMAR (2020UIN3322) ■


"ping *IP address of any other computer*" (*excluded). If all the packets are received (O Lost) then the
connection is successfully established.
'PCO D X

Physical Config Deskto Programming Attributes

Command Prompt II
PC
Cisco Packet Tracer Command Line 1.0
C:\>ping 22.0.0.3

from 22.0.0.3: t
from 22.0.0.3: t
Pingingfrom
22.0.0.3 with 32 bytes t
22.0.0.3:
of data:
from 22.0.0.3: t
Reply Reply Reply Replybytes=32 bytes=32 bytes=32 bytes=32
ime<lrns TTL=l28
Ping ime=lms TTL=l28
statistics for 22.0.0.3: ime<lms TTL=l28
Packets: Sent= 4, Received= 4, Lost=
ime=J.ms 0 (0% loss),
TTL=l28
Approximate round trip times in milliseconds:
Minimum= Oms, Maximum= lms, Average= Oms

10.} Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which
youwant to send the message to the destination computer, then Run the Simulation.

PC-
"
P T
22.0.0.1 22.0.0.3 23.0.0.3
22.0.0.2 PC4
23.0.0.1

23.0.0.2

IV. Repeater:
Procedure:
1.} Open Cisco Packet Tracer.

ROHIT KUMAR (2020UIN3322) ■


2.) Click on Network devices option from the bottom left corner and select Hub among
various networkdevices.

3.) Select PT-Repeater from available options.

Repeater-PT
Repeater0

Time 00 02 42@@

Repeater-PT

4.) Click on Network devices option from the bottom left corner and select two "2960" Switches
amongvarious network devices, and connect them with router using "Copper Cross-Over".

l¥peater- T
/RepeaterO a,
/ '
2960-24TT 2960-24TT
Switch0 Switch1

Time 00 07 43@(..)

/[Z]

Copper Cross-Over
5.) Click on End Devices and select PCs from available options. Click on Connections and
select "CopperStraight-Through" cable to connect PCs with Switches via FastEthernet
Interface.

ROHIT KUMAR (2020UIN3322) ■



PC-P T
PC3
PC-
PT
PC2

Time 00 09 44(6)(

6.) Assign IP addresses to the computers dynamically by using DHCP protocol. Go to CLI of switchO and
write the following commands in order to assign the network to the connected devices.
, D X
Physical Config
-
CU Attributes

10S Command Line Interface


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up

Switch>enable switch#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. switch(config)#ip dhcp pool DHCP
Switch(dhcp-config)#network 22.0.0.0 255.0.0.0 Switch(dhcp-config)#exit Switch(config)#interface vlanl
switch(config-if)#ip address 22.0.0.4 255.0.0.0 switch(config-if)#no shutdown

Switch(config-if)#
%LINK-5-CHANGED: Interface Vlanl, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlanl, changed state to up

I
Copy Paste

0 Top

7.) Go to every PC's Desktop, click IP configuration and select DHCP. Repeat this step for all PC's.

ROHIT KUMAR (2020UIN3322) ■


PCO D X

Physical Config Deskto Programming Attributes

IP Conftgurat1on Interface l3
IP Configuration V
FastEthernetO
0 DHCP
IPv4 Address Subnet Mask
0
Static DHCP request successful.
22.0.0.1
255.0.0.0
0.0.00
0.00.0
Default Gateway
DNS Server

IPv6 Configuration
0Automatic IPv6 Address 0Static
Link Local Address Default Gateway
DNS Server FE80::260:47FF:FE8B:ACAE

802.1X
0Use 802.1X Security Authentication
MOS V

0 Top

9.) To check whether the PCs are connected to each other, we use PING command. Click on any computer
andthen go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other
computer*" (*excluded). If all the packets are received (O Lost) then the connection is successfully
established.
C:\>ping 22.0.0.6

Pinging 22.0.0.6 with 32 bytes of data:

Reply Reply
from from
Reply from
22.0.0.6: Reply
from
bytes=32 bytes=32
time<lmsbytes=32
TTL=l28 bytes=32
TTL=l2S TTL=l28 TTL=l28
22.0.0.6: time=4ms
22.0.0.6: time<lms
22.0.0.6: time=lms

Ping statistics for 22.0.0.6:


Packets: Sent= 4, Received= 4, Lost= 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum= Oms, Maximum= 4ms, Average= lms

C:\>

10.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which
youwant to send the message to the destination computer, then Run the Simulation.

ROHIT KUMAR (2020UIN3322)


I
SimtJatJon Panel
Evenll.Jst

Vis Time(sec) last Device


0.007 RepeaterO
0.008 SwilchO
0008
0.009 PC0
0010
SwitchO RepeaterO Switch1 PCS

I
0.011
0.012 Switch1 RepeaterO SWl!ChO
0013
0.014
0.015
Visible 0016

PMM@i • Constant Delay Cap Play Cootrols

I
mam
Event list Filers - Vistble Everts
ACL Fiter,ARP, BGP, Bluetooth, CAP\/1/AP, CDP, DHCP, DHCPv6, D
SYSLOG, TACACS, TCP, TFTP, Telnet, UDP, use,
VTP

MM'liiH:IM

@ijiii:ii
-

Time(sec) Periodic Nun Edit Delete


0.000N0 (edit) (delete)

Color
// Fire Last Status SOU"ce Destinalioo Type
e SuccessfU PC0 PCS ICMP ■
Automatica Choose Connection T MIF■l■■NIMM
1rneoo1•,4•,14 0f'IAY(ONTfmts l◄I► l►I

V. Bridge:
Procedure:
1.) Open Cisco Packet Tracer.

2.) Click on Network devices option from the bottom left corner and select Switch among
various networkdevices.

Z950T

>
Switch-PT-Empty

3.) Select PT-Bridge from available options.


Bridge-PT
BridgeO

- === Bridge-PT !

ROHIT KUMAR (2020UIN3322)


4.) Click on Network devices option from the bottom left corner and select two "2960" Switches
amongvarious network devices, and connect them with router using "Copper Cross-Over".

2960-24TT 2960-24TT
Switch0 Switch1

Time 00 05 49@) _,,,

/10
Copper Cross-Over

5.) Click on End Devices and select PCs from available options. Click on Connections and
select "CopperStraight-Through" cable to connect PCs with Switches via FastEthernet
Interface.

..
..
PC-PT
PC-PT PC3

PC2

1B Copper Strai ht-Throu h

6.) Assign IP addresses to the computers dynamically by using DHCP protocol. Go to CLI of switch0
and writethe following commands in order to assign the network to the connected devices.

ROHIT KUMAR (2020UIN3322)


Switch0
D X

-
Physical Config
CU Attributes

!OS Command Line Interface

FastEthernet0/3, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up

switch>enable
switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip dhcp pool DHCP
Switch(dhcp-config)#network 22.0.0.0 255.0.0.0 Switch(dhcp-config)#exit switch(config)#interface vlanl
Switch(config-if)#ip address 22.0.0.4 255.0.0.0 Switch(config-if)#no shutdown

switch(config-if)#
%LINK-5-CHANGED: Interface Vlanl, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlanl, changed state to up

I
Copy Paste

QTop

7.) Go to every PC's Desktop, click IP configuration and select DHCP. Repeat this step for all PC's.
I I Ito bd•t I lnflooc 1110111 Ionic h utooc,onc 16/

,Prn O X

Physical Config Deskto Programming Attributes

IP Configuration Interface El
IP Configuration V
FastEthernet0

0DHCP0StaticDHCP request successful.


IPv4 Address 22.0.0.1
Subnet Mask 255.0.0.0
Default Gateway 0.0.0.0
DNS Server 00.0.0

IPv6 Configuration

0 Automatic 0 Static
IPv6Address
Link Local Address FE80::202:4AFF:FE41:C146

Default Gateway

DNS Server

802.1X

0Use 802.1X Security


AuthenticationMD5


Top

ROHIT KUMAR (2020UIN3322)


9.) To check whether the PCs are connected to each other, we use PING command. Click on any computer
andthen go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other
computer*" (*excluded). If all the packets are received (O Lost) then the connection is successfully
established.
t r, I Pio bdlf I Jot,onc > t,O111 Ionic h>daocsnnc 10

PCO D X

Physical Config Deskto Programming Attributes

Command Prompt El
Cisco Packet Tracer C:\>ping
PC Command
22.0.0.7
Line 1.0

Pinging 22.0.0.7 with 32 bytes of data:

from 22.0.0.7: bytes=32 bytes=32 bytes=32 bytes=32


Reply Reply Reply Reply time<lms TTL=128
from 22.0.0.7: time=lms TTL=l28
from 22.0.0.7: time=lms TTL=l28
from 22.0.0.7: time<lms TTL=128

Ping statistics for 22.0.0.7:


Packets: Sent= 4, Received= 4, Lost= 0 (01 loss),
Approximate round trip times in milli-seconds:
Minimum= Oms, Maximum= lms, Average= Oms

10.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which
youwant to send the message to the destination computer, then Run the Simulation.

olX

Ir=
SunUabon Panel

lime(sec) Last Device

0000

0001 PC0
0002 SwitchO
0003 BridgeO

I 0004
0005
Swrtch1
PCS
0006 SwttCh1
0.007 Bndge()
Visible 0008SwitchO

mam
Play Controls

fMF@@ • Constan1 Delay Cap6 o


I
Event l.Jst Fliers. ViS1ble Everts
ACL Filer,ARP, BGP, BluetOOlh, CAf'WAf>, COP. OHCP, OHCPv6, DNS, OTP, EAPOL, EIGRP, EIGR"'6, FTP, H.323, HSRP, HSRP,6, HTTP, HTTPS, JCMP, ICMM,IPSec, ISAKMP, IOT, IOTTCP, LACP, LLDP, Meraki, NOP, NETFLOW, NTP, OSPF, OSP

Mn■MdM#41iiiiit'M
PC-PT
2200.1
PC0

22006
22.0.02

22.0,0.3
22005

1so , C II.!'._! // Q Scenano o v Fire Last Status Scuce Destination Type Color Tlme(sec)
PeriOOic Ni,n
ORealt11 _el.Q.S1mulation

lime 0008 l'LAYCONlfWLS
• - e SuccessfU PCO PCS ICMP 0.000 N 0

Automatlca Choose Connection T


M@iiifiditl§

ROHIT KUMAR (2020UIN3322) ■


PRACTICAL-3
Document a basic network using hub, switch and router in one
network.
Procedure:
1.) Open Cisco Packet Tracer.

2.) Click on Network devices option from the bottom left corner and select Router among various
network devices.

3.) Select two "2911" Routers from available options.

2911 2911
Router0 Router1

<
T,me 00 00 16 @

>

4.) Click on Network devices option from the bottom left corner and select one "2960" Switch and one PT-
Hub among various network devices, and connect them with router using "Copper Straight-Through".

2960-24TT Hub-PT
SwitchO HubO

T1rne 00 06 1o(<;Z?)( )

Copper Stra.iQht-ThrOUQh
ROHIT KUMAR (2020UIN3322) ■
5.) Click on End Devices and select PCs from available options. Click on Connections and select "Copper
Straight-Through" cable to connect PCs with Switches via GigabitEthernet Interface. And connect the
routers with each other using "Copper-Cross over "cable via GigabitEthernet interface.
....,_ ,.
2911
outerO

,.
PC-PT
PC2

T,me 00 20 42(Q)(

Ill Copper Cross-Oler

6.) Assign IP addresses to the computers dynamically by using DHCP protocol. Go to CLI of Router0 and write
the following commands in order to assign the IP address to the connected devices with default gateway as
Router0 with IP address 22.0.0.4

RouterO D X

Physical Config
-
CU Attributes

10S Command Line Interface


Would you like to enter the 1n1t1al conf1gurat1on dialog?
[yes/no]: no

Press RETURN to get started!

Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool DHCP
Router(dhcp-config)#network 22.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 22.0.0.4
Router(dhcp-config)#exit
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 22.0.0.4 255.0.0.0
Router(config-if)#no shutdown

I
Router(config-if)#
\LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up

\LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEthernet0/0, changed state to up

Copy Paste

0 Top

ROHIT KUMAR (2020UIN3322) ■


Repeat the process for Routerl and assign the IP address to the connected devices with default gateway as
Routerl with IP address 23.0.0.4

Router1 D X

Physical Config ..£!;!_ Attributes

10S Command Line Interface

Would you like to enter the initial configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip dhcp pool DHCP
Router(dhcp-config)#network 23.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 23.0.0.4 Router(dhcp-config)#exit Router(config)#interface GigabitEthernet0/0 Router(config-if)#ip add
% Incomplete command.
Router(config-if)#ip address 23.0.0.4 255.0.0.0 Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

Copy Paste
I
0 Top

7.) Go to every PC's Desktop, click IP configuration and select DHCP to assign the IP address dynamically
using DHCP protocol. Repeat this step for all PC's.
, PCO D X

Physical Config Deskto Programming Attributes

IP Conf1gurat1on 13
lntertaceFastEthernet0

IP Configuration
0 DHCP
Static 0 DHCP request successful.
1Pv4 Address Subnet Mask Default Gateway
DNS Server
220.01
255000
22004
0000

1Pvfi r.nnfirn1rntinn

8.) Now, to connect the two routers with each other. Go to Router0 and run the following commands in order
to assign the IP address to the Router0 which is going to connect to Routerl via the interface
GigabitEthernet0/1. Assign 24.0.0.1 address to router0.
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with
CNTL/Z. Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 24.0.0.1 255.0.0.0

I
Router(config-if)#no shutdown

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state


to up

ROHIT KUMAR (2020UIN3322)


Similarly, Go to Routerl to perform the same operation in order to connect Routerl to Router0. Assign
24.0.0.2 address to Routerl.
Router>enable Router#configure terminal
Enter configuration commands, one per line. Endwith CNTL/Z. Router (config) #interface GigabitEthernet0/1
Router(config-if)iip address 24.0.0.2 255.0.0.0
Router (config-if) fnoshutdown

Router (config-if) f

I
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROT0-5-UPOm'1N: Line protocol on Interface GigabitEthernet0/1, changed state to up

9.) Add the next hop in Router0 by selecting "Static" in routing option which is present in "config" section
under Router0.

Enter the network and its subnet mask where you want to send the packet and Routerl IP address (24.0.0.2) in
next hop because the packet is going to transmit via Routerl.
RouterO D X

Physical Config CU Attributes

GLOBAL Static Routes


Settings Network 23.0.0.0
Algorithm Settings Mask
ROUTING
I Static I 255.0.0.0
RIP
Next Hop 24.0.0.2
SWITCHING
VLAN Database Add
INTERFACE
GigabitEthernet0/0 Network Address 23.0.0.0/8 via 24.0.0.2
GigabitEthernet0/1
GigabitEthernet0/2

Remove

Repeat the process for Routerl.


D X
Router1

Physical Config CU Attributes


Static Routes
GLOBAL
Setting_s Network 22.0.0.0
Algorithm Settings
ROUTING Mask 255.0.0.0

I Static l Next Hop 24.0.0.1


Add
RIP
SWITCHING
VLAN Database Network Address 22.0.0.0/8 via 24.0.0.1
INTERFACE
.Q!_gabitEthernet0/0
GigabitEtherne!Q/ 1
.Q!_gabitEthernet0/2

Remove

...
ROHIT KUMAR (2020UIN3322)
10.)To check whether the PCs are connected to each other, we use PING command. Click on any computer
and then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other
computer*" (*excluded). If all the packets are received (O Lost) then the connection is successfully
established.
C:\>ping 23.0.0.l

Pinging 23.0.0.l with 32 bytes of data:

Reply Reply
from from
Reply
23.0.0.1:
from
Reply
from
bytes=32 bytes=32
time<lmsbytes=32
TTL=l 6bytes=32
23.0.0.l: time<lms TTL=l 6
23.1).0.l: time=l2ms TTL= 26
23.0.0.i: time<lms TTL=l 6

Ping statistics for 23.0.0.1:


Packets: Sent= 4, Received= 4, Lost= 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum= Oms, Maximum= 12ms, Average= 3ms

10.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which you
want to send the message to the destination computer, then Run the Simulation.

I I
S1rrdat1on Panel
Event List

Vis lime{sec) Last Device


Router1
0005HubO
11 •--· HubO
outerO 0005HubO
0006 PC5
0.007 HubO
0.007 HubO
0007 HubO
0008 Router1
0.009 RouterO
Visible 0010 SwitchO

di§Fi,,fj%ii,j■ Coostant Delay Gap os

mam
PlayContrOls
PC-PT
PC0

Event list Filers - Visible Events


ACL Filer, ARP, BGP, Blletooth, CAPWAP, CDP,
DHCP, DHCf>i.<6, ONS, OTP, EAPOL, OORP,
EIGRPv6, FTP, H 323, HSRP, HSRPv6, tfTTP,
HTTPS, ICMP, ICMM,IPSec, ISAKMP,loT,loTTCP,
LACP, LLDP, Meraki, NOP, NETFLOW, NTP, OSPF,
OSPF\6, PJ\gP, POP3, PPP, PPPoED, PTP.
RADIUS, REP, RIP,R!Png, RTP, SCCP, SMTP,
SNMP, SSH, STP, SYSLOO, TACACS, TCP, TFlP,
Telnet, UDP, USB, VTP

// Q ScenarioO v Fire Last Status SOll'ce Destination Type Cok>f Time(sec) PeriOdlc Nln Edit Delete
e Successfu PCO
PCSICMP ■0_000NO (edit)(delete)

M##lll■IIWM

ROHIT KUMAR (2020UIN3322)


PRACTICAL-4
Document a basic network using 3 routers in a LAN
configuration.
Procedure:-
1.) Open Cisco Packet Tracer.

2.) Click on Network devices option from the bottom left corner and select Router among various
network devices.

3.) Select three "1841" Routers from available options.

1841
RouterO 1841 1841
Router1 Router2

Time 00 05 2s@)(

4.) Click on Network devices option from the bottom left corner and select one "2960", one PT-Hub and one
PT-Bridge among various network devices, and connect them with router using "Copper Straight-
Through".

1
1
uter0 R r1

Bridge-PT
2960-24TT Hut>-PT Bridge0
Switch0 Hub0

Time 00 07 23(Q)( )


Copper Straight-Through

ROHIT KUMAR (2020UIN3322)


5.) Click on End Devices and select PCs from available options. Click on Connections and select
"Copper Straight-Through" cable to connect PCs with Switches via GigabitEthernet Interface.

...
PC-PT ., PC-PT
PC1 PC4
PC-PT PC2

T,me 00 10 30( @

Copper StraiQht-ThrouQh

6.) To connect the router, click on them; select "Physical" option from the top ribbon then turn off the router
from the button given in picture, then select "WIC-lT" and drag it to the empty slots in the router, then
turn on the Router. Repeat the process for the second and third router.
(• RouterO - D X

Ph sical Config
CU Attributes

MODULES . Zoom In
Physical Device View

Original Size Zoom Out


HWIC-1GE-
SFP HWIC-
2T
HWIC-

4ESW
HWIC-8A
HWIC-AP-
WIC-1T
WIC-2AM
WIC-2T
WIC-Cover
GLC-LH-SMD

Customize
Icon in Customize

• Physical View
Icon in
Logical View

The WIC-1T provides a single port serial connection to remote sites or legacy
serial network devices such as Synchronous Data Link Control (SDLC)
concentrators, alarm systems, and packet over SONET (POS) devices. -

NOTE: Use 2 WIC-lT port in the second router as we have to connect it with 2

QTop
ROHIT KUMAR


10.} Select "Serial DCE" wire from the Connections to connect the routers. Click on one router and select Serial
port and then click on other router and select Serial port.

PC-PT
PC1
• .
PC-PT
.
PC-PT
PC.PT
PC4
.
PC2 PC3

Time 00 20 45( )(

//
Ct] Ill Serial DCE

6.) Assign IP addresses to the computers dynamically by using DHCP protocol. Go to CLI of Router0 and
write the following commands in order to assign the IP address to the connected devices with default gateway
as Router0 with IP address 22.0.0.4

RouterO D X

Physical Config CLI Attributes

IOS Command Line Interface


Would you like to enter the initial configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip dhcp pool DHCP
Router(dhcp-config)#network 22.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 22.0.0.4 Router(dhcp-config):exit Router(config)#interface FastEthernet0/0 Ro

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROT0-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up


I
Copy Paste

ROHIT KUMAR (2020UIN3322) ■


Repeat the process for Routerl and assign the IP address to the connected devices with default gateway as
Routerl with IP address 23.0.0.4

Router1 D X

Physical Config
-
CU Attributes

10S Command Line Interface


Would you like to enter the initial configuration dialog? [yes/no]: no

Press RETURN to get started!

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip dhcp pool DHCP
Router(dhcp-config)#network 23.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 23.0.0.4 Router(dhcp-config)#exit Router(config)#interface FastEthernet0/0 Router(config-if)#ip addr

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

I
%LINEPROT0-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Copy Paste

0 Top

Repeat the process for Router2 and assign the IP address to the connected devices with default gateway as
Router3 with IP address 24.0.0.4

, Router2 D X

Physical Config
-CU Attributes

10S Command Line Interface


Would you like to enter the initial configuration dialog? [yes/no): no

Press RETURN to get started!

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip dhcp pool DHCP
Router(dhcp-config)#network 24.0.0.0 255.0.0.0
Router(dhcp-config)#default-router 24.0.0.4 Router(dhcp-config)#exit Router(config)#interface FastEthernet0/0 Router(config-if)#ip address 2

Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROT0-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up


I

Copy Paste

n Tnn

ROHIT KUMAR (2020UIN3322)


7.) Go to every PC's Desktop, click IP configuration and select DHCP to assign the IP address

,
dynamically using DHCP protocol. Repeat this step for all PC's.
D X

Physical Config Deskto Programming Attributes

IP Configuration El
InterfaceFastEthernet0 IP Configuration V

0DHCP0Static
DHCP request successful.

1Pv4 Address 22.0.01


Subnet Mask 255.0.0.0
Default Gateway 22.0.0.4
DNS Server 0.0.0.0

8.) Now, to connect the two routers with each other. Go to Router0 and run the following commands
in order to assign the IP address to the Router0 which is going to connect to Routerl via the interface
Serial0/0/0. Assign 20.0.0.1 address to router0.
Router>enable Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#interface serial0/0/0
Router(config-if)#ip address 20.0.0.1 255.0.0.0 Router(config-if)fno shutdown

I
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down Router(config-if)#

Similarly, Go to Routerl to perform the same operation in order to connect Routerl to Router0. Assign
20.0.0.2 address to Routerl.

I
Router(config)finterface serial0/1/0 Router(config-if)#ip address 20.0.0.2 255.0.0.0 Router(config-if)#no shutdown

Router(config-if)f
%LINK-5-CHANGED: Interface SerialO/ /0, changed state to up

Now, To Connect Routerl with Router2, go to router 1 and assign IP address of 21.0.0.1.

I
Router(config)#interface serial0/0/0 Router(config-if)#ip address 21.0.0.l 255.0.0.0 Router(config-if)#no shutdown

%LINK-5-CBANGED: Interface Serial0/0/0, changed state to down Router(config-if)#

Similarly, Go to Router2 and assign IP address of 21.0.0.2.

ROHIT KUMAR (2020UIN3322)


Router>enable Router#configure terminal
Enter configuration commands, one per line. End with CNTL/2. Router(config)#interface serial 0/1/0
Router(config-if)#ip address 21.0.0.2 255.0.0.0 Router(config-if)#no shutdown

I
Router(config-if)#
%LINK-5-CHANGED: Interface Serial0/1/0, changed state to up

9.) Add the next hop in Router0 by selecting "Static" in routing option which is present in "config" section
under Router0.

Enter the network connected to hub(23.0.0.0) and its subnet mask and Routerl IP address (20.0.0.2) in next
hop because the packet is going to transmit via Routerl.

Repeat the process, enter all other networks as shown below:

\. RouterO D X

Physical [C_onfigj CLI Attributes

GLOBAL
Settings
• Network 21.0.0.0
Static
Routes
Algorithm Settings Mask
ROUTING
I Static I 255.0.0.0
RIP Next Hop 20.0.0.2
SWITCHING Add
VLAN Database
Network Address 23.0.0.0/8 via 20.0.0.2

I
INTERFACE
-- FastEtherneto/0 24.0.0.0/8 via 20.0.0.2
FastEtherneto/1
Serial0/0/0

21.0.0 0/8 via 20.0.0.2

.. Remove

Repeat the process for Routerl.


, Router1 D X

Physical [C_onficil CLI Attributes

GLOBAL
Settings
• Network 24.0.0.0
Static Routes

_filgorithm Settings Mask


ROUTING
I Static I 255.0.0.0
RIP Next Hop 21.0.0.2
Add
-- SWITCHING
VLAN Database
INTERFACE Network Address
FastEthernet0/0
FastEthernet0/1 22.0.0.0/8 via 20.0.0.1 I
SeriaI0/0/0
Serial0/0/1 24.0.0.0/8 via 21.0.0.2

.. Remove

ROHIT KUMAR (2020UIN3322)


Repeat the process for Router2.
, Router2 D X

Physical CU Attributes

GLOBAL • Network 20.0.0.0


Static Routes
Settings
gorithm Settings Mask 255.0.0.0
ROUTING Next Hop 21.0.0.1
I Static I ------------;::::=====;
RIP Add
SWITCHING
VLAN Database
Network Address

I
INTERFACE
FastEthernet0/0
FastEthernet0/1 22.0.0.0/8 via 21.0.0.1
Serial0/0/0
23.0.0.0/8 via 21.0.0.1
20.0.0.0/8 via 21.0.0.1

Remove

10.) To check whether the PCs are connected to each other, we use PING command. Click on any computer
and then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other computer*"
(*excluded). If all the packets are received (O Lost) then the connection is successfully established.

it'PCO D X

Physical Config Deskto Programming Attributes

Command Prompt El
C:\>ping 24.0.0.l

Pinging 24.0.0.1 with 32 bytes of data:

Reply Reply
from from
Reply
24.0.0.l:
from
Reply
from
bytes=32 bytes=32 bytes=32
time=20ms TTL=l bytes=32
5
24.1).0.l: time=l0ms TTL=.i 5
24.0.0.l: time=20ms TTL=l 5
24.0.0.1: time=4ms TTL=l2

Ping statistics for 24.0.0.1:


Packets: Sent= 4, Received= 4, Lost= 0 (01 loss),
Approximate round trip times in milli-seconds:
Minimum= 4ms, Maximum= 20ms, Average= 13ms


10.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which
you want to send the message to the destination computer, then Run the Simulation.

ROHIT KUMAR (2020UIN3322)


1- I s,rrua,ooPanel olx

"
VIS lime{sec) Last Device
0002 Switch()
0003RouterO
0004 Router1 Router2 BndgeO PC4
0005 BndgeO Router2 Router1 RouterO

l
0006 SW.tctll
R er2 0.007
0.008
0009
0010
0.011
Visible 0012

Bndge- T Bn

iifffrfi§f@■
Coostara Demy cap
Play Controls
0
5

mam
I
Event list Filers - ViStble Events
ACL Filer,ARP. BGP, BkJetooth, CAPWAP, CDP, DHCP, DHCP\16, DNS, DTP, EAPOL, E)GRP, EIGRPY6, FT!', H 323,HSRP,HSRPY6,HTTP.HTTPS, ICMP, ICMP\16,IPSec,ISAKMP,loT,loT T
PC-PT pc.PT
PC0 PC4
22.0.01
23.0.0.2
23001 24.001
RIP,RIPng, RTP, SCCP, SMTP, SNMP, SSH, STP,
I , ,
LOG TACACS TCP TFTT' ,
, Tei-et,
UDP
, USS
,

// Fire
e
Last Status SotJ""ce Destmauoo Type
Successful PC0 PC4ICMP ■0000
Color lime{sec) Per1od1c NLm Edit
N0 (edit)

,1
MM#lll■IWM

ROHIT KUMAR (2020UIN3322)


PRACTICAL-5
Implement static routing in a network.

Procedure:-
1.) Open Cisco Packet Tracer.

2.) Click on Network devices option from the bottom left corner and select Router among various
network devices.

3.) Select three "1841" Routers from available options.

1841
RouterO 1841 1841
Router1 Router2

,--.,
Time 00 05 26

4.) Click on Network devices option from the bottom left corner and select three "2960" switch and
connect them with router using "Copper Straight-Through".

2960-24TT 2960-24TT
Switch1 2960-24TT
SwitchO Switch2

ROHIT KUMAR (2020UIN3322)


5.) Click on End Devices and select PCs from available options. Click on Connections and select
"Copper Straight-Through" cable to connect PCs with Switches via GigabitEthernet Interface.

1 1
1 41
Ro r2
R erO

. PC-PT
. . .
PC-PT
PC2 PC-PT PC-PT
PCO PC5
PC4

6.) To connect the router, click on them; select "Physical" option from the top ribbon then turn off the router
from the button given in picture, then select "WIC-lT" and drag it to the empty slots in the router, then
turn on the Router. Repeat the process for the second and third router.
(" RouterO - D X

PhysicalConfig CU Attributes

MODULES HWIC-1GE-SFP HWIC-2T


• Physical Device View
HWIC-4ESW HWIC-8A
Zoom In Original Size Zoom Out
HWIC-AP-AG-B
WIC-1AM

WIC-2AM WIC-2T
WIG-Cover
GLC-LH-SMD

Icon in Physical View

..
Customize

ction to remote sites or legacy serial network devices such as Synchronous Data Link Control (SDLC) concentrators, alarm systems, and packet over SONET {POS) devices.

NOTE: Use WIC-2T port in the second router as we have to connect it with 2 routers.

ROHIT KUMAR (2020UIN3322)


7.) Select "Serial DCE" wire from the Connections to connect the routers. Click on one router and select
Serial port and then click on other router and select Serial port.

1 1
1 41 Ro r2
R erO

8.) Go to Config of Router0,then click on FastEthernet0/0 and write ipv4 address as 22.0.0.1 then click on "On"
to assign the IP address to the connected devices with default gateway as Router0 with IP address 22.0.0.1

Physical CLI Attributes

GLOBAL
• FastEthernet0/0 I
I0
Settings gorithm Setting
Port Status Bandwidth Duplex
MAC Address 100 Mbps10 Mbp -,u,v
On I
ROUTING
HaW DuplexFull Duplex II Auto
Static 00D0.BC33.5D01
RIP
SWITCHING IP Configuration IPv4 Address
VLAN Database Subnet Mask 22.0.0.1
INTERFACE 255.0.0.0

I FastEthernet0/0 I
FastEthernet0/1 Serial0/0/0 Tx Ring Limit 10


Equivalent IOS Commands
Router(config-if)i Router(config-if)# Router(config-if)#exit
Router(config)#interface FastEthernet0/0 Router(config-if)#ip address 22.0.0.1 255.0.0.0
Router(config-if)#ip address 22.0.0.1 255.0.0.0 Router(config-if)#

,, RouterO
□ X i
Repeat the process for Routerl and assign the IP address to the connected devices with default gateway as

ROHIT KUMAR (2020UIN3322)


Routerl with IP address 23.0.0.1

ROHIT KUMAR (2020UIN3322)


,'l'Router1 D X

Physical CU Attributes

GLOBAL • FastEtheme!0/0

-- Setting s
Algorithm Settings
Port Status II IQ5l
Bandwidth 100 Mbps 10 Mbps II Auto
Full Duplex II
ROUTING Duplex
-- HaWDuplex
Static
RIP Auto
SWITCHING MAC Address
IP Configuration 0001.C726.BE01
VLAN Database 1Pv4 Address 23.0.0.1
INTERFACE Subnet Mask 255.0.0.0
I FastEthernet0/0 I
FastEtherneto/1 Tx Ring Limit 10
Serial0/0/0
Serial0/0/1


Equivalent !OS Commands

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line.
Router(config)#interface FastEthernet0/0 End with CNTL/Z. I
0 Top

Repeat the process for Router2 and assign the IP address to the connected devices with default gateway as
Router3 with IP address 24.0.0.1.

,if'Router2 D X
Physical
CU Attributes

GLOBAL • Fas!Ethemeto/0

■■
Settings
Port Status Bandwidth Duplex On
_Afgorithm Settings


MAC Address 100 Mbps 10 MbpsAuto
ROUTING HaWDuplex
Static Full Duplex Auto
0060.3EBE.DE01
RIP
-- --
SWITCHING IP Configuration
VLAN Database 1Pv4 Address 24.0.0.1
INTERFACE Subnet Mask 255.0.0.0

I FastEthernet0/0 I
FastEthernet0/1 Serial0/0/0 Tx Ring Limit 10


Equivalent !OS Commands

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config- f)# Router(config- f)#exit


Router(config) interface FastEthernet0/0 Router(config- f)#
I

ROHIT KUMAR (2020UIN3322)


9}.Go to every PC's Desktop, click IP configuration and select static to assign the IP address statically and type
ip address of router in default gateway column of pc. Repeat this step for all PC's.

d 'lPCO D X

Physical Config Deskto Programming Attributes

IP Configuration El
Interface FastEthernetO V

IP Configuration

Q DHCP 0 Static

1Pv4 Address 22.0.0.2


Subnet Mask 255.0.0.0
Default Gateway 22.0.0.11
DNS Server 0 0.0.0

10).Now, to connect the two routers with each other. Go to Router0,then click on config and then on
serial0/0/0,then type the ip address as 25.0.0.1 and click on "On" button in order to assign the IP address to
the Router0 which is going to connect to Routerl via the interface Serial0/0/0.
I{' RouterO D X

Physical IC onfJol CU Attributes

GLOBAL
Settings Algorithm Settings
.. Serial0/0/0

ROUTING ort Status Duplex Clock Rate


Static IP Configuration Full Duplex
RIP IPv4 Address 2000000
SWITCHING Subnet Mask
VLAN Database
INTERFACE
FastEtherneto/0 FastEthernet0/1 25.0.0.1
255.0.0.0

TxRingLimit 10

SerialO O 0

.
Similarly, Go to Routerl to perform the same operation in order to connect Routerl to Router0. Assign
25.0.0.2 address to Routerl.

GLOBAL
Setting_s
.. Serial0/

Port Status • [Q6]


_Al_gorithm Duplex Full Duplex
Setting Clock Rate 2000000 V
Static
--
RIP IP Configuration
SWITCHING 1Pv4 Address 25.0.0.2
VLAN Database Subnet Mask 255.0.0.0
INTERFACE
FastEthernet0/0 FastEthernet0/1
Tx Ring Limit 10

I Serial0/0/0 I
I SeriaI0/0/1

ROHIT KUMAR (2020UIN3322)


Now, To Connect Routerl with Router2, go to router 1 and assign IP address of 26.0.0.1.

GLOBAL
Setting_s
• Serial0/0/1

Similarly, to Router2 Port


GoSettings
Algorithm andStatus
assign IP address of 26.0.0.2. II On
Duplex Full Duplex
ROUTING
Clock Rate 2000000 V
Static
GLOBAL
RIP • IP Configuration
Serial0/0/0

- Settings
SWITCHING
gorithm Setting
- 1Pv4
Port Address
Status 2600.1 ll[Qii]
VLAN Database Duplex
Subnet Mask Full Duplex
255.0.0.0
ROUTING
INTERFACE Clock Rate 2000000 V

Static
- FastEthernet0/0
RIP - TxIPRing Limit
Configuration 10
FastEthernet0/1 1Pv4 Address 26.0.0.2
SWITCHING
Serial0/0/0
- Subnet Mask 255.0.0.0
[ VLAN Database
Serial0/0/1
INTERFACE
I
FastEthernet0/0 Tx Ring Limit 10
FastEthernet0/1
[ Serial0/0/0 I

11) To add a next hop to a route using the CLl(statically), follow these steps:

1. select the router you want to configure.


2. In the command line interface (CLI) of the router, enter "enable" mode by typing "enable" and
hitting enter.
3. Type "configure terminal" and hit enter to enter configuration mode.
4. Type "ip route [destination network address] [subnet mask] [next hop IP address]" to add a
static route to the routing table.
5. Type "end" to save the changes and exit configuration mode.

ROHIT KUMAR (2020UIN3322)


Go to cli of routerl and type these command to add next hop

IPRouterO D X

Physical Config

-
CLI Attributes

IOS Command Line Interface

Press RETURN to get started!

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip route 23.0.0.0 255.0.0.0 25.0.0.2
Router(config)#ip route 26.0.0.0 255.0.0.0 25.0.0.2
Router(config)#ip route 24.0.0.0 255.0.0.0 25.0.0.2 Router(config)#end
Router#
II%SYS-5-CONFIG- I:
I
Configured from console by console

Cop!. ] Paste

Repeat the process for Routerl.

Router1 D X

Physical Config CLI Attributes

10S Command Line Interface

Press RETURN to get started!

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z.

I
Router(config)#ip route 22.0.0.0 255.0.0.0 25.0.0.1
Router(config)#ip route 24.0.0.0 255.0.0.0 26.0.0.2 Router(config)#end
Router#
%SYS-5-CONFIG I: Configured from console by console

ROHIT KUMAR (2020UIN3322) ■


Repeat the process for Router2.

'-iflRouter2 D X

Physical Config CLI Attributes

IOS Command Line Interface

Press RETURN to get started!

Router>enable Routerl/configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)l/ip route 23.0.0.0 255.0.0.0 26.0.0.1

I
Router(config)l/ip route 22.0.0.0 255.0.0.0 26.0.0.1
Router(config)#ip route 25.0.0.0 255.0.0.0 26.0.0.1 Router(config)l/end
Router/I
I%SYS-5-CONFI-G I: Configured from console by console

12).To check whether the PCs are connected to each other, we use PING command. Click on any computer and
then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other computer*"
(*excluded). If all the packets are received (O Lost) then the connection is successfully established.
Physical Config Deskto Programming Attributes

Command Prompt II
Cisco Packet Tracer C:\>ping 24.0.0.2
PC Command Line 1.0

Pinging 24.0.0.2 with 32 bytes of data:

Reply Reply
from from
Reply
from
Reply
24.0.0.2:from
bytes=32 time=13ms TTL=l26
24.0.0.2: bytes=32 time=7ms TTL=126
24.0.0.2: bytes=32 time=l0ms TTL=l26
24.0.0.2: bytes=32 time=Bms TTL=126

Ping
statistics for 24.0.0.2:
Packets: Sent= 4, Received= 4, Lost= 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum= 7ms, Maximum= 13ms, Average= 9ms


13).For tracing the routes taken by packets to reach from one pc to another. Click on any computer and
then

ROHIT KUMAR
(*excluded). Then it will display the path taken by the packets from the source device to the destination
,including the ip addresses of each hop and the time it takes for the packet to reach each hop.

PCO D X

Physical Config Deskto Programming Attributes

Command Prompt El
C:\>tracert 24.0.0.3

Tracing route to 24.0.0.3 over a of 30 hops:


maxim
1 0 ms 0 ms 0 ms 22.0.0.1
2 8 ms 1 ms 1 ms
3 0 ms 1 ms 1 ms 26.0.0.2
25.0.0
4 0 ms 10 ms 6 ms 24.0.0.3

Trace complete.

14.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which you
want to send the message to the destination computer, then Run the Simulation.

I SImulallon Panel

I
0
E:nt Us1 Time(sec) Swi
0 Last Device
tch

.0.1 26. 0.05 Router2


0.06 Switch2
25 • -- J;------------------,
0.07 PCS
:{41 1,t,1 ·R; 0.08 Switch2
RjerO Rmrr1
0.09 Router2
24 0 0 1
22.0.0.1 23.0.0.1 0.10 Router1
-
0.11 RouterO
Visible 0.012 SwitchO

[email protected]&@@ ■ Constant Delay Capt

mam
os Play Controls

I
Event List Fillers - Visible Events
AGL Filter, ARP, BGP, Bluetooth, CAPWAP, CDP,
DHCP, DHCPv6, DNS, DTP, EAPOL, EIGRP,
PC-Pi-- PC-PT
EIGRF\16, FTP, H.323, HSRP, HSRPv6, HTTP,
HTTPS, ICMP,ICMPv6, lPSec, ISAKMP, loT,
loTTCP, LACP, LLDP, Meraki, NOP, NETFLOW,
NTP, OSPF, OSPFv6,
23.0.0. PC4 PCS PAgP, POP3, PPP, PPPoED, PTP, RADIUS,
22.0.0.2 22.0.0.3 23.0.0.2 REP, RIP, RIPng, RTP, SCCP, SMTP, SNMP,
3 24.0.0.3
SSH, STP, SYSLOG, TACACS, TCP, TFTP,
24.0.0.2
Telnet, UDP, USB, VTP

I ¥n■¥:i4 MM-MH i,iM


Time 012s1312B1(}1PLAYCDNTROLSIE_l I ] ------------------------------------------10Realt1me1
// QScenario0 Fire Last Status Source Destination Type Color Tirne(sec) Periodic Num [dit Delete

v
e Successful PC0 PCS ICMP 0.000 N 0 (edit) (delete)

MM§ \l■IISMti
Automaticallv Choose Connection Tvne

ROHIT KUMAR (2020UIN3322)


PRACTICAL-6
Implement dynamic routing in a network.

Procedure:-
1.) Open Cisco Packet Tracer.
2.) Click on Network devices option from the bottom left corner and select Router among various network
devices.

3.) Select three "1841" Routers from available options.

1841
RouterO 1841 1841
Router1 Router2

Time 00 05 26@


•1
1841

4.) Click on Network devices option from the bottom left corner and select three "2960" switch and
connect them with router using "Copper Straight-Through".

2960-24TT 2960-24TT
Switch1 2960-24TT
Switch0 Switch2

ROHIT KUMAR (2020UIN3322)


5.) Click on End Devices and select PCs from available options. Click on Connections and
select "Copper Straight-Through" cable to connect PCs with Switches via GigabitEthernet
Interface.

1 1
Ro r2

7.) To connect the router, click on them; select "Physical" option from the top ribbon then turn off the router
from the button given in picture, then select "WIC-2T" and drag it to the empty slots in the router, then
turn on the Router. Repeat the process for the second and third router.

ifl RouterO D X

Physical Config CLI Attributes

MODULES • Physical Device View


HWIC-1GE-SFP
Zoom Original Size Zoom Out
HWIC-2T In
HWIC-4ESW
HWIC-8A
HWIC-AP-AG-B •
WIC-1AM
WIC-1ENET
WIC-1T

GLC-LH-SMD

Customize

• Customize Device Image in


The dual-serial port WAN interface cards (WICs} feature Cisco·s
new, compact, high-density Smart Serial connector to support a ■
wide variety of electrical interfaces when used with the

ROHIT KUMAR (2020UIN3322)


0 Top

ROHIT KUMAR (2020UIN3322)


7.) Select "Serial DCE" wire from the Connections to connect the routers. Click on one router and select Serial
port and then click on other router and select Serial port.

22.0.0.1
24.0.0.1

2200.2 22.0.0.3 24.0.0.3

23.0.0.2 23.0.0.3

8.) Go to Config of Router0,then click on FastEthernet0/0 and write ipv4 address as 22.0.0.1 then click on "On"
to assign the IP address to the connected devices with default gateway as Router0 with IP address 22.0.0.1

RouterO D X r=
Physical CU Attributes

GLOBAL
• FastEthernet0/0

I0
Settings
_Afgorithm Settings Port Status Bandwidth Duplex
MAC Address 100 Mbps 10 Mbpo -,u,u
On I
ROUTING
Static HaWDuplexFull Duplex II
Auto
RIP 00D0.BC33.5D01

SWITCHING IP Configuration
VLAN Database 1Pv4 Address 22.0.0.1
INTERFACE Subnet Mask 255.0.0.0

I FastEthernet0/0 j
FastEtherneto/ 1 Tx Ring Limit 10
Serial0/0/0


Equivalent IOS Commands
Router(conf1g-1f)i Router(config-if)# Router(config-if)#exit
Router(config)#interface FastEthernet0/0 Router(config-if)#ip address 22.0.0.1 255.0.0.0
Router(config-if)#ip address 22.0.0.1 255.0.0.0

I
Router(config-

ROHIT KUMAR (2020UIN3322)


Repeat the process for Routerl and assign the IP address to the connected devices with default gateway as
Routerl with IP address 23.0.0.1
(ii?Router1 D

-
X

Physical CU Attributes

GLOBAL
Settings
• FastEtherneto/0

_J\lgorithm Settings Port Status


ROUTING Duplex
Bandwidth HaWDuplex
100 Mbps Full10


Auto
Static
Duplex MAC Address 0001.C726.BE01A
RIP
SWITCHING IP Configuration
VLAN Database
1Pv4 Address 23.0.0.1
INTERFACE
Subnet Mask 255.0.0.0
I FastEthernet0/0 I
FastEthernet0/1 Serial0/0/0 Serial0/0/1
TX Ring Limit 10


Equivalent IOS Commands

Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line.
Router(con g)! ?terface FastEthernet0/0
End with CNTL/Z. I
0 Top

Repeat the process for Router2 and assign the IP address to the connected devices with default gateway as
Router3 with IP address 24.0.0.1.
( Router2 D X

Physical CU Attributes

GLOBAL • FastEthernet0/0
Settings Algorithm Settings On
ROUTING--

■■
Port Status Bandwidth Duplex
Static
MAC Address 100 Mbps10 Mbps Auto
RIP
SWITCHING HaWDuplex Full Duplex Auto
VLAN Database 0060.3EBE.DE01
INTERFACE
IP Configuration
1Pv4 Address 24.0.0.1
Subnet Mask 255.0.0.0

I FastEtherneto/0 I
tEtherneto/1 Tx Ring Limit 10
Serial0/0/0

.,
Equivalent IOS Commands
\LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)# Router(config-if)#exit
Router(config)#interface FastEthernet0/0
I
Router(config-

ROHIT KUMAR (2020UIN3322)


9}.Go to every PC's Desktop, click IP configuration and select static to assign the IP address statically and type
ip address of router in default gateway column of pc. Repeat this step for all PC's.

( PCO D X

Physical Config Deskto Programming Attributes

IP Configuration
£1
V
InterfaceFastEthernet0 IP Configuration
Q 0
DHCP Static

1Pv4 Address 22.0.0.2


Subnet Mask 255.0.0.0
Default Gateway 22.0.0.11
DNS Server 0 0.0.0

10).Now, to connect the two routers with each other. Go to Router0,then click on config and then on
serial0/0/0,then type the ip address as 25.0.0.1 and click on "On" button in order to assign the IP address to
the Router0 which is going to connect to Routerl via the interface Serial0/0/0.
Router0 D X

Physical [C_o_nfigl CU Attributes

GLOBAL
Settings
• Serial0/0/0

Port Status
Algorithm Settings
)Juplex Full Duplex
ROUTING
Clock Rate 2000000 V
Static
RIP IP Configuration
SWITCHING IPv4 Address 25.0.0.1
VLAN Database Subnet Mask 255.00.0
INTERFACE
FastEthernet0/0 TxRing Limit 10
FastEthernet0/ 1
Serial0/0/0

.
Similarly, Go to Routerl to perform the same operation in order to connect Routerl to Router0. Assign
25.0.0.2 address to Routerl.

-- GLOBAL
.. Serial0/0/0

Settings
Algorithm Settings
Port Status ■ !Qii]
Duplex Full Duplex
ROUTING
Clock Rate 2000000 V

Static
RIP IP Configuration

SWITCHING 1Pv4 Address 25.0.0.2


VLAN Database Subnet Mask 255.0.0.0
INTERFACE
FastEthernet0/0 Tx Ring Limit 10
FastEthernet0/1
I Serial0/0/0 I


I SeriaI0/0/1

ROHIT KUMAR (2020UIN3322)


Now, To Connect Routerl with Router2, go to router 1 and assign IP address of 26.0.0.1.

GLOBAL • Serial0/0/1

-- Settings
--
Algorithm Settings
Port Status
Duplex Full Duplex
■ On
ROUTING
Clock Rate 2000000 V
Static
RIP IP Configuration
SWITCHING 1Pv4 Address 26.0.0.1
VLAN Database Subnet Mask 255.0.0.0
INTERFACE
Tx Ring Limit 10

@StEthernet0/0
FastEthernet0/1 I
Serial0/0/0

Similarly, Go to Router2 and assign IP address of 26.0.0.2.

GLOBAL • Serial0/0/0
Settings
Algorithm Settings Port Status
Duplex Full Duplex
■[Qii]
ROUTING
-- Static
-- Clock Rate 2000000 V

RIP IP Configuration
SWITCHING 1Pv4 Address 26.0.0.2
VLAN Database Subnet Mask 255.0.0.0
INTERFACE
FastEthernet0/0 Tx Ring Limit 10
FastEthernet0/1
[ Serial0/0/0 I

Now, To connect router 0 and router 2,go to router 0 and click on serial0/0/1 then assign ip address of
27.0.0.1.

RouterO D X

Physical Config CLI Attributes

GLOBAL • Serial0/0/1
Setting_s
Algorithm Settings Port Status
Duplex Full Duplex
■ On
ROUTING
Clock Rate 2000000 V

- Static
RIP - IP Configuration
SWITCHING 1Pv4 Address 27.0.0.1
VLAN Database Subnet Mask 255.0.0.0
INTERFACE
FastEthernet0/0 Tx Ring Limit 10
FastEthernet0/1
Serial0/0/0
Serial0/0/1

ROHIT KUMAR (2020UIN3322)


Similarly ,go to router 0 and click on serial0/0/1 then assign ip address of 27.0.0.2

11) After configuring all of the devices we need to assing the routes to the routers.

To assign Rip routes to particular router:

• Click on the router that you want to configure and click on the CLI tab at the bottom of the
window.
• Type "enable" to enter privileged mode and then type "configure terminal" to enter global
configuration mode.
• Type "router rip" to enter the RIP configuration mode.
• Type "network <network-address>" to enable RIP on the interface connected to the specified
network. Repeat this step for each interface that you want to enable RIP on.
• Type "exit" to exit the RIP configuration mode and return to the global configuration mode.
• Type "exit" again to return to privileged mode.
• Type "copy running-config startup-config" to save the configuration.

Go to cli of routerl and type these command to add routes to router 1

'- Router0 D X

Physical Config CLI Attributes

IOS Command Line Interface

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

Router>en Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router rip
Router(config-router)#network 22.0.0.0
Router(config-router)#network 23.0.0.0
Router(config-router)#network 24.0.0.0

I
Router(config-router)#network 25.0.0.0
Router(config-router)#network 26.0.0.0
Router(config-router)#network 27.0.0.0 Router(config-router)#exit Router(confiq)#exit

Repeat the process for Routerl.

ROHIT KUMAR (2020UIN3322)


1.it'Router1 D X

Physical Config CU Attributes

IOS Command Line Interface


%LINK-5-CHANGED: Interface Serial0 0 0, changed state to up

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

Router>en Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z.

I
Router(config)#router rip Router(config-router}#network 22.0.0.0
Router(config-router}#network 23.0.0.0
Router(config-router)#network 24.0.0.0
Router(config-router)#network 25.0.0.0
Router(config-router)#network 26.0.0.0
Router(config-router)#network 27.0.0.0 Router(config-router)#exit Router(config)#exit
Router#

Repeat the process for Router2.


l Router2 D X

Physical Config ...£!.L.. Attributes

IOS Command Line Interface


%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up

%LINEPROT0-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up

%LINEPROT0-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up

Router>enable Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z.

I
Router(config)#router rip Router(config-router)#network 22.0.0.0
Router(config-router)#network 23.0.0.0
Router(config-router)#network 24.0.0.0
Router(config-router)#network 25.0.0.0
Router(config-router)#network 26.0.0.0
Router(config-router)#network 27.0.0.0
Router(config-router)#exit Router(config)#exit Router#
I %SYS-5-CONFIG - I: Configured from console by console

Copy Paste

12).To check whether the PCs are connected to each other, we use PING command. Click on any computer and
then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other computer*"
(*excluded). If all the packets are received (O Lost) then the connection is successfully established.

ROHIT KUMAR (2020UIN3322)


C:\>ping 24.0.0.3

Pinging 24.0.0.3 with 32 bytes of data:

Reply Reply
from from
Reply
from
Reply
24.0.0.3:from
bytes=32 time=23ms TTL=l26
24.0.0.3: bytes=32 time=llms TTL=l26
24.0.0.3: bytes=32 time=3ms TTL=126
24.0.0.3: bytes=32 time=lms TTL=126

Ping statistics for 24.0.0.3:


Packets: Sent= 4, Received= 4, Lost= 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum= lms, Maximum= 23ms, Average= 9ms

C: \>

0 Top

13).For tracing the routes taken by packets to reach from one pc to another. Click on any computer and
then go to "Desktop" and select "Command Prompt", then type "tracert *IP address of any other
computer*" (*excluded). Then it will display the path taken by the packets from the source device to the
destination
,including the ip addresses of each hop and the time it takes for the packet to reach each hop.
C:\>tracert 24.0.0.3

Tracing route to 24.0.0.3 over a maximum of 30 hops:

1 0 ms ms ms 0 ms 0 ms 22.0.0.1
2 0 5 ms 1 ms 27.0.0.2
3 0 0 ms 1 ms 24.0.0.3

Trace complete.

14.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which you
want to send the message to the destination computer, then Run the Simulation.

I
Simulation Panel t51X
Event List
Vis. lime(sec) Last Device
0.000

0.001PC0
0002SwitchO
RouterO
Router2
Switch2
PCS
Switch2
22.0.0.1 Router2
24.0.0.1 RouterO
Visible 0.010Sw1tch0

f•if§i:jjij§§ ■
14'1 ch2
Roifer1 Constant Delay Capt :Jo

A
mam
Play Controls

;. I
PC-PT PC4 PCS
Event List Filters - Visible Events
AGL Filter, ARP, BGP, Bluetooth, CAPWAP, COP, OHCP, DHCPv6, DNS, OTP, EAPOL, ElGRP, EIGRPv6, FTP, H.323, HSRP, HSRPv6, HTTP, HTTPS, ICMP, ICMPv6, lPSec, ISAKMP, loT, loTTCP, LACP, LLDP, NOP, NETFLOW, NTP, OSPF, OSPF

d-
22.0.0.2 22.0.0.3 2 3.0.0.1 24.0.0.3
24.0.0.2

PC-PT PC-PT
PC2 PC3

I inf¥@
'··.
Q Scenario o v Fire Last Status Source Destination Type Color Time(sec) Periodic Num Edit Delete
e PCS ICMP ■ 0.000 N O (edit) (delete)
• -

ROHIT KUMAR (2020UIN3322)


Select a Device to Ora and Oro to the Works ace 1%5§ \!IIISMM Successful PCO

ROHIT KUMAR (2020UIN3322)


PRACTICAL- 7

Explore the working of netstat, ping and traceroute


command. Debugging the network to find down links.

I. PING:
Ping uses ICMP (Internet Control Message Protocol) Echo messages to
see if a remote host is active or inactive, how long a round trip message
takes to reach the target host and return, and any packet loss. It sends a
request and waits for a reply (which it receives if the destination responds
back within the timeout period).lt's basically a quick, easy way to verify that
you can reach a destination on the internet.

To use the ping command in Packet Tracer, follow these steps:


• Open the command prompt or terminal.
• Type the ping command followed by the destination host or IP address.
• Press Enter to run the command.
• Review the output to see the response time, packet loss, and other statistics.

Lets use this command on practical 6 network .After using this command we get the output
as given below :

□ X

Physical Config Deskto Programming Attributes

Command Prompt El
Cisco Packet Tracer C:\>ping
PC 24.0.0.3
Line 1.0
Comma

Pinging 24.0.0.3 with 32 bytes of data:

Request timed out.


Reply from 24.0.0.3: bytes=32 time=lOms TTL=126
Reply from 24.0.0.3: bytes=32 time=lms TTL=126
Reply from 24.0.0.3: bytes=32 time=l9ms TTL=126

Ping statistics for 24.0.0.3:


Packets: Sent= 4, Received= 3, Lost= 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum= lms, Maximum= 19ms, Average= lOms


C:\>

ROHIT KUMAR (2020UIN3322)


II. TRACEROUTE:
Traceroute is one of the most common utilities built into most operating systems. It is useful
for diagnosing network connections. It shows the path of a packet going from your
hosUcomputer through each of the individual routes that handle the packet and time
required for it to go from one router to another up to the final hosUdestination.

How it works
When you start the traceroute command, it sends a packet (using the Internet Control
Message Protocol or ICMP) with a time limit value (known as the 'time to live' - TTL). The first
packet has a TTL of 1, the second packet has a TTL of 2, etc. Increasing TTL in such a
manner, it resends the packet so that you can reach the first, the second and other routers on
the way to the destination. When a router receives the packet, it sends a Time Exceeded
message, which provides an opportunity to determine the time required for the hop to the
router. Each time a packet is passed to a new router, the TTL is decreased by 1. When it
reaches 0, the packet is discarded, and the router returns an error message.

Traceroute determines that the packet has reached the destination by including a port number
that is outside the normal range. When it's reached, the Port Unreachable message is sent
in return, which defines the time length of the final hop. Traceroute provides you with the
information hop by hop. Each hop is determined three times. When a website is unreachable
or slow, traceroute allows you to see where the connection fails or has delays.

To use the traceroute command in Packet Tracer, follow these steps:


• Open the command prompt or terminal.
• Type the tracert command followed by the destination host or IP address.
• Press Enter to run the command.
• Review the output to see the route that packets take and the IP addresses of routers along the
path.

Lets use this command on practical 6 network .After using this command we get the
output as given below :
C:\ to 24.0.0.3 over a maximum of
24.0.0 :
Tracing 30
1 0 ms 0 ms 0 ms 22.0.0.1
2 0 ms 0 ms 13 ms 27.0.0.2
3 1 ms 0 ms 0 ms 24.0.0.3

Trace complete.

C:

ROHIT KUMAR (2020UIN3322) ■


Ill. NETSTAT:
Netstat (Network Statistics) is a command-line tool used to display and analyze network connections
and their corresponding protocols (TCP or UDP), IP addresses, and port numbers. It can be used to
diagnose network connectivity issues, monitor network traffic, and identify security issues.

The netstat command can show active connections, listening ports, routing tables, and multicast
group memberships. It can also display statistics for each protocol, such as the number of packets
sent and received, errors, and discards.

Netstat is available on most operating systems, including Windows, Linux, and macOS. It is a
powerful tool for network administrators, developers, and security analysts to troubleshoot network
issues and monitor network performance.
To use the netstat command in Packet Tracer, follow these steps:
• Open the command prompt or terminal.
• Type the netstat command followed by any options or arguments you want to use.
• Press Enter to run the command.
• Review the output to see active network connections, protocols, addresses, and ports.

Lets use this command on practical 6 network .After using this command we get the output
as given below :
Physical Config Deskto Programming Attributes

Command Prompt

C:\

Acti List
Interfa Connectio
Address r Invalid Command.
Proto Local C:\>netstat Foreign Address
O Sta
x
2
...........
PT TCP Loopback interface
C:\ ...00 16 -6f Od ec ..... . PT Eth
88 ernet interface
Rou ...Tab 1 6 O 88 ec . PT TCP Loopback interface
... PT Bluetooth interface

Active Routes: Network Destination


Netmask
0.0.0.0 Gateway Interface
0.0.0.0
Default Gateway: Metr
22.0.0.1 22.0.0.2 1
22.0.0
Routes:
Persistent None

C:\>netstat

Active Connections


Proto Local Address
Address Foreign Sta

ROHIT KUMAR (2020UIN3322)


PRACTICAL-8
Establish a VLAN configuration.
Procedure:-
1.) Open Cisco Packet Tracer.
2.) Click on Network devices option from the bottom left corner and select Router among various
network devices. Select one "1841" router from the available options.
3.) Click on Network devices option from the bottom left corner and select one "2960" switch.
4.) Click on End Devices and select four PCs from available options. Click on Connections and connect them.

"
PC-P T PC1 "
PC-P T PC2

5.) Go to Config of Router0,then click on FastEthernet0/0 and write ipv4 address as 192.168.1.1 then click on "On"
to assign the IP address to the connected devices with default gateway of Router0 with IP address 192.168.1.1.
, RouterO D X

Physical CU Attributes

GLOBAL
Settings Algorithm Settings
.. FastEthernet0/0
On


ROUTING Port Status Bandwidth Duplex
Static

MAC Address 100 Mbps HaWDuplex
10 Mbps Auto
Full Duplex Auto
00E0.8FD1.3101
RIP
SWITCHING IP Configuration
VLAN Database 1Pv4 Address 192.168.1.1
INTERFACE Subnet Mask 255.255.255.0
I FastEthernet0/0 I
FastEtherneto/ 1 Tx Ring Limit 10


ROHIT KUMAR (2020UIN3322}


6.) Set the gateway of pcO and pcl to 192.168.1.1
• Set ip of pcO to 192.168.1.2.
• Set ip of pcl to 192.168.1.3.

1. .i!?PCO □ D
X
Physical Desktop Programming Attributes Physical [ConfigJ Desktop Programming Attributes

GLOBAL
Settings
Global Settings GLOBAL
Settings
• FastEthemetO

Algorithm Settings Port Status I O


INTERFACEDisplay Name PC0 Alg_o_rithm Settings
Bandwidth 100 Mbps 10 Mbps I Auto
----------- INTERFACE
7.) Set the gateway of pc2 and pc3 to 192.168.2.1 Duplex Ha Duplex Full DuplexI Auto
FastEthernet0 nterfacesFastEthernetO
1 FastEthernet0
Bluetooth MAC Address 000C.851B.1DEC
Bluetooth
• 192.168.2.1 is our VLANGateway/DNS1Pv4
gateway. IP Configuration
Q DHCP
Q DHCP
• Set ip of pc2 to 192.168.2.2
• Set ip of pc3 to 192.168.2.3 I 0 Static
Default Gateway _1_92_.1_68_.1_.1-'-l ----t----------
0 Static
1Pv4 Address 192.168.1.2 l
l PC2 bNs server □ X Subnet Mask 255.255.255.0 l
Physical Desktop Programming Attributes
i!? PC2 □ X

GLOBAL ... Global Settings


Physical [C_oliflgj Desktop Programming Attributes
Settings
GLOBAL ... FastEthernet0


Alg ithm Setting'!,,,
INTERFACE DisplayName PC2 Settings Port Status
FastEtherneto Bluetooth InterfacesFas!Ethernet0 V
Algorithm Settings
Gateway/DNS1Pv4
Q
INTERFACE
On
Bandwidth 100 Mbps 10Mbps ■ Auto

DHCP FastEthernet0
0 Static Bluetooth Duplex Ha Duplex FullDuplex
IP Configuration
Auto
Default Gateway 192168.2.11 I Q DHCP
UN erver " N->'-

1Pv4 Address 192.168.2.2 l


] Gateway/DNSIPv6I Subnet Mask 255.255.255.0 I

8.) Add {number: 2, name: student} to the VLAN database on the switch.
To add a VLAN to the VLAN database of a Cisco switch using the CLI command in Cisco Packet Tracer, you can follow these
steps:

1. Open the CLI console of the switch by clicking on it and then selecting "CLI" from the bottom panel.
2. Enter privileged EXEC mode by typing "enable".
3. Enter global configuration mode by typing "configure terminal".
4. Create the VLAN by typing "vlan <vlan_id >" where <vlan_id > is the number of the VLAN you want to create. For
example, to create VLAN 10, type "vlan 1O".


5. Assign a name to the VLAN by typing "name <vlan_name>" where <vlan_name> is the name you want to give to
the VLAN. For example, to name VLAN 10 as "Sales", type "name Sales".

ROHIT KUMAR (2020UIN3322)


6. Exit global configuration mode by typing "end".
( SwitchO D X

Physical Config CLI Attributes

IOS Command Line Interface

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/4, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up

Switch>enable Switchi/config t
Enter configuration commands, one per line. End with CNTL/Z.

Switch(config}i/vlan 2 Switch(config-vlan}#name student Switch(config-vlan}#end


Switch#
%SYS-5-CONFIG I: Configured from console by console
I
9.} Check the port number of the port connected to the router from the switch and set its type to
Trunk.
1. SwitchO D X

Physical Config CLI Attributes

GLOBAL FastEthernet0/5

■■
Settings
Port
Algorithm Settings
OnFull
10

Status 100 Mbps Mbps Auto
SWITCHING Bandwidth Haff Duplex
VLAN Database

.:JI
Duplex Duplex Auto
INTERFACE Trunk vi VLAN 11
FastEthernet0/1
Access I 10
FastEthernet0/2
FastEthernet0/3
FastEthernet0/ 4
I FastEthernet0/5 I
FastEthernet0/6
FastEthernet0/7
FastEthernet0/8
FastEthernet0/9
FastEthernet0/10

Equivalent IOS Commands


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up


I
ROHIT KUMAR (2020UIN3322) ■
10.) Change the vlan of ports of the switch connected to pc2 and pc3 to {number: 2, name: student}.
SwitchO O X

Physical Config CLI Attributes

GLOBAL FastEthernet0/3

■■
Settings
Algorithm Settings Port Status Bandwidth Duplex On


SWITCHIN -- 100 Mbps 10 MbpsAuto
VLAN Database G Half Duplex Full Duplex Auto
INTERFACE
Access V VLAN I:, •I
FastEthernet0/1 Tx Ring Limit -- 012:studentl
I
1:default
FastEthernet0/2 10

I FastEthernet0/3 j 01002:fddi-default
FastEthernet0/ 4
FastEthernet0/5
FastEthernet0/6
FastEthernet0/7 FastEthernet0/8

FastEthernet0/9
FastEthernet0/10

Frn1ivAIPnt ins 1.nmmAnrl<;

11.) Add {number: 20, name: student} to the VLAN database on the router.
<. RouterO D X

Physical Config CLI Attributes

VLAN Configuration
GLOBAL
Settings
• VLAN Number 2
gorithm Settings VLAN Name student
ROUTING
Static Add Remove
RIP

I
VLAN No VLAN Name
SWITCHING default student
I VLAN Database j
2
fddi-default token-ring-default
INTERFACE fddinet-default
1002
FastEtherneto/0
1003
FastEthernet0/1 1004


Equivalent IOS Commands
documentation for configuring VTP/VLAN in config mode.

Router(vlan)#
%SYS-5-CONFIG_I: Configured from console by console vlan 2 name student
VLAN 2 modified: Name: student
Router(vlan)#
I

ROHIT KUMAR (2020UIN3322)


12.) Go to router CLI and run the following commands:
• config t
• int f 0/0
• encapsulation dotlq 2
• ip address 192.168.2.1 255.255.255.0
• exit
• exit
( Router0 D X

Physical Config CLI Attributes

IOS Command Line Interface


Router(vlan)#
%SYS-5-CONFIG I: Configured from console by console vlan 2 name student
VLAN 2 modified: Name: student
Router(vlan)# Router(vlan)#exit APPLY completed. Exiting ....
Router#config t
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#int f 0/0.1
Router(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up

Router(config-subif)#encapsulation dotlq 2
Router(config-subif)#ip address 192.168.2.1 255.255.255.0 Router(config-subif)#exit
Router(config)#exit Router#
I %SYS-5-CONFIG- I: Configured from console by console

Copy Paste
I
13). To check whether the PCs are connected to each other, we use PING command. Click on any computer
and then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other
computer*" (*excluded). If all the packets are received (O Lost) then the connection is successfully established.

ROHIT KUMAR (2020UIN3322)


, PCO D X

Physical Config Deskto Programming Attributes

Command Prompt El
Tracer PC Command
Line 192.168. 1.0
C:\ 2
192.168.2.3 with 32 bytes of data:
Pingi
Reply from 192.168.2.3: bytes=32 time<lms
TTL=127 Reply from 192.168.2.3: bytes=32
time=lms TTL=127 Reply from 192.168.2.3:
bytes=32 time<lms TTL=127 Reply from
192.168.2.3: bytes=32 time<lms TTL=127

Ping statistics for 192.168.2.3:


Packets: Sent= 4, Received= 4, Lost= 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum= Oms, Maximum= lms, Average= Oms

C: \>

14.) Click on "Add Simple PDU" option from the top ribbon and then selecting the computer from which you
want to send the message to the destination computer, then Run the Simulation.
Cisco Packet Tracer IJl X
File Edit Options View Tools Extensions Window Help
liliiiililt,O.L=.l\ @illr'+ <i\.i!l_E\.□ll!l liliiiil
::;o_G::;:lil/••li:r,

I
S1mulat1on Panel
st
Time(sec) Last Device
0000

0001 PCO
0.002 SwitchO RouterO SwitchO PC3
0.003 SwitchO RouterO SwitchO
0.004
I 0.005
0.006
0.007
Vlsible O 008
0-483

[email protected]&@@ ■ Constant Delay Capt jos

mamI
Event List Filters- Visible Events
AGL Filter, ARP, BGP, Bluetooth, CAPWAP, CDP,
□HCP, DHCPl/6, DNS, DTP, EAPOL, EIGRP,
192.168.2.3 EIGRPl/6, FTP, H.323, HSRP, HSRPl/6, HTTP, HTTPS,
192.168.1.3 192.168.2.2 ICMP,ICMP\16, IPSec, ISAKMP, loT,!oTTCP, LACP,
192.168.1.2 LLDP, Meraki, NOP, NETFLOW, NTP, OSPF, OSPFv6,

i in
PAgP, POP3, PPP, PPPoED, PTP, RADIUS, REP, lP, RIPng, RTP, SCCP, SMTP, SNMP, SSH, STP, SYSLOG, TACACS, TCP, TFTP, Telnet, UDP, USS,

VTP

I ■¥@ MM-Mdi,IM
'··.
Fire Last Status Source Destination Type Color Time(sec) Periodic Num Edit Delete
e Successful PC0PC3 ICMP ■0.000 N (edit) (delete)

Automatical Choose Connection T e


Wl§\l■IISMM

ROHIT KUMAR (2020UIN3322)


PRACTICAL-9
Observe the working of IP protocol. Exploring the
routing tables for different routers.
••
:: 0..
••
El /--,
Cl ::,:
@ r ,,
IITiil
□ - ------- ?

OQ Sm.il-.Panel
<wm•
...._ rme(-J ust

0.001 PCI
0.001 Ul)IOl)O

0.003 Aaul.:l,
0.003II

0.004 Roult,t1(1)
r'"tl 0.005 Fb.W2

t...'ft,,
"" 0.005 5Mldl1(1)

1111111 c-t.n!Clw y 1 D

....
mam
1112,188.2.7 192.1811.2.9

• •JJ1 4321 194J


1111e.----------=,.=,,1 M t!&i'INfii.tf
2901 2911 8J910X 81 8 ►
[JSoenno D
II 11111
Fnt':'
.lnProg,Na Lape..•
o.:;.11an
Lapop3 I .C. . ■
Cob

0.000
r,:1
N1 1...
o-. ldeleltl
(da!N)

Commands

RIP

Router>en
Routerishow ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
.BGP D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF
inter area Nl - OSPF NSSA external type 1, N2 - OSPF NSSA
external type 2 El - OSPF exte.rnal type 1, E2 - OSPF external
type 2, E - EGP
i - IS-IS, Ll - IS-IS level-1, L2 - IS-IS level-2, ia IS-IS inter
area
candidate default, U - per-user static route, o -
ODR P - periodic downloaded static route

Gateway of last resort is not set

C 10.0.0.0/8 is directly connected,


Serial0/0/0 C 11.0.0.0/8 is directly connected,
Serial0/0/1
R 192.168.. 0/24 [120/1] via 0.0.0.1, 00:00:24, Serial0/0/0

ROHIT KUMAR (2020UIN3322)


C 192.168.2.0/24 is directly connected, FastEthernet0/0
R 192.168.3.0/24 [120/1] via 11.0.0.2, 00:00:25, Serial0/0/1

ROHIT KUMAR (2020UIN3322)


Router#show ip interface brief
Interface IP-Address OK? Method Status
Protocol
FastEthernet0/0 192. YES manual up up
FastEthernet0/1 68.2. YES unset administratively down down
Serial0/0/0 unassigned YES manual up up
Serial0/0/1 10.0.0.2 YES manual up up
Vlanl 1.0.0. YES unset administratively down down
Router# unassigned

Static

Router>en
Ro ter#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B -
BGP D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter
area
Nl - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
El - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, Ll - IS-IS level-1, L2 - IS-IS level-2, ia IS-IS inter
area
candidate default, U - per-user static route, o -
ODR P - periodic downloaded static route

Gateway of last resort is not set

C 92.168.1.0/2"1:is directly connected,


FastEthernet0/1 C 192.168.2.0/2"1:is directly
connected, FastEthernet0/0 S 92.168.3.0/2"1:[1/0] via
192. 68.1."l

Router#

Router#show ip interface brief


Interface IP-Address
OK? Method Status
Pro,tocol
FastEthernet0/0 192. 68.2.3
YES manual up up
FastEthernet0/1 92.168.1.2
YES manual up up
Vlanl unassigned YES unset a,dministratively down down
Router#

ROHIT KUMAR (2020UIN3322)


PRACTICAL-10
Implement routing protocols:
1.) RIP vl and RIP v2 protocol

a) RIPvl Protocol

Procedure :-

I. open cisco packet tracer and create network configuration as shown below :

10.1.1.2 2 1
Ro r3
192.168.5.1
192.168.10.1

192.168.5.2 19216853 192.168.10.2 192.168.10.3

II. Enable RIP v2 on both routers using the following commands in the
CLI: Router(config)# router rip
Router(config-router)# version 1
Router(config-router)# network x.x.x.x
(The "network" command adds the specified networks to the routing process.)

Router1 D X

Physical Config CU Attributes


IOS Command Line Interface

Router en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router rip
Router(config-router)#version 1
Router(config-router)#network 192.168.5.0
Router(config-router)#network 10.1.1.0 Router{config-router)#end
Router#


%SYS-5-CONFIG_I: Configured from console by console

ROHIT KUMAR (2020UIN3322)


Similary write the above commands in second router

Router2 D X

Physical Config CLI Attributes

10S Command Line Interface


Router>enable
Router#
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router rip
Router(config-router)#version 1
Router(config-router)#network 192.168.10.0
Router(config-router)#network 10.1.1.0 Router(config-router)#end
Router#
%SYS-5-CONFIG I: Configured from console by console

Ill. Verify that RIP version 1 is enabled on both routers by typing the following command in the CLI:
show ip protocols
, Router1 □ X
Physical Config CU Attributes
IOS Command Line Interface
, Router2
Router#show ip protocols D X
Routing Protocol is "rip"
Sending Config
Physical updates CU
everyAttributes
30 seconds, next due in 10 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all Line
10S Command interfaces
Interface is not set
Incoming update filter list for all interfaces is not set
Router show ip protocols
Redistributing: rip
Routing
Default Protocol is "rip"
version control: send version 1, receive 1
Sending updates every 30
Interface seconds,
Send next due RIP
Recv Triggered in 11 seconds
Key-
Invalid
chain after 180 seconds, hold
GigabitEthernet0/0 11 down 180, flushed after 240
Outgoing update filter list
Serial0/1/0 11 for all interfaces is not set
Automatic update
Incoming networkfilter
summarization
list forisall
in effect
interfaces is not set
Maximum path: 4 rip
Redistributing:
Routing for Networks:
Default version control: send version 1, receive 1
10.0.0.0
Interface Send Recv Triggered RIP Key-chain
192.168.5.0
GigabitEthernet0/0 11
Passive Interface(s):
Serial0/3/0 11
Routing Information Sources:
Automatic network summarization is in effect
Gateway Distance Last Update
Maximum path: 4
10.1.1.2 120 00:00:12
Routing for(default
Distance: Networks:
is 120)
10.0.0.0
192.168.10.0
Passive Interface{s):
Routing Information Sources:
Gateway Distance Last Update
Distance:10.1.1.1
(default is 120) 120 00:00:18

Router#


I

ROHIT KUMAR (2020UIN3322)


(This command will display the routing protocols currently enabled on the router. You should see send and
receive version as 1 .)

IV. To check whether the PCs are connected to each other, we use PING command. Click on any computer
and then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other
computer*" (*excluded). If all the packets are received (O Lost) then the connection is successfully
established.
, PCO D X

Physical Config Deskto Programming Attributes

Command Prompt El
C:\>ping 192.168.10.3

Pinging 192.168.10.3 with 32 bytes of data:

Reply Reply
from from
Reply
from
Reply
from
192.168.10.3: bytes=32 time=34ms TTL=126
192.168.10.3: bytes=32 time=lms TTL=126
192.168.10.3: bytes=32 time=14ms TTL=126
192.168.10.3: bytes=32 time=13ms TTL=126

Ping statistics for 192.168.10.3:


Packets: Sent= 4, Received= 4, Lost= 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum= lms, Maximum= 34ms, Average= 15ms

V. Finally to check the connectivity ,click on "Add Simple PDU" option from the top ribbon and then
selecting the computer from which you want to send the message to the destination computer,
then Run the Simulation.

I S1mulat1on Panel

f\')i..•------.r-------------.i•P') List Time(sec)


Last Device

I
0000

E:
/ e 1 10.1.1.1 10.1.1.2 R e 2
0001 PC0
192.168.5.1 O 002 SwitchO
192.168.10.1
0.03 Router1
0.04 Router2
0.05 Switch1
0.06 PC3
0.07 Switch1
0.08 Router2
0.09 Router1
Visible 0.010 SwitchO

I@ffHjj#@@ ■ Constant Delay Capt

mam
cios Play Controls

I
Event List Fillers - Visible Events
PC-Pi- AGL Filter, ARP, BGP, Bluetooth, CAPWAP, CDP,
PC-PT
PC3 DHCP, DHCPv6, DNS, DTP, EAPOL, EIGRP,
PC0
EIGRP\16,FTP,H.323,HSRP,HSRP-£,HTTP,HTTPS,
192.168-5.2 192.168.5.3 192.168.10.2 192.168.10.3
ICMP,ICMPv6, lPSec, ISAKMP, loT, loTTCP, LACP,
LLDP, NOP, NETFLOW, NTP, OSPF, OSPF\£, PAgP,
POP3, PPP, PPPoED, PTP, RADIUS, REP, RIP,
RIPng, RTP, SGGP, SMTP, SNMP, SSH, STP,
SYSLOG, TACAGS, TCP, TFTP, Telnet, UDP, USB,
VTP

I ¥n■¥1i4 MM-MHi i,iM


Q Scenario o v Fire Last Status Source Destination
Type Color Tlme(sec) Periodic Num Edit Delete

• - e Successful PGO PC3 IGMP ■ 0.000 N (edit) (delete)

M@§\l■IGMM


Select a Device to Ora aod Oro to the Works
ace

ROHIT KUMAR (2020UIN3322)


b) RIPv2 Protocol

Procedure :-

I. open cisco packet tracer and create network configuration as shown below :

10.1.1.0/30

192.168.5.0/25
192.168.5.128/25
192.168.5.129
192.168.5.1

PC-PT PC0
296 24TT
Swi ch1
.
PC-PT PC3
192.168.5.5
192.168.5.135

.
PC-PT PC2

192.168.5.10 192.168.5.130

II. Enable RIP v2 on both routers using the following commands in the CLI:
Router(config)# router rip
Router(config-router)# version 2
Router(config-router)# network x.x.x.x
(The "network" command adds the specified networks to the routing process.)

1.. Router0 D X

Physical Config CLI Attributes

IOS Command Line Interface

Router>en Router#config t
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 10.1.1.0
Router(config-router)#network 192.168.5.0 Router(config-router)#end
Router#
%SYS-5-CONFIG I: Configured from console by console

ROHIT KUMAR (2020UIN3322) ■


Similary write the above commands in second router

1.. Router1 D X

Physical Config CLI Attributes

10S Command Line Interface


Router>en Router#config t
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#network 10.1.1.0
Router(config-router)#network 192.168.5.128 Router(config-router)#end
Router#
%SYS-5-CONFIG I: Configured from console by console

Ill. Verify that RIP version 2 is enabled on both routers by typing the following command in the CLI:
show ip protocols
, Router0 D X

Physical Config Attributes

IOS Command Line Interface

Router# Router# Router#


Router#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 16 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all i
Default version control: send version 2, receive 2
InterfaceSend Recv Triggered RIP Key-chain
FastEthernet0/022
Serial0/0/022
Automatic network summarization is in effect Maximum path: 4
Routing for Networks:
10.0.0.0
192.16B. 5. 0
Passive Interface(s):
Routing Information Sources:
GatewayDistanceLast Update
10.1.1.212000:00:04
Distance: (default is 120) Router#I

I
<. Router1 □ X

Physical Config ..£!.!_ Attributes

IOS Command Line Interface

Router# Router# Router#


Router#show ip protocols Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 9 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all in
Default version control: send version 2, receive 2
InterfaceSend Recv Triggered RIP Key-chain
FastEthernet0/022
Serial0/0/022
Automatic network summarization is in effect Maximum path: 4
Routing for Networks:
10.0.0.0
192.16B.5.0
Passive Interface {s): Routing Information Sources:
GatewayDistance

I
Last Update
10.1.1.1120 00:00:26
Distance: (default is 120) Router#

Copy Paste

ROHIT KUMAR (2020UIN3322) ■


(This command will display the routing protocols currently enabled on the router. You should see RIP v2 listed
as one of the routing protocols.)

IV. To check whether the PCs are connected to each other, we use PING command. Click on any computer
and then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other
computer*" (*excluded). If all the packets are received (O Lost) then the connection is successfully
established.
D X

Physical Config Deskto Programming Attributes

Command Prompt El
C:\>ping 192.168.5.135

Pinging 192.168.5.135 with 32 bytes of data:

Reply from 192.168.5.135: bytes=32 time=13ms TTL=126 Reply from 192.168.5.135: bytes=32 time=llms TTL=126 Reply fr

Ping statistics for 192.168.5.135:


Packets: Sent= 4, Received= 4, Lost= 0 (0% loss), Approximate round trip times in milli-seconds:
Minimum= lms, Maximum= 13ms, Average= 6ms

V. To verify that supernets are being sent and received use the following
commands Show ip route
Debug ip rip
D X \. Router1 D X

Physical Config .£!.!_ Attributes Physical Config CU Attributes

10S Command Line Interface 10S Command Line Interface


Router>en Router#debug ip rip
RIP protocol debugging is on
Router#RIP: received v2 update from 10.1.1.2 on Serial0/0/0 192.168.5.0/24 via 0.0.0.0 in 1 hops
RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.5.1)
RIP: build update entries
10.0.0.0/8 via 0.0.0.0, metric 1, tag 0
192.168.5.0/24 via 0.0.0.0, metric 2, tag 0 RIP: sending v2 update to 224.0.0.9 via Serial0/0/0 (10.1.1.1)
RIP: build update entries
192.168.5.0/24 via 0.0.0.0, metric 1, tag 0 RIP: received v2 update from 10.1.1.2 on Serial0/0/0
192.168.5.0/24 via 0.0.0.0 in 1 hops
RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.5.1)
RIP: build update entries
10.0.0.0/8 via 0.0.0.0, metric 1, tag 0
192.168.5.0/24 via 0.0.0.0, metric 2, tag 0 RIP: sending v2 update to 224.0.0.9 via Serial0/0/0 (10.1.1.1)
RIP: build update entries
192.168.5.0/24 via 0.0.0.0, metric 1, tag 0

I
.... ,c...... .. .. ... ........, ....

Router>en Router#debug ip rip


RIP protocol debugging is on
Router#RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.5.129)
RIP: build update entries
10.0.0.0/8 via 0.0.0.0, metric 1, tag 0
192.168.5.0/24 via 0.0.0.0, metric 2, tag 0 RIP: sending v2 update to 224.0.0.9 via Serial0/0/0 (10.1.1.2)
RIP: build update entries
192.168.5.0/24 via 0.0.0.0, metric 1, tag 0 RIP: received v2 update from 10.1.1.1 on Serial0/0/0
192.168.5.0/24 via 0.0.0.0 in 1 hops
RIP: sending v2 update to 224.0.0.9 via FastEthernet0/0 (192.168.5.129)
RIP: build update entries
10.0.0.0/8 via 0.0.0.0, metric 1, tag 0
192.168.5.0/24 via 0.0.0.0, metric 2, tag 0 RIP: sending v2 update to 224.0.0.9 via Serial0/0/0 (10.1.1.2)
RIP: build update entries
192.168.5.0/24 via 0.0.0.0, metric 1, tag 0 RIP: received v2 update from 10.1.1.1 on Serial0/0/0
192.168.5.0/24 via 0.0.0.0 in 1 hops
RIP: sendino v2 ucdate to 224.0.0.9 via FastEthernet0/0

I
Copy Paste Copy Paste

VI. Finally to check the connectivity ,click on "Add Simple PDU" option from the top ribbon and then
selecting the computer from which you want to send the message to the destination computer,
then


Run the

ROHIT KUMAR (2020UIN3322)


:>aLogical I Physical Ix 1656 y 688 Root +::,1 1-:-1 1i;fo75930

I
10.1.1.0/30

Simulation Panel tSIX


Event List
Vis lime(sec) Last Device
0.000 f-Jjpi:jjij@§ ■ Constant Delay Capt 6° Play Contro

mam
0.001 PCO
0.002 SwitchO
192.168.5.128125 0.003 RouterO
192.168-5.129 0.004 Router1 I
0.005 Switch1 Event List Filters- Visible Events
0.006 PC3 AGL Fitter, ARP, BGP, Bluetooth, CAPWAP, COP, OHCP, DHCPv6, ONS, O

0.007 Switch1
0.008 Router1
192.168.5.10 192.168-5.130
0.009 RouterO
Visible 0.010 SwitchO

·1;(
Ill
//

Automaticallv Choose Connection Tv e


Q ScenarioO v

M@#llliiSMM
Fire
e
Last Status
Successful
Source
PCO
Destination
PC3ICMP
Type Color
■0.000
Time(sec) Periodic Num
N
Edit Delete
(edit) (delete)

2.) BGP protocol


Procedure

i. open cisco packet tracer and create a network topology and assign ip addresses to the interfaces of
routers as shown below :

Router-PT
Router1

ii. Configure loopback interfaces on routerO participating in the BGP networkThis is done using the

following commands in globalconfiguration mode:

Router(config}# interface loopback <interface-number>


Router(config-if}# ip address <IP-address> <subnet-mask>

ROHIT KUMAR (2020UIN3322)


RouterO D X

Physical Config CLI Attributes

IOS Command Line Interface


,
Router(config)#interface loopback 0

Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up

Router(config-if)#ip address 200.200.200.1 255.255.255.0 Router(config-if)#exit

iii. Configure BGP Autonomous system number and router id on each router by using the following

commands in the CLI:

Router(config}# router bgp <AS-number>

Router(config-router}# bgp router-id <IP-address>

#Replace [AS number] with the BGP autonomous system

( RouterO
D X

-
Physical Config
CLI Attributes

IOS Command Line Interface


Router(config)wrouter bgp 100
Router(config-router)#bgp router-id 1.1.1.1
Router(config-router)#exit

Similarly do this for second and third router

Router1 D X

Physical Config CLI Attributes

IOS Command Line Interface


Router(config)wrouter bgp 300
Router(config-router)#bgp router-id 3.3.3.3
Router(config-router)#exit

( Router2 D X

Physical Config CLI Attributes

IOS Command Line Interface


Router(config) router bgp 200
Router(config-router)#bgp router-id 2.2.2.2
Router(config-router)#exit

iv. Configure BGP neighbors for each router in the BGP network. This is done using the following
command in router configuration mode:
Router(config-router)# neighbor <IP-address> remote-as <AS-number>


(Note that the "remote-as" parameter specifies the AS number of the neighbor router.)

ROHIT KUMAR (2020UIN3322)


(ifJRouterO D X

Physical Config CLI Attributes

IOS Command Line Interface

Router(config)#router bgp 100


Router(config-router)#neighbor 22.10.10.2 remote-as 300 Router(config-router)#exit

,if!Router1
PhysicalConfig
D X

CLI Attributes

IOS Command Line Interface


Router(config)#router bgp 300
Router(config-router)#neighbor 22.10.10.1 remote-as 100
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 22.10.10.1 Up

Router(config-router)#neighbor 32.20.20.2 remote-as 200 Router(config-router)#exit


Router(config)#exit
"

,if!Router2 D X
PhysicalConfig
CLI Attributes

IOS Command Line Interface


Enter configuration commands, one per line. End with CNTL Z.
Router(config)#router bgp 200
Router(config-router)#neighbor 32.20.20.1 remote-as 300
Router(config-router)#%BGP-5-ADJCHANGE: neighbor 32.20.20.1 Up

v. Configure the router to advertise its own network prefixes to the BGP network. This is done using the

following command in router configuration mode:

Router(config-router)# network <network-address> mask <subnet-mask>

,if!RouterO D X

Physical Config CLI Attributes

IOS Command Line Interface


Router(config)#router bgp 100
Router(config-router)#network 200.200.200.0 mask 255.255.255.0

vi. Verify the BGP configuration by using the following commands in the

CLI: Router# show ip bgp

ROHIT KUMAR (2020UIN3322)


, RouterO

Physical Config
-CLI Attributes
IOS Command Line Interface

Router show ip bgp


BGP table version is 2, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path


*> 200.200.200.0/24 0.0.0.0 0 0 32768 i

Router#
Router#

, Router1

Physical Config
- CLI Attributes

IOS Command Line Interface


Router show ip bgp
BGP table version is 2, local router ID is 3.3.3.3
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 200.200.200.0/24 22.10.10.1 000 100 i
Router#
Router#

,iipRouter2
Physical Config CLI Attributes

10S Command Line Interface


Router>show ip bgp
BGP table version is 2, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path


*> 200.200.200.0/24 32.20.20.1000 300 100 i

Router> Router>

Router# show ip bgp neighbors

ROHIT KUMAR (2020UIN3322)


d{' RouterO □ X

Physical Config CLI Attributes

10S Command Line Interface


Router#show ip bgp neighbors
BGP neighbor is 22.10.10.2, remote AS 300, external link BGP version 4, remote router ID 3.3.3.3
BGP state= Established, up for 00:18:11
Last read 00:18:11, last write 00:18:11, hold time is 180, keepalive interval is 60 seconds Neighbor capabilities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received Message statistics:
InQ depth is 0 OutQ depth is 0

Sent Rcvd

I
Opens: 1 1
Notifications: 0 0
Updates: 1 0
Keepalives: 19 19
Route Refresh: 0 0
Total: 21 20
Default minim.urn time between advertisements runs is 30 seconds

For address family: IPv4 Unicast


BGP table version 2, neighbor version 6/0 Output queue size : 0
Index 1, Offset O, Mask Ox2
1 update-qroup member

Copy Paste

, Router2
D X
Physical Config Attributes

IOS Command Line Interface


Router>show ip bgp neighbors
BGP neighbor is 32.20.20.1, remote AS 300, externa1 1ink BGP version 4, remote router ID 3.3.3.3
BGP state= Estab1ished, up for 00:17:20
Last read 00:17:20, 1ast write 00:17:20, ho1d ti.me is 180, keepalive interval is 60 seconds Neighbor capabi1ities:
Route refresh: advertised and received(new)
Address family IPv4 Unicast: advertised and received Message statistics:
InQ depth is 0 outQ depth is 0

Sent Rcvd
Opens: 1 1
Notifications: 0 0
Updates: 0 1
Keepa1ives: 18 18
Route Refresh: 0 0
Tota1: 19 20
Defau1t minimwn time between advertisements runs is 30 seconds

For address fami1y: IPv4 Unicast


BGP tab1e version 2, neighbor version 6/0 Output queue size : 0
Index 1, Offset 0, Mask Ox2
I
--More--

Copy Paste

3.) EIGRP Protocol

Procedure

I. open cisco packet tracer and create a network topology and assign ip addresses to the routers and the pcs as shown below:

ROHIT KUMAR (2020UIN3322)


192.168.20.1/24 192.168.2 2/24

"'.-: .l' 'c;.r


0

Fa0/0 1 1 Se0/0/0 seO/O/O 1¥ 1 Fa0/0


Ro er0 Roler1

192.168.10.1/24 192.168.30.1/24

Fa0/2

PC-PT
PC0 • PC-PT •
PC1
192.168.10.2/24 192.168.10.3/24 192.168.30.2/24 192.168.30.3/24
PC-PT
PC2

II. Enable EIGRP on each router by using the following commands in the CLI:

Router(config}# router eigrp [AS number]

Router(config-router}# network [network address] [wildcard-mask]

#Replace [AS number] with the EIGRP autonomous system number and [network address] with the

network address you want to advertise.

#Network command with wildcard mask is used to configure eigrp to advertise specific subnets

d{:JRouterO D X

Physical Config CLI Attributes

IOS Command Line Interface

Router>en Router#configure terminal


Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router eigrp 10
Router(config-router)#network 192.168.10.0 0.0.0.255
Router(config-router)#network 192.168.20.0 0.0.0.255 Router(config-router)#AZ
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy running-config startup-config Destination filename [startup-config]?


Building configuration... [OK]

(copy running-config startup-config command is used to save the configuration)

Similarly do this for second router

ROHIT KUMAR (2020UIN3322)


Router1 D X

Physical Config CLI Attributes

IOS Command Line Interface

Ill. Verify the EIGRP configuration by using the following commands in the
Router>en
Router#configure
terminal
CLI: Router# show ip protocols
Enter configuration commands, one per line. End with CNTL/Z.
Router(config}#router eigrp 10
, Router0
Router(config-router}#network 192.168.20.0 0.0.0.255 D X
Router(config-router}#
%DUAL-5-NBRCHANGE:
Physical ConfigIP-EIGRP
CLI 10: Neighbor 192.168.20.1
Attributes
(Serial0/0/0) is up: new adjacency
IOS Command Line Interface
Router(config-router}#network 192.168.30.0 0.0.0.255
Router(config-router}#hZ
Router#show ip protocol
Router#
%SYS-5-CONFIG_I: Configured from console by console
Routing Protocol is "eigrp 10"
Outgoing
Router#copy update filter
running-config list for all interfaces is not set Incoming update filter list for all interfaces is
startup-config
Default
Destination networks[startup-config)?
filename accepted from incoming updates EIGRP metric weight Kl=l, K2=0, K3=1, K4=0, K5=0 EIGRP maxi
BuildingEIGRP maximum metric variance 1 Redistributing: eigrp 10
configuration
Automatic network summarization is in effect Automatic address summarization:
Maximum path: 4 Routing for Networks:
192.168.10.0
192.168.20.0
Routing Information Sources:
Gateway Distance Last Update 192.168.20.2902662907
Distance: internal 90 external 170

ROHIT KUMAR (2020UIN3322)


, Router1 D X

Physical Config CLI Attributes

IOS Command Line Interface


Router show ip protocol

Routing Protocol is "eigrp 10"


Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is
Default networks accepted from incoming updates EIGRP metric weight Kl=l, K2=0, K3=1, K4=0, K5=0 EIGRP maxi
EIGRP maximum metric variance 1 Redistributing: eigrp 10
Automatic network summarization is in effect Automatic address summarization:
Maximum path: 4 Routing for Networks:
192.168.20.0
192.168.30.0
Routing Information Sources:
GatewayDistance Last Update 192.168.20.1 902651775
Distance: internal 90 external 170

Router# show ip eigrp neighbors

, Router0 D X

Physical Config CLI Attributes

IOS Command Line Interface


Router show ip eig rp neighbors
IP-EIGRP neighbors for process 10
H Address Interface Hold Uptime SRTT RTO
Q Seq
(sec} (ms}
Cnt Num
0 192.168.20.2 Se0/0/0 13 00:08:02 40 1000
0 4

'- Router1 D X

Physical Config
-CLI Attributes

IOS Command Line Interface


Router show ip eigrp neighbors
IP-EIGRP neighbors for process 10
H Address Seq Interface Hold UptimeSRTTRTO
Q

(sec}(ms}
Cnt Num
0 192.168.20.1 Se0/0/0 1400:08:15 40 1000
0 3

IV. To check whether the PCs are connected to each other, we use PING command. Click on any computer
and then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any other
computer*" (*excluded}. If all the packets are received (O Lost} then the connection is successfully
established.

ROHIT KUMAR (2020UIN3322)


D X

Physical Config Deskto Programming Attributes

Command Prompt El
Cisco
Packet Tracer PC Command Line 1.0
C:\>ping 1S2.168.30.2

1S2.168.30.2 32 bytes of data:


Pingi wi
Request timed out.
Reply from 1S2.168.30.2: bytes=32 time=llms TTL=l26
Reply from 1S2.168.30.2: bytes=32 time=lms TTL=126
Reply from 1S2.168.30.2: bytes=32 time=14ms TTL=l26

Ping statistics for 1S2.168.30.2:


Packets: Sent= 4, Received= 3, Lost= 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum= lms, Maximum= 14ms, Average= Bms

V. Finally to check the connectivity ,click on "Add Simple PDU" option from the top ribbon and then
selecting the computer from which you want to send the message to the destination computer, then
Run the Simulation.

I
Simulation Panel t51X
Event list
192_168-20_1/24 192.168.20.2/24

Fa0/0 -Se0/0/0 seO/OIO


flir.1 Fa0IO
Vis lime(sec)
0.000
last Device

Ro1er0 R1er1 0.001 PCO


0.002 SwitchO RouterO Router1 Switch1 PC3
192.168.10.1/24

t
192.168-30.1/24

t
0.003 Switch1 Router1 RouterO
0.004 SwitchO
0.005
Fa0/3 Fa0/1
0006
0.007
0.008
0.009
Visible 0.010

PC-PT PCO PC-Pi­ f IJihi\ij@§ ■ Constant Delay Capt 6°

mam
192.168.10.2/24 PC2
192.168.10.3/24 192.168-30.2/24 Play Controls
192.168.30.3/24

I
Event list Fillers- Visible Events
AGL Filler,ARP, BGP, Bluetooth, CAPWAP, COP, OHCP, DHCPv6, DNS, OTP, EAPOL, EIGRP, EIGRPv6, FTP, H.323, HSRP, HSRPv6, HTTP, HTTPS, ICMP, ICMPv6, IPSec, ISAKMP, loT, loTTCP, LACP, LLDP, Meraki, NDP, NETFLOW, NTP, OSPF, OS

// Fire
e
Last Status
Successful
Source Destination
PC0 PC3ICMP
Type
■0.000
Color Time(sec) Periodic Num
N
Edit
(edit)
Delete
(delete)

AutomalicaHv Choose Connection T e M@#IIIIISMM

ROHIT KUMAR (2020UIN3322)


PRACTICAL-11
Implement the routing protocols in order to
monitor traffic loads.
Procedure:-

1.) open cisco packet tracer and create a network topology and assign ip addresses to the routers and the pcs

as shown below :

192.168.20.2/24
192.168.20.1/24
Se0/0/0
Fa0/0 2t11 Se0/0/0 2111 Fa0/0
KOrer0 Roier1

192.168.10.1/24
192.168.30.1/24

Fa0/1
Fa0/3

Fa0 Fa0

,, "
PC- PC-PT
PC-P"T
PC-PT
"
P T PC1 PC3
PC2
PC0 192.168.30.3/24
192.168.10.3/24
192.168.30.2/24
192.168.10.2/24

2.) Enable EIGRP on each router by using the following commands in the CLI:

enter "enable" to enter privileged mode.


Type "configure terminal" to enter global configuration mode.
Type "router ospf 1" to enter OSPF configuration mode. 1 is the process ID.
Type "network [ip address] [wildcard-mask] area [area-id]" to enable OSPF on the
router's and assign it to Area with area-id.
Repeat the same steps for the each interfaces on the router
Exit the OSPF configuration mode by typing "exit" twice.

ROHIT KUMAR (2020UIN3322)


Save the configuration by typing "copy running-config startup-config"

ROHIT KUMAR (2020UIN3322)


RouterO D X

Physical Config
-
[QJ]

Router>en Router#config terminal


Attributes

IOS Command Line Interface

Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router ospf 1
Router(config-router)#network 192.168.10.0 0.0.0.255 area 0
Router(config-router)#network 192.168.20.0 0.0.0.255 area 0 Router(config-router)# Z
Router#
%SYS-5-CONFIG I: Configured from console by console

Router#
Router#
Router#copy running-config startup-config Destination filename [startup-config)?
Building configuration...
[OK)

(similarly for router 1 )

( Router1 D X

Physical Config CLI Attributes

IOS Command Line Interface


Router>en
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z. Router(config)#router ospf 1
Router(config-router)#network 192.168.30.0 0.0.0.255 area 0
Router(config-router)#network 192.168.20.0 0.0.0.255 area 0 Router(config-router)# Z
Router#
%SYS-5-CONFIG_I: Configured from console by console

Router#copy running-config startup-config Destination filename [startup-config)?


Building configuration...
[OK)

3.) Verify the ospf configuration by using the following commands in the CLI:

Router# show ip ospf neighbor

( RouterO D X( Router1 D X

Physical Config ..£ll_ Attributes Physical Config ..£ll_ Attributes


10S Command Line Interface 10S Command Line Interface
Router show ip ospf neighbor Router show ip ospf neighbor

Neighbor ID Interface
Pri 192.168.30.1
State Dead TimeAddress Neighbor ID Interface
Pri 192.168.20.1
State Dead TimeAddress
192.168.20.2 192.168.20.1
Router# 0FULL/ - 00:00:35 Router# 0 FULL/ - 00:00:33
Serial0/0/0 Serial0/0/0

ROHIT KUMAR (2020UIN3322)


Router# show ip ospf neighbor
,I{' RouterO ,I{' Router1
D X D X
Physical Config ..!l!,_ Attributes
Physical Config ..!l!,_ Attributes
10S Command Line Interface
10S Command Line Interface
Router show ip protocol
Router show ip protocol

Routing Protocol is "ospf 1" Routing Protocol is "ospf 1"


Outgoing
Outgoing update filter list for all interfaces is not set Incoming update filter listupdate
for allfilter list is
interfaces fornot
allset
interfaces is not
Router ID 192.168.20.1
Number of areas in this router is 1. 1 normal O stub O nssa Maximum path: 4set Incoming update filter list for all interfaces is
Routing for Networks: 192.168.10.0 0.0.0.255 area 0 not set Router ID 192.168.30.1
192.168.20.0 0.0.0.255 area 0 Number of areas in this router is 1. 1 normal O stub O
Routing Information Sources: GatewayDistance 192.168.20.1110 nssa Maximum path: 4
Routing for Networks:
192.168.30.0 0.0.0.255 area
0
Last Update 192.168.20.0 0.0.0.255 area 0
00:08:38 Routing Information Sources:
192.168.30.1110 00:08:38 Gateway Distance Last
Distance: (default is 110) Update 192.168.20.1 110
00:08:56

4. )To check whether the PCs are connected to each other, we use PING command. Click on any
computer and then go to "Desktop" and select "Command Prompt", then type "ping *IP address of any
other computer*" (*excluded). If all the packets are received {O Lost) then the connection is
successfully established.
PCO D X

Physical Config Deskto Programming Attributes

Command Prompt El
Cisco
Packet Tracer PC Command Line 1.0
C:\>ping 192.168.30.3

Pinging 192.168.30.3 with 32 bytes of data:

Request timed out.


Reply from 192.168.30.3: bytes=32 time=22ms TTL=126
Reply from 192.168.30.3: bytes=32 time=9ms TTL=126
Reply from 192.168.30.3: bytes=32 time=l0ms TTL=126

Ping statistics for 192.168.30.3:


Packets: Sent= 4, Received= 3, Lost= 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum= 9ms, Maximum= 22ms, Average= 13ms

5.) Finally to check the connectivity ,click on "Add Simple PDU" option from the top ribbon and then
selecting the computer from which you want to send the message to the destination computer, then
Run the Simulation.

ROHIT KUMAR (2020UIN3322)


f!2 92.168.20.1l24

Fa0!O {11 Se0/0/0

jerO
192.168.20-2/24
Se0/0/0*
11 Fa0/0
R
1
er1
I-
I s,mulallon Panel

Vis

0001
0002
0.003
lime(sec) last Device
0000
PCO
!SIX

SwitchO RouterO Router1 Switch1 PC


Switch1 Router1 RouterO SwitchO
192.168.10.1/24 0.004
192.168.30.1/24

l l
0.005
0.006
0.007
Fa0/1 0.008
Fa0/3 0.009

;/2;witc 4 Fa0/3 FaO


Visible 0.010

FaO
FaO
Q.
mam
Play Controls
PC-PT PCO P PT
PG-Pi­
192.168.10.2124
192.168.10.3/24
PC2 PC3
192.168.30.3/24
I
Event List Filters - Visible Events 192.168.30.2/24
AGL Filter, ARP, BGP, Bluetooth, CAPWAP, COP, DHCP, DHCPv6, DNS, DTP, EAPOL, EIGRP, EIGRPv6, FTP, H.323, HSRP, HSRPv6, HTTP, HTIPS, ICMP,ICMPv6, JPSec, ISAKMP, loT, loTTCP, LACP, LLDP, NOP, NETFLOW, NTP, OSPF, O

I¥n■¥1i4MM-Mhi,IM

Fire Last Status Source Destination Type Color Tlme(sec) Periodic Num Edit Delete
e Successful PC0 PC3ICMP ■
0.000 N 0 (edit) (delete)

M@§\l■IISWM J

6.}Monitor the traffic load on each interface by using this command

Show interface [interface name]

, RouterO □ , Router1 □ X
X Physical Config Attributes

Physical Config Attributes 10S Command Line Interface

10S Command Line Interface


Router#show interface se 0/0/0
Serial0/0/0 is up, line protocol is up (connected) Hardware is HD64570
Internet address is 192.168.20.1/24
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Last input never, output never, output hang never Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: O Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/0/256 (active/max active/max total) Reserved Conversations 0/0 (allocated/ma

Received O broadcasts, 0 runts, 0 giants, 0 throttles


0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, O abort
270 packets output, 18476 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up

Router#

ROHIT KUMAR (2020UIN3322)


I

That's it! By following these steps, you should be able to successfully implement OSPF in Cisco Packet Tracer
and monitor the traffic loads on your network.

ROHIT KUMAR (2020UIN3322)


PRACTICAL-12
Set-up a TFTP server to back-up 10S images.
Theory:-
TFTP Server is used for simple file transfer (typically for boot-loading remote devices).

Trivial File Transfer Protocol (TFTP) is a simple protocol for exchanging files between two TCP/IP machines. TFTP servers
allow connections from a TFTP Client for sending and receiving files. The TFTP protocol supports only file send and
receive operations. File delete, move, and rename are not supported. Due to its limitations, TFTP is a complement to the
regular FTP and not a replacement. It is only used when its simplicity is important, and its lack of features is acceptable.
The most common application is bootstrapping, although it can be used for other purposes as well.

IOS images in CPT

Cisco IOS (Internetwork Operating System) is a proprietary operating system that runs on Cisco Systems routers and
switches. The core function of Cisco IOS is to enable data communications between network nodes.

In addition to routing and switching, Cisco IOS offers dozens of additional services that an administrator can use to
improve the performance and security of network traffic. Such services include encryption, authentication, firewall
capabilities, policy enforcement, deep packet inspection, Quality of Service (QoS), intelligent routing and proxy
capability. In Cisco's Integrated Services Routers (ISRs), IOS can also support call processing and unified communications
services.

Cisco IOS software releases are organized into what Cisco calls "families" and "trains." Each family shares the same code
base and trains are how new IOS releases are delivered.

There are two types of IOS operating systems:

IOS XE - runs on top of a Linux kernel. IOS XE and IOS share a lot of the same code, but IOS XR is considered to be a
completely different code base.

IOS XR - based on QNX a commercial Unix-like real-time operating system. IOS XR supports software-defined networking
(SDN) and the embedded systems market.

Procedure:-
1.) open cisco packet tracer and add a Cisco Router, Switch, and server to the Packet Tracer workspace
2.) Connect the added Router and server to the Switch using a Copper-straight Through cable as shown below:

ROHIT KUMAR (2020UIN3322)


1 1
Gig0/0

Gig0/1 Gig0/2 FaO


2960-24TT
SW1 Server-PT
TFTP-Se,ver

3.) Open the CLI command prompt of the router and assign an IP address to its interface connected to the Switch
and open the port.
( R1 D X

Physical Config
-CU Attributes

IOS Command Line Interface

Rl>en Rl#conf t
Enter configuration commands, one per line. End with CNTL/Z. Rl(config)#interface gigabitEthernet 0/0
Rl(config-if)#ip address 192.168.10.1 255.255.255.0 Rl(config-if)#no shutdown

Rl(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up Rl(config-if)#end
RH
%SYS-5-CONFIG_I: Configured from console by console

Rl#show ip int br Interface GigabitEthernet0/0 GigabitEthernet0/1 Vlanl


R1# IP-Address 192.168.10.1
OK? Method Status YES manual up Protocol up
unassigned unassigned
YES unset administratively down down YES unset administratively down down

4.) Configure the TCP/IP settings of the interface connected to the Switch in the IP configuration of the
#TFTP server.

" TFTP-Server D X

Physical Config Services Desklo Programming Attributes

IP Configuration El
IP Configuration

Q DHCP
0 Static
1Pv4 Address
192.168.10.10
Subnet Mask
255.255.255.0
Default Gateway
192.168 .10.11
DNS Server
0.00.0

ROHIT KUMAR (2020UIN3322)


5.) Click on the Services tab and enable TFTP service, and then delete all files on the server.

( TFTP-Server D X

Physical Config Services Desktop Programming Attributes

SERVICES • TFTP
HTTP
DHCP
Service On 0 Off O
File c2800nm-ipbase-mz.123-14.TT.bin c2800nm-ipbasek9-mz.124-8.bin
DHCPv6 c2900-universalk9-mz.SPA.155-3.M4a.bin c2950-i6q4I2-mz.121-22.EA4.bin
I TFTP c2950-i6q4I2-mz.121-22.EAB.bin
DNS c2960-lanbase-mz.122-25.FX.bin c2960-lanbase-mz.122-25.SEE1.bin c2960-lanbasek9-mz.150-2.SE4.bin
c3560-advipservicesk9-mz.122-37.SE1.bin c3560-advipservicesk9-mz.122-46.SE.bin c800-universalk9-mz.SPA.152-4.M4.bin c8
SYSLOG
- AM -
NTP

EMAIL
FTP --
IoT
VM Management
Radius EAP

• Remove File

6.) Test the network connection between the server and the router. To do this click on "add simple pdu" and
select router and tftp-server then run the simulation
0.02 SW1
0.03 TFTP-Server
Visible 0.004 SW1

Gig0/0
192.168.10.1

Gig0/1 Gig0/2 FaO 1§4§§11111 Constant Delay Capt r os

2960-24TT

mam
SW1 Server-PT Play Controls
TFTP-Server I
IP_ADDRESS= 192.168.10.10 Event List Filters - Visible Events
SUBNET_MASK= 255.255.255.0 ACLFilter,ARP, BGP, Bluetooth, CAPWAP, CDP,
DEFAULT_GATEWAY= 192.168.10.1 DHCP, DHCPv6, DNS, DTP, EAPOL, EIGRP,
EIGRPv6, FTP, H 323, HSRP, HSRPv6, HTTP,
HTTPS, ICMP, ICMPv6, IPSec, ISAKMP, loT, loT
TCP, LACP,

Q Scenario o Fire Last Status Source Destination Type Color lime(sec) Periodic Num Edit Delete
■0.000
v LLDP, Meraki, NOP, NETFLOW, NTP, OSPF,


e Successful R1 TFTP-Server ICMP N 0(edit) (delete)



Toggle POU List Window

ROHIT KUMAR (2020UIN3322)


7.) To upload the IOS image running on the router to the server, first run the show flash command in enable
mode and learn the file name. Then, after executing the copy flash command, type the filename in the source
filename field.
8. } In the next step, type the IP address of the server and press Enter.

9. } Press Enter without changing the filename in the Destination filename section.

10. } As a result of this process, IOS will be copied to the server. Check the folder on the server to verify the
backup.

dflR1 □ X

Physical Config

Rl>enable Rl#show flasH:


-CU Attributes

IOS Command Line Interface

System flash directory:


File LengthName/status
333591768 c1900-universalk9-mz.SPA.151-4.M4.bin
228282sigdef-category.xml
1227537sigdef-default.xml
(33847587 bytes used, 221896413 available, 255744000 total] 249856K bytes of processor board System flash (Read/Write)

Rl#copy flash: tftp:


Source filename []? c1900-universalk9-mz.SPA.151-4.M4.bin Address or name of remote host (]? 192.168.10.10
Destination filename [c1900-universalk9-mz.SPA.151-4.M4.bin]?

Writing c1900-universalk9-mz.SPA.
151-4.M4.bin ... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(OK - 33591768 bytes]

33591768 bytes copied in 1.369 secs (2576330 bytes/sec)

Step 11: Now, to restore the ios image from the tftp server, first delete the IOS on the Router with the delete
flash command.
K.lir
Rl#delete flash:
Delete filename []?c1900-universalk9-mz.SPA.151-4.M4.bin
Delete flash:/c1900-universalk9-mz.SPA.151-4.M4.bin? [confirm]

Rl#show flash:

System flash directory:


File Length Name/status
2 28282 sigdef-category.xml
1 227537 sigdef-default.xml
[255819 bytes used, 255488181 available, 255744000 total]
249856K bytes of processor board System flash (Read/Write)

12. }: Then in enable mode, execute the copy tftp flash command this time and write the IP address of the
server as the remote address. In the Source filename section, type the name of the IOS file and press Enter.

ROHIT KUMAR (2020UIN3322)


□ X
Physical

Rl>enable
Config

-
CU Attributes

10S Command Line Interface

Rl#copy tftp: flash:


Address or name of remote host []? 192.168.10.10
Source filename []? cl900-universalk9-mz.SPA.151-4.M4.bin
Destination filename [c1900-universalk9-mz.SPA.151-4.M4.bin]?

Accessing tftp://192.l68.10.10/cl900-universalk9-mz.SPA.151-4.M4.bin... Loading cl900-universalk9-mz.SPA.151-4.M4.bin from 192.168.10.10:


!!!! !!!! !!!!!!!!!!!!!!!!!!!!!!!!! !!!! !!!!!!!!!!!!!!!!!!!! !!!!!!!!! !!!!! !!!!!!!!!!!!!!!!!!!!! !!!!!!!!! !!!!!!!!!!!!!!!!!!
l!!l!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!l!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!! !!! !!! !!!!! ! !! !
!!!!!!! ! !!! !! ! !! !!!!!!!!!!!!!!!!!!!! ! !!!!! ! !! ! !! ! !!!!!!!!!!!!!!!! ! !!!!! ! !!!!! ! !!!!! !!!!!! !!!!!!!!!!!! !!!!!! !!!!!! !!!!! !
!!!!!!!!!! !!!!!!!!!!!!!!! !!!!!! !!!!!!!!!!! !!!!!! !!!!!!!!!!!!!!
[OK - 33591768 bytes]

33591768 bytes copied in 0.858 secs (4110719 bytes/sec)

13. } To verify the ios image is restored or not type the "show flash" and check the file is present or not
Rl# show flash

System flash directory:


File Length Name/status
4 33591768 c1900-universalk9-mz.SPA.151-4.M4.bin
2 28282 sigdef-category.xml

I
1 227537 sigdef-default.xml
[33847587 bytes used, 221896413 available, 255744000 total]
249856K bytes of processor board System flash (Read/Write)

ROHIT KUMAR (2020UIN3322)

You might also like