lab-10_13_14_15

You might also like

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

Lab Program Number: 15 Date:

Title: To configure and understand about static routing using cisco packet tracer.
Static Routing
Static routing is a type of network routing technique. Static routing is not a routing protocol;
instead, it is the manual configuration and selection of a network route, usually managed by
the network administrator. It is employed in scenarios where the network parameters and
environment are expected to remain constant. Static routing performs routing decisions with
preconfigured routes in the routing table, which can be changed manually only by
administrators. Static routes are normally implemented in those situations where the choices
in route selection are limited, or there is only a single default route available. Also, static
routing can be used if you have only few devices for route configuration and there is no need
for route change in the future. Static routing is considered the simplest form of routing.

Software used: CISCO packet tracer


Procedure
Step 1. Open the CISCO Packet tracer software
Step 2. Drag and drop 2 pcs using End Device Icons on the left corner
Step 3. Drag and drop 2 routers and 2 switch from networking devices.
Step 4. Make the connections using copper straight through and copper cross-over cable.
Step 5. Configure the IP address of the PCs by clicking on the “Desktop” tab, then select “IP
configuration”, Write the IP address of the network and click at the Subnet mask filed.
Subnet Mask will appear automatically and for router use the CLI command.
Step 6. Add the next hop IP and network IP to router 0 and then add the next hop IP and
network IP to router 1
Addressing Table
Device Interface IPv4 Address Subnet Mask Default Getaway

PCO NIC 192.168.1.2 255.255.255.0 192.168.1.1

PC1 NIC 192.168.2.2 255.255.255.0 192.168.2.1

Gig0/0/0 192.168.1.1 255.255.255.0 N/A


Router 1
Gig0/0/1 192.168.3.1 255.255.255.0 N/A
Gig0/0/0 192.168.2.1 255.255.255.0 N/A
Router 2
Gig0/0/1 192.168.3.2 255.255.255.0 N/A

Figure: Static Routing


Figure: Command Line Interface of Router 0
Figure: Command Line Interface of Router 1
Message Transmission

Step 1. Select “Add simple PDU”.


Step 2. Drag and drop the message to the source device and then to the Destination device.
In this case my source device is PC0 and destination device is PC1.
Step 3. Select the Simulation Mode at the bottom right corner.
Step 4. Click at “Play”.
Step 5. Observe the path of the Message from source to destination, and back from the
destination to the source.
In this case, the message moves from PC0 to switch0, switch0 to router 0, router 0 to
router 1, router 1 to switch1, switch1 to PC1 and then again from PC1 to switch1,
switch1 to router 1, router 1 to router 0, router 0 to switch0, switch0 to PC0.
Step 6. Observe the marks. If the source PC is marked correct it means connection is
successfully established.

Figure: Message transmission from PC0 to PC1


Figure: PC0 pinging PC1

After the complete setup of static routig the PC0 is able to communicate with PC1.

Conclusion:
The static routing was configured successfully using cisco packet tracer.
Lab Program Number: 14 Date:
Title: To setup OSPF in cisco packet tracer.

Open Shortest Path First (OSPF)


The OSPF protocol is a link-state routing protocol, which means that the routers exchange
topology information with their nearest neighbors. The topology information is flooded
throughout the AS, so that every router within the AS has a complete picture of the topology
of the AS. This picture is then used to calculate end-to-end paths through the AS, normally
using a variant of the Dijkstra algorithm. Therefore, in a link-state routing protocol, the next
hop address to which data is forwarded is determined by choosing the best end-to-end path to
the eventual destination.

Software used: CISCO packet tracer

Procedure
Step 1. Open the CISCO Packet tracer software
Step 2. Drag and drop 2 pcs using End Device Icons on the left corner
Step 3. Drag and drop 3 routers and 2 switch from networking devices.
Step 4. Make the connections using copper straight through and copper cross-over cable.
Step 5. Configure the IP address of the PCs by clicking on the “Desktop” tab, then select “IP
configuration”, Write the IP address of the network and click at the Subnet mask
filed. Subnet Mask will appear automatically and for router use the CLI command.
Step 6. Configure OSPF in all the routers using CLI command.

Addressing Table
Device Interface IPv4 Address Subnet Mask Default Getaway

PCO NIC 192.168.1.11 255.255.255.0 192.168.1.1

PC1 NIC 155.165.1.11 255.255.0.0 155.165.1.1

Fa0/0 192.168.1.1 255.255.255.0 N/A


Router 1
Se2/0 10.0.0.2 255.0.0.0 N/A

Se3/0 20.0.0.1 255.0.0.0 N/A


Fa0/0 155.165.1.1 255.255.0.0 N/A
Router 2
Se2/0 30.0.0.2 255.0.0.0 N/A

Se3/0 20.0.0.1 255.0.0.0 N/A

Figure: OSPF configuration


Figure: Command Line Interface of Router 1
Figure: Command Line Interface of Router 2
Figure: Command Line Interface of Router 3
Message Transmission

Step 1. Select “Add simple PDU”.


Step 2. Drag and drop the message to the source device and then to the Destination device.
In this case my source device is PC0 and destination device is PC1.
Step 3. Select the Simulation Mode at the bottom right corner.
Step 4. Click at “Play”.
Step 5. Observe the path of the Message from source to destination, and back from the
destination to the source.
In this case, the message moves from PC0 to switch0, switch0 to router 0, router 0 to
router 1, router 1 to switch1, switch1 to PC1 and then again from PC1 to switch1,
switch1 to router 1, router 1 to router 0, router 0 to switch0, switch0 to PC0.
Step 7. Observe the marks. If the source PC is marked correct it means connection is
successfully established.

Step 6.

Figure: Message transmission from PC0 to PC1


Figure: PC0 pinging PC1

After the complete setup of OSPF the PC0 is able to communicate with PC1.

Conclusion:
The OSPF was configured successfully using cisco packet tracer.
Lab Program Number: 13 Date:
Title: To setup web DNS server in cisco packet tracer.
Web Server
A web server is software and hardware that uses HTTP (Hypertext Transfer Protocol) and
other protocols to respond to client requests made over the World Wide Web. The main job
of a web server is to display website content through storing, processing and delivering
webpages to users.
DNS server
The Domain Name System (DNS) is the phonebook of the Internet. When users type domain
names such as ‘google.com’ or ‘nytimes.com’ into web browsers, DNS is responsible for
finding the correct IP address for those sites. Browsers then use those addresses to
communicate with origin servers or CDN edge servers to access website information.

Software used: CISCO packet tracer

Procedure
Step 1. Open the CISCO Packet tracer software
Step 2. Drag and drop 1 pc and 2 server using End Device and 1 switch from networking
devices on the left corner
Step 3. Make the connections using copper straight through.
Step 4. Configure the IP address of the PC and servers by clicking on the “Desktop” tab, then
select “IP configuration”, fill the fields as per the addressing table
Step 5. Configure the HTTP server by clicking on the web server and then on “Services” then
on HTTP. Edit the index.html file as desired.
Step 6. Configure the DNS server by clicking on DNS server (device) and then go to services
then click on DNS. Then turn on the DNS services. Name the server in this case
“www.lab13.com” and type address in this case “192.168.1.1” and add the record.
Step 7. Verify the server by using the web browser in the Host by clicking on the “Desktop”
tab, then select “Web Browser” and fill the URL in this case “www.lab13.com” . It
will show the results.
Addressing Table
Device IPv4 Address Subnet Mask Default Getaway DNS Server

PCO 192.168.1.3 255.255.255.0 192.168.1.1 192.168.1.2

Web 155.165.1.1 255.255.0.0 192.168.1.1 192.168.1.2


server
192.168.1.2 255.255.255.0 192.168.1.1 192.168.1.2
DNS

Figure: Web/DNS Sever configuration


Figure: Simulation Panel
Figure: html page
Conclusion:
The web DNS server was configured successfully using cisco packet tracer.
Lab Program Number: 10 Date:
Title: To setup RIP in cisco packet tracer.

Routing Information Protocol (RIP)


The Routing Information Protocol (RIP) is an open-standard protocol. It is a distance-vector
interior gateway protocol. Therefore, it uses ‘routing-by-rumor’ logic to learn or share routes.
This name is given so because the router does not know the network beyond its neighbors. It
is only aware of the information that its neighbors tell the router about it.

Software used: CISCO packet tracer

Procedure
Step 1. Open the CISCO Packet tracer software
Step 2. Drag and drop 2 pcs using End Device Icons on the left corner
Step 3. Drag and drop 2 routers and 2 switch from networking devices.
Step 4. Make the connections using copper straight through and copper cross-over cable.
Step 5. Configure the IP address of the PCs by clicking on the “Desktop” tab, then select “IP
configuration”, Write the IP address of the network and click at the Subnet mask
filed. Subnet Mask will appear automatically and for router use the CLI command.
Step 6. Configure RIP in all the routers using CLI command.
Addressing Table
Device Interface IPv4 Address Subnet Mask Default Getaway

PCO NIC 122.163.1.2 255.0.0.0 122.163.1.1

PC1 NIC 192.155.1.2 255.255.255.0 192.155.1.1

Fa0/0 122.163.1.1 255.0.0.0 N/A


Router 1
Se2/0 10.10.1.0 255.0.0.0 N/A

Fa0/0 192.155.1.1 255.255.255.0 N/A


Router 2
Se2/0 10.10.1.3 255.0.0.0 N/A
Figure: RIP configuration

Figure: Command Line Interface of Router 0


Figure: Command Line Interface of Router 1
Message Transmission

Step 1. Select “Add simple PDU”.


Step 2. Drag and drop the message to the source device and then to the Destination device.
In this case my source device is PC0 and destination device is PC1.
Step 3. Select the Simulation Mode at the bottom right corner.
Step 4. Click at “Play”.
Step 5. Observe the path of the Message from source to destination, and back from the
destination to the source.
In this case, the message moves from PC0 to switch0, switch0 to router 0, router 0 to
router 1, router 1 to switch1, switch1 to PC1 and then again from PC1 to switch1,
switch1 to router 1, router 1 to router 0, router 0 to switch0, switch0 to PC0.
Step 8. Observe the marks. If the source PC is marked correct it means connection is
successfully established.
Step 6.

Figure: Message transmission from PC0 to PC1


Figure: PC0 pinging PC1

Conclusion:
The RIP was configured successfully using cisco packet tracer.

You might also like