Download as pdf or txt
Download as pdf or txt
You are on page 1of 27

Index

Sl.No Page no
Name of the Experiment

1 Simulator program router configuration for sending packet from one 2


network to another network using packet Tracer 6.1.

2 Simulator program designing a network applying devices switch and hub 5


using packet Tracer 6.1.

3 Simulator program router configuration using multiple router for 8


sending packet among three networks using static routing process by
using packet Tracer 6.1.

4 Simulator program router configuration using three router for sending 11


packet from one network to another network among three networks
by using RIP routing technique.

5 Simulator program NAT (static one-to-one nat) by using packet tracer 14


version 6.1.
6 Simulator program NAT (dynamic many-to-one nat) by using packet tracer 17
version 6.1.
7 Simulator program NAT (dynamic many-to-many nat) by using packet 20
tracer version 6.1.

8 Simulator program web server configuration by using packet tracer in same 23


network version 6.1.

9 Simulator program web server configuration by using packet tracer in 26


different network version 6.1.

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

Result & Discussion:


This is a successful experiment, by using packet tracer 6.1. Packet sending from one network to
another,takes packet from one pc and transmit the packet into another pc ,receiver receives the
packet successfully and then receiver sends the acknowledge to sender pc. So,this is a successful
network configuration for one network to another network communication by using one router.

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

 Add configure devices to the network.


 Configure computers, two hubs and switch.
 Create a simple Ethernet network.
 Observe data flow from sender to receiver.

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.

Step- 02: Configure host names and IP addresses of the PCs.

Step-03: Observe the flow of data from PC to PC by creating network traffic.

Step-04: Configure the devices with the following addresses:

PC A-IP Address 192.168.1.1/24

PC B-IP Address 192.168.1.2/24

PC C-IP Address 192.168.1.3/24

PC D-IP Address 192.168.1.4/24

Step-5: Data/packet sends from one station to another station.

Step-06: Verify connectivity.

5
Circuit Diagram:

Fig(a)

Fig(b)

6
Fig(c)

Fig: (a) PC B sends a packet to PC C


(b) PC C receives packet successfully
(c) PC B receive acknowledgement successfully
Result & Discussion:

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-

 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 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

Result & Discussion:

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

Name of the Experiment:

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:

Fig: Main Topology

Fig: PC sends packet to receiver

12
Fig: PC receives packet

Fig: Receiver PC sends feedback

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.

b) Second, we need to define interfaces of router as 'inside' and 'outside' interfaces.

Commands:

Router(config-if)#ip nat inside or Router(config-if)#ip nat outside


c) Third, we need to decide what will be newAddress for each oldAddress. There are two ways to
do this:
a) Static NAT
b) Dynamic NAT
Static NAT:
In a static NAT, a translation is statically configured and is placed in the translation table without
the need for any traffic.
CLI command:
R2(config)#interface fastEthernet0/0
R2(config-if)# ip address 171.16.1.1 255.255.255.0
R2(config-if)#ip nat inside
R2(config-if)#exit
R2(config)#interface fastEthernet0/1
R2(config-if)# ip address 40.40.40.1 255.255.255.0
R2(config-if)#ip nat outside
R2(config-if)#exit

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.

b) Second, we need to define interfaces of router as 'inside' and 'outside' interfaces.

Commands:

Router(config-if)#ip nat inside or Router(config-if)#ip nat outside


c) Third, we need to decide what will be newAddress for each oldAddress. There are two ways to
do this:
a) Static NAT
b) Dynamic NAT
Dynamic NAT:

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

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.

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.

b) Second, we need to define interfaces of router as 'inside' and 'outside' interfaces.

Commands:

Router(config-if)#ip nat inside or Router(config-if)#ip nat outside


c) Third, we need to decide what will be newAddress for each oldAddress. There are two ways to
do this:
a) Static NAT
b) Dynamic NAT
Dynamic NAT:

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

Name of the Experiment:

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-

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 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:

Fig1: Main Topology

23
Fig2: Packet sent from PC1 to Server

Fig3: Packet received by Server0

24
Fig4: After successful delivery

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.

25
Experiment No: 09

Name of the Experiment:

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:

Fig: Packet sent from server1 from PC

26
Fig: Packet received by PC

Fig4: After successful delivery

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.

27

You might also like