Professional Documents
Culture Documents
Aim - Implementation of BUS, STAR, MESH & Hybrid topology in CISCO Packet Tracer Using
switches and enddevices.
Theory –:
1) In topology we have to take switch, pc or laptop, wire (for same / similar devices we use Copper
Straight –
Through wire and for dissimilar we will use Copper Cross-Over wire.
2) In mesh topology we have first connect pc with the switch then
we have givenIp configuration to each pc by selecting desktop
mode in cisco packet tracer.
3) For example we have given 10.10.10.1 to pc1 in mesh topology same as other we will give ip
address to each ofthe pc.
4) Also in other topology we will do the same.
5) Make sure that the ip address of each pc is different. We can’t assign ip address of two pc same.
6) The green colour arrow will show you the successful connectivity of the device and if there is red
dot appearingthen the connection was not established .There might be some error.
7) After the successful connectivity we can transfer some file in the network to check weather
everything is alrightor not.
8) As we can see below this is the use of the ping command in the command prompt of the pc which
we have usedin above.
9) Here 4 packets has been transferred to check weather the connection has been established
sucessfully or not.
Student Name:
Roll Number:
MESH :
STAR :
BUS :
HYBRID :
Student Name:
Roll Number:
Experiment – 2
pathping, nslookup.Theory-:
1) We can run all this command in the cmd of the pc.Cmd means command prompt of the window.
2) Each command will has its own use and work.
5) In the ping command the computer send 4 packets to the server and we receive four
acknowledgements sothere is not loss.
Student Name:
Roll Number:
6) The tracert command will trace the path through which we can reach to the destination
7) As we can see here at 13 steps the trace will complete. Here we have given ip address of the
google.com as thedestination.
8) The above is pingpath command which will also perform its operation as we can see above.
Student Name:
Roll Number:
Experiment – 3
Aim - Create two different network in CISCO Packet Tracer using one Router and Switch in Each sub
network. Usecommands to establish connectivity among them.
Theory-:
10) In this experiment we have one router, two switch and four pc.
11) We have to take switch, pc or laptop, wire (for same / similar devices we use copper Straight –
Through wireand for dissimilar devices we will use Copper Cross-Over wire.
12) We have created a sub network by using our pc also we have given ip address to each pc
13) Make sure that the ip address of each pc is different. We can’t assign ip address of two pc same.
14) After assigning the ip address to each pc we will set ip address of the router.
15) For example we have given 10.10.10.3 for pc 0, 1 and 13.54.54.3 for pc 2, 3 in the router.
16) After assigning them we will set these ip address of the router in default gateway of the pc
to set up theconnectivity with the router to the pc.
17) As we can see below this is the use of the ping command in the command prompt of the pc
which we haveused in above.
18) Here 4 packets has been transferred to check weather the connection has been established
sucessfully or not.
Student Name:
Roll Number:
Experiment – 4
1) Aim - Create two different network in CISCO Packet Tracer using one Router
and Switch inOne sub network and other having one server and printer. Use
commands to establish Connectivity among them.
Theory –:
2) We have to take switch, printer, pc or laptop, wire (for same / similar devices we use Copper
Straight – Throughwire and for dissimilar we will use Copper Cross-Over wire.
3) Make sure that the ip address of each pc is different. We can’t assign ip address of two pc same.
4) After assigning the ip address to each pc we will set ip address of the router.
5) After assigning them we will set these ip address of the router in default gateway of the pc and
printer to
set upthe connectivity with the router to the pc.
6) Then we can send some file by using ping in the cmd of the pc.
7) As we can see below this is the use of the ping command in the command prompt of the pc which
we have usedin above.
8) Here 4 packets has been transferred to check weather the connection has been established
sucessfully or not.
Student Name:
Roll Number:
Experiment - 5
Aim - Create two different network in CISCO Packet Tracer using two Router connected
with Switchessubsequently connected with end devices. Use commands to establish
Connectivity among them.
Theory –:
1) We have to take switch, pc or laptop, wire (for same / similar devices we use Copper Straight –
Through wireand for dissimilar we will use Copper Cross-Over wire.
2) Make sure that the ip address of each pc is different. We can’t assign ip address of two pc same.
3) After assigning the ip address to each pc we will set ip address of the router.
4) After assigning them we will set these ip address of the router in default gateway of the pc and
printer to set upthe connectivity with the router to the pc.
5) Then we can send some file by using ping in the cmd of the pc.
6) As we can see below this is the use of the ping command in the command prompt of the pc which
we have usedin above.
7) Here 4 packets has been transferred to check weather the connection has been established
sucessfully or not.
Output :
Student Name:
Roll Number:
Experiment - 6
Aim - Create two different network in CISCO Packet Tracer using three Router connected
with Switchessubsequently connected with end devices. Use commands to establish
Connectivity among them.
Theory –:
8) We have to take switch, pc or laptop, wire (for same / similar devices we use Copper Straight –
Through wireand for dissimilar we will use Copper Cross-Over wire.
9) Make sure that the ip address of each pc is different. We can’t assign ip address of two pc same.
10) After assigning the ip address to each pc we will set ip address of the router.
11) After assigning them we will set these ip address of the router in default gateway of the pc and
printer to set upthe connectivity with the router to the pc.
12) Then we can send some file by using ping in the cmd of the pc.
13) As we can see below this is the use of the ping command in the command prompt of the pc
which we haveused in above.
14) Here 4 packets has been transferred to check weather the connection has been established
sucessfully or not.
Output :
Student Name:
Roll Number:
EXPERIMENT -7
2. On the router, configure interface fa0/0 to act as the default gateway for our LAN.
Router>enable
Router#config terminal
Router(config)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#exit
3. Configure DHCP server on the Router. In the server we will define a DHCP pool of IP addresses to be
assigned tohosts, a Default gateway for the LAN and a DNS Server.
Router(config)#
Student Name:
Roll Number:
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 192.168.1.10
4. Now go to every PC and on their IP configuration tabs, enable DHCP. Every PC should be able to obtain
an IP
address, default gateway and DNS server, as defined in step 2.
You can test the configuration by pinging PC2 from PC1. Ping should succeed.
Student Name:
Roll Number:
EXPERIMENT -8
THEORY : RIP is one of the oldest distance vector routing protocols, invented in the 1980s. Two
versions of theprotocol were developed:
RIP version 1 -supports only classful routing and doesn’t send subnet masks in routing updates.Uses
broadcastsfor updates.
RIP version 2– supports classless routing and sends subnet masks in routing updates. This
version uses themulticast address of 224.0.0.9 to send routing updates.
There is also a version of RIP developed for IPv6 networks called RIPng.
RIP has a default administrative distance of 120. It uses the hop count (the number of routers
between the source and destination network) as the metric. The hop count limit is 15. Any route
with a higher hop count willbe marked as unreachable.
PROCEDURE :
Router 1
R1(config)#
R1(config)#int fa0/0
Student Name:
Roll Number:
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shut
R1(config-if)#
R1(config-if)#no shut
Router 2
R2(config)#
R2(config)#int fa0/0
R2(config-if)#no shut
R2(config-if)#
R2(config-if)#no shut
IP configuration on PCs
Student Name:
Roll Number:
PC2: IP address: 30.0.0.2 Subnet mask 255.0.0.0 Default
Router 1
R1(config)#
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#network 10.0.0.0
R1(config-router)#network 20.0.0.0
Router 2
R2(config)#
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 20.0.0.0
R2(config-router)#network 30.0.0.0
As you can see,to configure rip on each router,we enable enable RIP using router rip command
then advertisethe networks directly connected to the router interfaces using network command.
To verify that RIP is in deed advertising routes,we can use the show ip route command on R1.
Student Name:
Roll Number:
You can see that R1 has learned about the 30.0.0/8 network. The letter R indicates that the route
was learnedusing RIP.Note the administrative distance of 120 and the metric of 1 in the [120/1]
part.
To specifically display routes learnt through RIP use show ip route rip command on the router.
Now lets Ping PC2 from PC1 to further confirm that connectivity is really established between the two
subnets.
Student Name:
Roll Number:
EXPERIMENT -9
AIM : Implement OSPF in CISCO Packet Tracer.
THEORY: Open Shortest Path First(OSPF) is one of the dynamic routing protocols amongst others such
as EIGRP, BGP and and RIP. It is perhaps one of the most popular link state routing protocols. It is an
openstandard, so it can be run on routers from different vendors.
OSPF has a default administrative distance of 110. It uses cost as the parameter for determining route
metric. Ituses the multicast address of 224.0.0.5 and 224.0.0.6 for communication between OSPF-
enabled neighbors
Routers running OSPF need to establish a neighbor relationship before exchanging routing
updates. Each OSPFrouter runs the SFP algorithm to calculate the best routes and adds them to
the routing table.
Advertisements
Routers running OSPF need to establish a neighbor relationship before exchanging routing
updates. OSPF neighbors are dynamically discovered by sending Hello packets out each OSPF-
enabled interface on a router.Hello packets are sent to the multicast address of 224.0.0.5.
OSPF areas
An area is simply a logical grouping of adjacent networks and routers. All routers in the same area
have the same topology table and don’t know about routers in other areas. The main benefits of
using areas in an OSPFnetwork are:
Each area in an OSPF network must be connected to the backbone area ( also known as area 0
). All routersinside an area must have the same area ID . A router that has interfaces in more
than one area (for example area 0 and area 1) is known as an Area BorderRouter (ABR). A
router that connects an OSPF network to other routing networks (for example, to an EIGRP
network) is called an Autonomous System Border Router (ASBR).
For now we’ll configure basic OSPF. On to it then!
PROCEDURE :
Student Name:
Roll Number:
1. Build the network topology.
Router 1
R1(config)#int fa 0/0
R1(config-if)#no shut
R1(config-if)#
R1(config-if)#no shut
Router 2
R2(config-if)#int fa0/0
R2(config-if)#no shut
Student Name:
Roll Number:
R2(config-if)#
R2(config-if)#int serial0/0/0
R2(config-if)#no shut
The configuration is pretty simple and requires only two major steps:
1. Enable OSPF on a router using the router ospf PROCESS_ID in the global configuration mode.
2.Define on which interfaces OSPF will run and what networks will be advertised
using networkIP_ADDRESS WILCARD_MASK AREA command in the OSPF
configuration mode.
Note that the OSPF process ID doesn’t have to be the same on all routers in order for the routers
to establish a neighbor relationship, but the area parameter has to be the same on all
neighboring routers in order for therouters to become neighbors.
Router 1
R1(config)#
R1(config)#router ospf 1
Student Name:
Roll Number:
Router 2
R2(config)#
R2(config)#router ospf 2
As you can see from the above picture,we just need to enable OSPF on the routers which then
advertise thenetworks directly connected to each of them.
Have in mind: The OSPF process IDs used for the two routers have been made optionally
different buttheir area numbers must be the same.
First, let’s verify that the routers have established a neighbor relationship by typing the
show ip ospfneighbor command on R1:
Next, to verify that R1 has learnt the route to 30.0.0.0/8 network, we’ll use show ip route ospf command
on R1:
Lastly, verify connectivity. Ping PC2 from PC1. Ping should be successful.
Student Name:
Roll Number:
Student Name:
Roll Number:
EXPERIMENT -10
Topology Diagram
Addressing Table
Device
Interface IP Address Subnet Mask Default Gateway
(Hostname)
S1 VLAN 99 172.17.99.11 255.255.255.0 N/A
S2 VLAN 99 172.17.99.12 255.255.255.0 N/A
S3 VLAN 99 172.17.99.13 255.255.255.0 N/A
PC1 NIC 172.17.10.21 255.255.255.0 172.17.10.1
PC2 NIC 172.17.20.22 255.255.255.0 172.17.20.1
PC3 NIC 172.17.30.23 255.255.255.0 172.17.30.1
PC4 NIC 172.17.10.24 255.255.255.0 172.17.10.1
PC5 NIC 172.17.20.25 255.255.255.0 172.17.20.1
PC6 NIC 172.17.30.26 255.255.255.0 172.17.30.1
Student Name:
Roll Number:
Task 1: Prepare the Network
Step 1: Cable a network that is similar to the one in the topology diagram.
You can use any current switch in your lab as long as it has the required interfaces shown in the
topology.
Note: If you use 2900 or 2950 switches, the outputs may appear different.
Also, certaincommands maybe different or unavailable.
Step 2: Clear any existing configurations on the switches, and initialize all ports in the
shutdownstate.
If necessary, refer to Lab 2.5.1, Appendix 1, for the procedure to clear switch configurations.
It is a good practice to disable any unused ports on the switches by putting them in
shutdown.Disable allports on the switches:
Switch#config term
Switch(config)#interfacerange
fa0/1-24Switch(config-if-
range)#shutdown
Switch(config-if-range)#interface range gi0/1-2
Switch(config-if-range)#shutdown
Student Name:
Roll Number:
Step 3: Configure and name VLANs on switches S2 and S3.
Create and name VLANs 10, 20, 30, and 99 on S2 and S3 using the commands from
Step 1.Verify thecorrect configuration with the show vlan brief command.
What ports are currently assigned to the four VLANs you have created?
_
Student Name:
Roll Number:
S1(config-if)#ip address 172.17.99.11 255.255.255.0
S1(config-if)#no shutdown
S2(config)#interface vlan 99
S2(config-if)#ip address 172.17.99.12 255.255.255.0
S2(config-if)#no shutdown
S3(config)#interface vlan 99
S3(config-if)#ip address 172.17.99.13 255.255.255.0
S3(config-if)#no shutdown
Assigning a management address allows IP communication between the switches,
and also allows anyhost connected to a port assigned to VLAN 99 to connect to the
switches. Because VLAN 99 is configured as the management VLAN, any ports
assigned to this VLAN are considered management ports and should be secured to
control which devices can connect tothese ports.
Student Name:
Roll Number: