Professional Documents
Culture Documents
Network Lab Report
Network Lab Report
Sl.No Page no
Name of the Experiment
1
Experiment No: 01
Experiment Name: Simulator program router configuration for sending packet from
one network to another network using packet Tracer 6.1.
Objective:
The objective of this experiment is to design router configuration for sending packet by using
packet tracer. Use Packet Tracer 6 to complete the following action-
Develop and understand of the basic functions of Packet Tracer.
Add and configure devices to the network.
Configure many computers with router.
Create a simple Ethernet network.
Circuit Diagram:
Procedure:
Take one router and two switch. Connect router and switch by straight line. Connect PC with
each switch also by straight line. Then configure each PC and Router.Here two networks are
192.168.0.0 and 172.16.0.0.
Now,if we send two packet, one from PC A to PC B and another from PC C to PC D.Then each
packet is sent to switch first and then switch sends it to router.As router limits broadcasting, it
passes the packet to switch which sends the packet to destination PC. The receiver receives
packet sent from sender PC and send acknowledgement packet to the sender PC.
2
3
Fig(a) Packet sends to receiver
Fig(b) PC receives packets from another network.
Fig© Receiver PC gives feedback
4
Experiment No: 02
Experiment Name: Simulator program designing a network applying devices switch
and hub by using packet tracer 6.1.
Objective
Objective of this experiment is to design a network of computers using hubs and switch by using
packet tracer. Using packet tracer 5.3 to complete the following action-\n
Procedure:
Step-01: Create a logical network diagram with 4 PCs, 2 hubs, and 1switch.The PCs are
connected to the hub by using straight-through connection and hubs are connected to the switch
by using cross-over connection.
5
Circuit Diagram:
Fig(a)
Fig(b)
6
Fig(c)
This is a successful experiment, by using packet tracer 6.1. Packet is sending from source PC B
to destination PC C through network. Receiver PC2 receives the packet successfully then receiver
send the acknowledge to source PC B. This is successful network configuration for one network
to another network communication by using the device hub and switch.
7
Experiment No: 03
Experiment Name: Simulator program router configuration using multiple router
for sending packet among three networks using static routing process by using packet
Tracer 6.1.
Objective
Objective of this experiment is to design router configuration by using packet tracer. Use Packet
Tracer 6 to complete the following action-
Procedure:
Take three routers and three switches. Connect router and switch by straight line and connect
routers between routers by cross line connection. Connect PC with each switch also by straight
line. Then configure each PC and Router. Here three networks are 192.168.0.0, 172.16.0.0 and
10.0.0.0.
Now, if we send a packet from PC3 to PC4 then the packet is sent to switch first and then switch
sends it to router. As router limits broadcasting, it passes the packet to another router for finding
another network which sends the packet to a switch that passes the packet to the destination PC.
The receiver PC sends an acknowledgement packet after receiving a packet successfully.
8
Fig1: Main Topology
9
Fig2: After successful packet delivery
This is a successful experiment, by using packet tracer 6.1 Packet is successfully send between
the PC’s and the router from one network to another.
10
Experiment no: 04
Simulator program router configuration using three router for sending packet from one
network to another network among three networks by using RIP routing technique.
Objectives:
The objective of this experiment is to design router configuration by using RIP routing. Use
Packet Tracer 6 to complete the following action-
Develop and understand of the basic functions of Packet Tracer.
Add and configure devices to the network.
Configure many computers with routers.
Create a simple Ethernet network.
Procedure:
Take three generic routers and three switches. Connect router and switch by straight line and
connect routers between routers by cross line connection. Connect PC with each switch also by
straight line. Then configure each PC and Router. For configuring router we must extend the
slot then set IP to each using ports. Finally for RIP routing we must add every network address
connected with corresponding Router.
Now, if we send a packet from PC2 to PC4 then the packet is sent to switch first and then
switch sends it to router. As router limits broadcasting, it passes the packet to another router
for finding another network which sends the packet to a switch that passes the packet to the
destination PC. The receiver PC sends an acknowledgement packet after receiving a packet
successfully.
11
Circuit Diagram:
12
Fig: PC receives packet
13
Experiment no: 05
Name of the Experiment:
Simulator program static one-to-one NAT by using packet tracer version 6.1.
Objectives:
Objective of this experiment is to configure static one-to-one NAT by using packet tracer. Using
Packet Tracer 5.3 to complete the following actions-
Procedure:
For configuring NAT in a router,
a) First we need to decide which will be 'inside' and 'outside' area of NAT scheme. Generally,
network having private IP addresses is in 'inside' area. And a network having public IP addresses
is in 'outside' area.
Commands:
14
Circuit Diagram:
15
Result & Discussion:
This is a successful experiment, by using packet tracer 6.1 Packet is successfully send between
the PC’s and the router.
16
Experiment no: 06
Name of the Experiment:
Simulator program NAT by using packet tracer (dynamic many-to-one nat)
Objectives:
Objective of this experiment is to configure static one-to-one NAT by using packet tracer. Using
Packet Tracer 5.3 to complete the following actions-
Procedure:
For configuring NAT in a router,
a) First we need to decide which will be 'inside' and 'outside' area of NAT scheme. Generally,
network having private IP addresses is in 'inside' area. And a network having public IP addresses
is in 'outside' area.
Commands:
a) With dynamic NAT the translation table in the router is initially empty and gets populated
once traffic that needs to be translated passes through the router.
b) Configuring Dynamic NAT, we can easily map a set of IP addresses to
(i) a single IP addresses (Many-to-One)
(ii) a pool of IP addresses
(Many-to-Many no overload / Many-to-Many overload)
17
Many-to-One:
We can map a set of machines' IP addresses to a single IP address:
(a) using an interface's address or
(b) keeping a single IP address into a pool of IP addresses. [See right]
Steps for Case-(a):
Step-1: Define NAT inside and outside interfaces.
Step-2: Make a list for permitting packets with source addresses
ranging from A1.B1.C1.D1 to A2.B2.C2.D2.
Step-3: Configure NAT to overload on the address that is assigned
to the outside interface.
Commands:
Router(config)# access-list listNo<1-99> permit addressToMatch wildCardBits
Router(config)#ip nat inside source list listNo interface interfaceNo
Example:
R4(config)#access-list 1 permit 172.16.1.0 0.0.0.255
R4(config)#ip nat inside source list 1 interface fastEthernet0/1
Circuit Diagram:
18
Fig: Receiver sends feedback to sender
This is a successful experiment, by using packet tracer 6.1 Packet is successfully send between
the PC’s and the server’s.
19
Experiment no: 07
Name of the Experiment:
Simulator program NAT by using packet tracer (dynamic many-to-many nat)
Objectives:
Objective of this experiment is to configure static one-to-one NAT by using packet tracer. Using
Packet Tracer 5.3 to complete the following actions-
Procedure:
For configuring NAT in a router,
a) First we need to decide which will be 'inside' and 'outside' area of NAT scheme. Generally,
network having private IP addresses is in 'inside' area. And a network having public IP addresses
is in 'outside' area.
Commands:
Many-to-Many:
(i) We can use NAT to translate each of the inside devices to
(a) a unique valid address, or
(b) the same valid address. This is known as overloading.
(ii) Overloading is useful when fewer addresses are available than the actual number of hosts
to be translated.
(iii) Whether overloading or not, we need to create a pool of IP addresses for Dynamic NAT.
Steps for Overloading:
1. Define NAT inside and outside interfaces.
2. Create a pool of IP addresses.
3. Create an access−list for the inside networks that has to be mapped.
4. Associate the access−list to be natted to the pool and then overload the addresses.
20
Commands:
Router(config)#ip nat pool poolName startIPAddr netmask maskBits
Router(config)#ip nat inside source list listNo pool poolName overload
*** For non-overloading dynamic NAT, we just need to delete 'overload' from the second
command
Example:
R3(config)#interface fastEthernet0/0
R3(config-if)#ip address 172.16.1.1 255.255.255.0
R3(config-if)#ip nat inside
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface fastEthernet0/1
R3(config-if)#ip address 40.40.40.1 255.255.255.0
R3(config-if)#ip nat inside
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#ip nat pool cse 50.50.50.1 50.50.50.10 netmask 255.255.255.0
R3(config)#access-list 10 permit 172.16.1.0 0.0.0.255
R3(config)#ip nat inside source list 10 interface FastEthernet0/1 overload
21
Fig: Sender PC receives feedback successfully
Result & Discussion:
This is a successful experiment, by using packet tracer 6.1 Packet is successfully send between
the PC’s and the server’s.
22
Experiment No: 08
Simulator program web server configuration by using packet tracer version 6.1.
Objectives:
Objective of this experiment is to configure a web server by using packet tracer. Using Packet
Tracer 6.1 to complete the following actions-
Procedure:
Step-01: Creating a logical network diagram with two PC and two server connected with a
switch and straight-through cables.
Step- 02: Configure host names and IP addresses on the PCs.
Step-03: Observe the flow of data from PC to server by creating network traffic.
Circuit Diagram:
23
Fig2: Packet sent from PC1 to Server
24
Fig4: After successful delivery
This is a successful experiment, by using packet tracer 6.1 Packet is successfully send between
the PC’s and the server’s.
25
Experiment No: 09
Simulator program web server configuration with a router by using packet tracer version 6.1.
Objectives: Objective of this experiment is to configure a web server by using packet tracer.
Using Packet Tracer 6.1 to complete the following actions-
1. Adding and configuring devices to the network
2. Configuring the computer and server
3. Creating a simple Ethernet network.
4. Connecting Pc and server with copper wire.
Procedure:
Step-01: Creating a logical network diagram with three PC, and two server, a router connected
with a switch and straight-through cables.
Step- 02: Configure host names and IP addresses on the PCs,router and server’s.
Step-03: Observe the flow of data from PC to server by creating network traffic.
Circuit Diagram:
26
Fig: Packet received by PC
This is a successful experiment, by using packet tracer 6.1 Packet is successfully send between
the PC’s and the server’s.
27