2020UIN3322 (Rohit Kumar) Network File
2020UIN3322 (Rohit Kumar) Network File
2020UIN3322 (Rohit Kumar) Network File
DEVICES WORKSHOP
Practical File
Course Code : INITC 19
Submitted By -
Name: Rohit Kumar
Roll no.: 2020UIN3322
Branch: ITNS
Semester: 6th
Academic Year: 2022-23
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.
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.
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.
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.
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.
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.
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.
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.
Hub-PT
HubO
Time 00 0101(0)(
•> Hub-PT
4.) Click on End Devices and select PCs from available options.
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
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
Command Prompt El
Ci sec, Packet
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.
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
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
2960-24TT
SwitchO
T,me 00 00 2s(Q)( )
■
2960 10S15
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
I
QTop
Copy Paste
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
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
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.
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.
2911
Router1
<
Time 00 00 16(Q)( I
• l-< --1>
?Q11
J '" ""
291 1
2960-24TT
2960-24TT
Switch1
Switch2
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.
Copper Straight-Through
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
Switch(config-if)#
%LINK-5-CHANGED: Interface V1anl, changed state to up
■
0 Top
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
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state
to up
I
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
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
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.
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.
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
Switch(config-if)#
%LINK-5-CHANGED: 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.
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
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
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.
I
0.011
0.012 Switch1 RepeaterO SWl!ChO
0013
0.014
0.015
Visible 0016
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
-
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
- === Bridge-PT !
2960-24TT 2960-24TT
Switch0 Switch1
/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
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.
-
Physical Config
CU Attributes
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
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
IP Configuration Interface El
IP Configuration V
FastEthernet0
IPv6 Configuration
0 Automatic 0 Static
IPv6Address
Link Local Address FE80::202:4AFF:FE41:C146
Default Gateway
DNS Server
802.1X
■
Top
PCO D X
Command Prompt El
Cisco Packet Tracer C:\>ping
PC Command
22.0.0.7
Line 1.0
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
0000
0001 PC0
0002 SwitchO
0003 BridgeO
I 0004
0005
Swrtch1
PCS
0006 SwttCh1
0.007 Bndge()
Visible 0008SwitchO
mam
Play Controls
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
2.) Click on Network devices option from the bottom left corner and select Router among various
network devices.
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)(
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
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
Copy Paste
0 Top
Router1 D X
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
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
Router (config-if) f
I
%LINK-5-CHANGED: 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
Remove
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
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
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
mam
PlayContrOls
PC-PT
PC0
// 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
2.) Click on Network devices option from the bottom left corner and select Router among various
network devices.
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
...
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
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
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router1 D X
Physical Config
-
CU Attributes
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
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
n Tnn
,
dynamically using DHCP protocol. Repeat this step for all PC's.
D X
IP Configuration El
InterfaceFastEthernet0 IP Configuration V
0DHCP0Static
DHCP request successful.
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
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.
\. RouterO D X
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
.. Remove
GLOBAL
Settings
• Network 24.0.0.0
Static Routes
.. Remove
Physical CU Attributes
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
Command Prompt El
C:\>ping 24.0.0.l
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
■
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.
"
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
Procedure:-
1.) Open Cisco Packet Tracer.
2.) Click on Network devices option from the bottom left corner and select Router among various
network devices.
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
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
WIC-2AM WIC-2T
WIG-Cover
GLC-LH-SMD
..
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.
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
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
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
d 'lPCO D X
IP Configuration El
Interface FastEthernetO V
IP Configuration
Q DHCP 0 Static
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
GLOBAL
Settings Algorithm Settings
.. Serial0/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/
I Serial0/0/0 I
I SeriaI0/0/1
GLOBAL
Setting_s
• Serial0/0/1
- 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:
IPRouterO D X
Physical Config
-
CLI Attributes
Cop!. ] Paste
Router1 D X
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
'-iflRouter2 D X
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
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
Command Prompt El
C:\>tracert 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
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
MM§ \l■IISMti
Automaticallv Choose Connection Tvne
Procedure:-
1.) Open Cisco Packet Tracer.
2.) Click on Network devices option from the bottom left corner and select Router among various network
devices.
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
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
GLC-LH-SMD
Customize
22.0.0.1
24.0.0.1
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-
-
X
Physical CU Attributes
GLOBAL
Settings
• FastEtherneto/0
■
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-
( PCO D X
IP Configuration
£1
V
InterfaceFastEthernet0 IP Configuration
Q 0
DHCP Static
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
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
■
I SeriaI0/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
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
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
11) After configuring all of the devices we need to assing the routes to the routers.
• 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.
'- Router0 D X
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
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
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.
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
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
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)
• -
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.
Lets use this command on practical 6 network .After using this command we get the output
as given below :
□ X
Command Prompt El
Cisco Packet Tracer C:\>ping
PC 24.0.0.3
Line 1.0
Comma
■
C:\>
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.
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:
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
C:\>netstat
Active Connections
■
Proto Local Address
Address Foreign Sta
"
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
■
•
1. .i!?PCO □ D
X
Physical Desktop Programming Attributes Physical [ConfigJ Desktop Programming Attributes
GLOBAL
Settings
Global Settings GLOBAL
Settings
• FastEthemetO
■
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->'-
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".
Switch>enable Switchi/config t
Enter configuration commands, one per line. End with CNTL/Z.
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
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
11.) Add {number: 20, name: student} to the VLAN database on the router.
<. RouterO D X
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
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.
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
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
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)
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
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
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
Router#
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
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
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
Router2 D X
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
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
Command Prompt El
C:\>ping 192.168.10.3
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
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
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
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
M@§\l■IGMM
■
Select a Device to Ora aod Oro to the Works
ace
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
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
1.. Router1 D X
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
I
<. Router1 □ X
I
Last Update
10.1.1.1120 00:00:26
Distance: (default is 120) Router#
Copy Paste
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
Command Prompt El
C:\>ping 192.168.5.135
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
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
I
.... ,c...... .. .. ... ........, ....
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
I
10.1.1.0/30
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
//
M@#llliiSMM
Fire
e
Last Status
Successful
Source
PCO
Destination
PC3ICMP
Type Color
■0.000
Time(sec) Periodic Num
N
Edit Delete
(edit) (delete)
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
■
Router(config-if}# ip address <IP-address> <subnet-mask>
Router(config-if)#
%LINK-5-CHANGED: Interface Loopback0, changed state to up
iii. Configure BGP Autonomous system number and router id on each router by using the following
( RouterO
D X
-
Physical Config
CLI Attributes
Router1 D X
( Router2 D X
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.)
,if!Router1
PhysicalConfig
D X
CLI Attributes
,if!Router2 D X
PhysicalConfig
CLI Attributes
v. Configure the router to advertise its own network prefixes to the BGP network. This is done using the
,if!RouterO D X
vi. Verify the BGP configuration by using the following commands in the
Physical Config
-CLI Attributes
IOS Command Line Interface
Router#
Router#
, Router1
Physical Config
- CLI Attributes
,iipRouter2
Physical Config CLI Attributes
Router> Router>
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
Copy Paste
, Router2
D X
Physical Config Attributes
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
Copy Paste
Procedure
I. open cisco packet tracer and create a network topology and assign ip addresses to the routers and the pcs as shown below:
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:
#Replace [AS number] with the EIGRP autonomous system number and [network address] with the
#Network command with wildcard mask is used to configure eigrp to advertise specific subnets
d{:JRouterO D X
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
, Router0 D X
'- Router1 D X
Physical Config
-CLI Attributes
(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.
Command Prompt El
Cisco
Packet Tracer PC Command Line 1.0
C:\>ping 1S2.168.30.2
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
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
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)
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:
Physical Config
-
[QJ]
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)
( Router1 D X
3.) Verify the ospf configuration by using the following commands in the CLI:
( RouterO D X( Router1 D X
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
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
Command Prompt El
Cisco
Packet Tracer PC Command Line 1.0
C:\>ping 192.168.30.3
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.
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
l l
0.005
0.006
0.007
Fa0/1 0.008
Fa0/3 0.009
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
, RouterO □ , Router1 □ X
X Physical Config Attributes
Router#
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.
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.
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.
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:
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
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
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
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
( TFTP-Server D X
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
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
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
Writing c1900-universalk9-mz.SPA.
151-4.M4.bin ... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(OK - 33591768 bytes]
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:
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.
Rl>enable
Config
-
CU Attributes
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
I
1 227537 sigdef-default.xml
[33847587 bytes used, 221896413 available, 255744000 total]
249856K bytes of processor board System flash (Read/Write)