Sei sulla pagina 1di 17

COMPUTER - COMMUNICATION

LAB - ASSESSMENT = 04

Programme B.Tech-ECE Semester WINTER-(2019-20)

Name Pranav Kumar Course Code ECE4008

REG-NO. 17BEC0473 Slot L29+L30

Faculty Prof. Nandakumar S Max. Marks 10


Experiment - 04
Study of IP – Addresses for various scenarios.

# Aim:- To create a Network Model for IP Validation in terms


of Throughput for different Network Scenarios.

# Tools Required:- NetSim Academic Software

# Theory:- An Internet Protocol address (IP address) is a numerical


label assigned to each device connected to a computer network that uses
the Internet Protocol for communication. An IP address serves two main
functions: host or network interface identification and location
addressing. Internet Protocol Version 4 (IPv4) defines an IP address as
a 32-bit number.
An IP address serves two principal functions.
It identifies the host, or more specifically its network interface, and it
provides the location of the host in the network, and thus the capability
of establishing a path to that host. The header of each IP Packet contains
the IP address of the sending host, and that of the destination host.
# Block Diagram:-
1. Scenario -1 (Class A with Subnetting) :-

# IP-Forwarding Table:-
1. Router - A
(Interface – 1)
IP-address:- 11.1.1.1
Subnet-Mask:- 255.255.0.0 or A/16

(Interface – 2)
IP-address:- 11.1.2.1
Subnet-Mask:- 255.255.0.0 or A/16

2. Wired Node - B
IP-address:- 11.1.1.2
Subnet-Mask:- 255.255.0.0 or A/16
Gateway Address:- 11.1.1.1
3. Wired Node - C
IP-address:- 11.1.2.2
Subnet-Mask:- 255.255.0.0 or A/16
Gateway Address:- 11.1.2.1
# Application - Metrics:-
Source Id Destination Id Packet Packet Payload Payload Throughput(Mbps) Delay(microsec)
Transmitted Received Transmitted Received
2 3 499 499 728540.000000 728540.000000 0.582832 316.354068
# Network - Metrics:-
Simulation Time (ms) = 10000.00

Packets Transmitted = 2017

Packets Errored = 4

Packets Collided = 0

Bytes Transmitted (Bytes) = 1600678.00

Payload Transmitted (Bytes) = 1457080.00

Overhead Transmitted (Bytes) = 143598.00

2. Scenario -2 (Class B with Subnetting):-


Block-Diagram:-
# IP-Forwarding Table:-
1. Router - A
(Interface – 1)
IP-address:- 130.1.1.1
Subnet-Mask:- 255.255.255.0 or B/24
(Interface – 2)
IP-address:- 130.1.2.1
Subnet-Mask:- 255.255.255.0 or B/24
2. Wired Node - B
IP-address:- 130.1.1.2
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.1.1.1
3. Wired Node - C
IP-address:- 130.1.2.2
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.1.2.1
# Application - Metrics:-
Source Id Destination Id Packet Packet Payload Payload Throughput(Mbps) Delay(microsec)
Transmitted Received Transmitted Received
2 3 499 499 728540.000000 728540.000000 0.582832 316.354068
# Network - Metrics:-
Simulation Time (ms) = 10000.00

Packets Transmitted = 2017

Packets Errored = 4

Packets Collided = 0

Bytes Transmitted (Bytes) = 1600678.00

Payload Transmitted (Bytes) = 1457080.00


Overhead Transmitted (Bytes) = 143598.00

# Block Diagram:
3. Scenario -3 (Class A and B without Subnetting):-

# IP-Forwarding Table:-
1. Router - A
(Interface – 1) (Class A without subnetting)
IP-address:- 11.1.1.1
Subnet-Mask:- 255.0.0.0 or A/8

(Interface – 2) (Class B without subnetting)


IP-address:- 130.1.2.1
Subnet-Mask:- 255.255.0.0 or B/16
2. Wired Node - D
IP-address:- 11.1.1.2
Subnet-Mask:- 255.0.0.0 or A/8
Gateway Address:- 11.1.1.1
3. Wired Node - E
IP-address:- 11.1.1.3
Subnet-Mask:- 255.0.0.0 or A/8
Gateway Address:- 11.1.1.1
4. Wired Node - F
IP-address:- 130.1.2.2
Subnet-Mask:- 255.255.0.0 or B/16
Gateway Address:- 130.1.2.1
5. Wired Node - G
IP-address:- 130.1.2.3
Subnet-Mask:- 255.255.0.0 or B/16
Gateway Address:- 130.1.2.1
# Application - Metrics:-
Source Id Destination Id Packet Packet Payload Payload Throughput(Mbps) Delay(microsec)
Transmitted Received Transmitted Received
4 6 499 499 728540 728540 0.582832 656.1861
5 7 499 499 728540 728540 0.582832 718.6067
SUM 1.165664 1374.7928
# Network - Metrics:-
Simulation Time (ms) = 10000.00

Packets Transmitted = 8087

Packets Errored = 9

Packets Collided = 0

Bytes Transmitted (Bytes) = 6421528.00

Payload Transmitted (Bytes) = 5853140.00


Overhead Transmitted (Bytes) = 568388.00

# Block Diagram:
4. Scenario -4 (Class C without Subnetting):-

# IP-Forwarding Table:-
1. Router - E
(Interface – 1)
IP-address:- 192.1.1.1
Subnet-Mask:- 255.255.255.0 or C/24

(Interface – 2)
IP-address:- 200.1.1.1
Subnet-Mask:- 255.255.255.0 or C/24
2. Wired Node - A
IP-address:- 192.1.1.2
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 192.1.1.1
3. Wired Node - B
IP-address:- 192.1.1.3
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 192.1.1.1
4. Wired Node - C
IP-address:- 200.1.1.2
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 200.1.1.1
5. Wired Node - D
IP-address:- 200.1.1.3
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 200.1.1.1
# Application - Metrics:-
Source Id Destination Id Packet Packet Payload Payload Throughput(Mbps) Delay(microsec)
Transmitted Received Transmitted Received
1 3 499 499 728540.000000 728540.000000 0.582832 656.186132
2 4 499 499 728540.000000 728540.000000 0.582832 718.606733
SUM 1.165664 1374.792865
# Network - Metrics:-
Simulation Time (ms) = 10000.00

Packets Transmitted = 8087

Packets Errored = 9

Packets Collided = 0

Bytes Transmitted (Bytes) = 6421528.00

Payload Transmitted (Bytes) = 5853140.00


Overhead Transmitted (Bytes) = 568388.00

# Block Diagram:
5. Scenario -5 (Default case Class B , Class A , Class B):-

# IP-Forwarding Table:-
1. Router - A
(Interface – 1) (Router)
IP-address:- 11.2.1.1
(Interface – 2) (Router)
IP-address:- 11.4.1.1
(Interface – 3) (Router)
IP-address:- 11.10.1.1
(Interface – 4) (Switch)
IP-address:- 11.12.1.1
(Interface – 5) (Switch)
IP-address:- 11.13.1.1
2. Wired Node - L
IP-address:- 11.12.1.2
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.12.1.1
3. Wired Node - M
IP-address:- 11.12.1.3
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.12.1.1
4. Wired Node - N
IP-address:- 11.13.1.2
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.13.1.1
5. Wired Node - O
IP-address:- 11.13.1.3
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.13.1.1

6. Router - F
(Interface – 1) (Router)
IP-address:- 11.6.1.1
(Interface – 2) (Router)
IP-address:- 11.7.1.1
(Interface – 3) (Router)
IP-address:- 11.8.1.1
(Interface – 4) (Switch)
IP-address:- 11.1.1.1
(Interface – 5) (Switch)
IP-address:- 11.11.1.1
7. Wired Node - P
IP-address:- 11.1.1.2
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.1.1.1
8. Wired Node - Q
IP-address:- 11.1.1.3
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.1.1.1
9. Wired Node - R
IP-address:- 11.11.1.2
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.11.1.1
10. Wired Node - S
IP-address:- 11.11.1.3
Subnet-Mask:- 255.255.255.0 or C/24
Gateway Address:- 11.11.1.1
# Application - Metrics:-
Source Id Destination Id Packet Packet Payload Payload Throughput(Mbps) Delay(microsec)
Transmitted Received Transmitted Received
12 16 499 499 728540.000000 728540.000000 0.582832 826.083527
15 19 499 499 728540.000000 728540.000000 0.582832 990.416192
SUM 1.165664 1816.499719
# Network - Metrics:-
Simulation Time (ms) = 10000.00

Packets Transmitted = 12530

Packets Errored = 7

Packets Collided = 0

Bytes Transmitted (Bytes) = 9507448.00

Payload Transmitted (Bytes) = 8771332.00


Overhead Transmitted (Bytes) = 736116.00

# Block Diagram:
1. Scenario -6 (Class B with Subnetting , Class A without
Subnetting , Class B with Subnetting):-

# IP-Forwarding Table:-
1. Router - A
(Interface – 1)
IP-address:- 130.100.1.1
Subnet-Mask:- 255.255.255.0 or B/24
(Interface – 2)
IP-address:- 130.100.2.1
Subnet-Mask:- 255.255.255.0 or B/24

(Interface – 3)
IP-address:- 11.0.0.1
Subnet-Mask:- 255.0.0.0 or A/8
(Interface – 4)
IP-address:- 14.0.0.1
Subnet-Mask:- 255.0.0.0 or A/8
(Interface – 5)
IP-address:- 17.0.0.1
Subnet-Mask:- 255.0.0.0 or A/8
2. Wired Node - L
IP-address:- 130.100.1.2
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.1.1
3. Wired Node - M
IP-address:- 130.100.1.3
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.1.1
4. Wired Node - N
IP-address:- 130.100.2.2
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.2.1
5. Wired Node - O
IP-address:- 130.100.2.3
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.2.1

6. Router - F
(Interface – 1)
IP-address:- 130.100.3.1
Subnet-Mask:- 255.255.255.0 or B/24
(Interface – 2)
IP-address:- 130.100.4.1
Subnet-Mask:- 255.255.255.0 or B/24
(Interface – 3)
IP-address:- 13.0.0.2
Subnet-Mask:- 255.0.0.0 or A/8
(Interface – 4)
IP-address:- 16.0.0.2
Subnet-Mask:- 255.0.0.0 or A/8
(Interface – 5)
IP-address:- 18.0.0.2
Subnet-Mask:- 255.0.0.0 or A/8
7. Wired Node - P
IP-address:- 130.100.3.2
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.3.1
8. Wired Node - Q
IP-address:- 130.100.3.3
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.3.1
9. Wired Node - R
IP-address:- 130.100.4.2
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.4.1
10. Wired Node - S
IP-address:- 130.100.4.3
Subnet-Mask:- 255.255.255.0 or B/24
Gateway Address:- 130.100.4.1
# Application - Metrics:-
Source Id Destination Id Packet Packet Payload Payload Throughput(Mbps) Delay(microsec)
Transmitted Received Transmitted Received
12 16 499 499 728540.000000 728540.000000 0.582832 866.1677
15 19 499 499 728540.000000 728540.000000 0.582832 950.5825
SUM 1.165664 1816.7502
# Network - Metrics:-
Simulation Time (ms) = 10000.00

Packets Transmitted = 12560

Packets Errored = 6

Packets Collided = 0

Bytes Transmitted (Bytes) = 9707448.00

Payload Transmitted (Bytes) = 8821332.00

Overhead Transmitted (Bytes) = 743116.00

# Bar – Chart (Throughput):-

Throughput (Mbps)
0.7
Throughput (Mbps)

0.582832 0.582832 0.582832 0.582832 0.582832 0.582832


0.6

0.5

0.4

0.3

0.2

0.1

0
Scenario-1 Scenario-2 Scenario-3 Scenario-4 Scenario-5 Scenario-6
# Bar – Chart (Delay):-

Delay (Microsecs)
1000 908.25 908.375
Delay (Microsecs)

900
800
687.3965 687.3965
700
600
500
400 316.354068 316.354068
300
200
100
0
Scenario-1 Scenario-2 Scenario-3 Scenario-4 Scenario-5 Scenario-6

# Inference:- From the plotted bar graphs we can infer that Throughput
comes out to be same for all the 6 scenarios whereas Delay comes out to
be same for the first two scenarios and middle two scenarios.

# Conclusion:- Hence, the networks for all 6 various scenarios have


been simulated in the software and the IP-Addresses for all the cases
have been studied and corresponding Throughput and Delay have been
analyzed.

Potrebbero piacerti anche