IP Address Using Class C and B IP: Computer Communication Kartik Malik 17BEC0685 L49-L50

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

Computer Communication

Task 5
Kartik Malik
17BEC0685
L49-L50
IP Address using Class C and B IP
Aim: To find the IP addresses allocated for each nodes and routers
connected to a network using class C and class B IP addresses.
Tools required:
1) Netsim
2) Switches
3) Wired Nodes, Wired Link

Network Diagram:

Network Parameters:
Packet size = Default
Inter Arrival Time = Default
Number of Applications = 3
Application Type = CBR
Network Parameters:
For Class C IP address:
IP Forwarding Table
ROUTER A
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.14.0 255.255.255.0 192.168.13.2 192.168.13.1 126 -
192.168.11.0 255.255.255.0 192.168.13.2 192.168.13.1 126 -
192.168.12.0 255.255.255.0 192.168.15.2 192.168.15.1 126 -
192.168.10.0 255.255.255.0 on-link 192.168.10.1 300 -
192.168.15.0 255.255.255.0 on-link 192.168.15.1 300 -
192.168.13.0 255.255.255.0 on-link 192.168.13.1 300 -
255.255.255.255 255.255.255.255 on-link 192.168.10.1 999 -

WIRED NODE G
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.10.0 255.255.255.0 on-link 192.168.10.3 300 -
255.255.255.255 255.255.255.255 on-link 192.168.10.3 999 -
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.3 999 Default

ROUTER B
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.15.0 255.255.255.0 192.168.13.1 192.168.13.2 126 -
192.168.10.0 255.255.255.0 192.168.13.1 192.168.13.2 126 -
192.168.12.0 255.255.255.0 192.168.14.2 192.168.14.1 126 -
192.168.11.0 255.255.255.0 on-link 192.168.11.1 300 -
192.168.14.0 255.255.255.0 on-link 192.168.14.1 300 -
192.168.13.0 255.255.255.0 on-link 192.168.13.2 300 -
255.255.255.255 255.255.255.255 on-link 192.168.11.1 999 -

WIRED NODE H
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.10.0 255.255.255.0 on-link 192.168.10.2 300 -
255.255.255.255 255.255.255.255 on-link 192.168.10.2 999 -
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.2 999 Default

ROUTER C
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.13.0 255.255.255.0 192.168.14.1 192.168.14.2 126 -
192.168.11.0 255.255.255.0 192.168.14.1 192.168.14.2 126 -
192.168.10.0 255.255.255.0 192.168.15.1 192.168.15.2 126 -
192.168.12.0 255.255.255.0 on-link 192.168.12.1 300 -
192.168.15.0 255.255.255.0 on-link 192.168.15.2 300 -
192. 168.14.0 255.255.255.0 on-link 192.168.14.2 300 -
255. 255.255.255 255.255.255.255 on-link 192.168.12.1 999 -

WIRED NODE I
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.10.0 255.255.255.0 on-link 192.168.10.4 300 -
255.255.255.255 255.255.255.255 on-link 192.168.10.4 999 -
0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.4 999 Default

WIRED NODE J
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.12.0 255.255.255.0 on-link 192.168.12.4 300 -
255.255.255.255 255.255.255.255 on-link 192.168.12.4 999 -
0.0.0.0 0.0.0.0 192.168.12.1 192.168.12.4 999 Default

WIRED NODE K
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.12.0 255.255.255.0 on-link 192.168.12.3 300 -
255.255.255.255 255.255.255.255 on-link 192.168.12.3 999 -
0.0.0.0 0.0.0.0 192.168.12.1 192.168.12.3 999 Default

WIRED NODE L
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.12.0 255.255.255.0 on-link 192.168.12.2 300 -
255.255.255.255 255.255.255.255 on-link 192.168.12.2 999 -
0.0.0.0 0.0.0.0 192.168.12.1 192.168.12.2 999 Default

WIRED NODE M
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.11.0 255.255.255.0 on-link 192.168.11.4 300 -
255.255.255.255 255.255.255.255 on-link 192.168.11.4 999 -
0.0.0.0 0.0.0.0 192.168.11.1 192.168.11.4 999 Default
WIRED NODE N
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.11.0 255.255.255.0 on-link 192.168.11.3 300 -
255.255.255.255 255.255.255.255 on-link 192.168.11.3 999 -
0.0.0.0 0.0.0.0 192.168.11.1 192.168.11.3 999 Default
WIRED NODE O
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
192.168.11.0 255.255.255.0 on-link 192.168.11.2 300 -
255.255.255.255 255.255.255.255 on-link 192.168.11.2 999 -
0.0.0.0 0.0.0.0 192.168.11.1 192.168.11.2 999Default

For Class B IP Address:


IP Forwarding Table
ROUTER A
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.14.0.0 255.255.0.0 172.13.0.2 172.13.0.1 126 -
172.11.0.0 255.255.0.0 172.13.0.2 172.13.0.1 126 -
172.12.0.0 255.255.0.0 172.15.0.2 172.15.0.1 126 -
172.10.0.0 255.255.0.0 on-link 172.10.0.1 300 -
172.15.0.0 255.255.0.0 on-link 172.15.0.1 300 -
172.13.0.0 255.255.0.0 on-link 172.13.0.1 300 -
255.255.255.255 255.255.255.255 on-link 172.10.0.1 999 -

WIRED NODE G
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.10.0.0 255.255.0.0 on-link 172.10.0.3 300 -
255.255.255.255 255.255.255.255 on-link 172.10.0.3 999 -
0.0.0.0 0.0.0.0 172.10.0.1 172.10.0.3 999 Default

ROUTER B
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.15.0.0 255.255.0.0 172.13.0.1 172.13.0.2 126 -
172.10.0.0 255.255.0.0 172.13.0.1 172.13.0.2 126 -
172.12.0.0 255.255.0.0 172.14.0.2 172.14.0.1 126 -
172.11.0.0 255.255.0.0 on-link 172.11.0.1 300 -
172.14.0.0 255.255.0.0 on-link 172.14.0.1 300 -
172.13.0.0 255.255.0.0 on-link 172.13.0.2 300 -
255.255.255.255 255.255.255.255 on-link 172.11.0.1 999 -

WIRED NODE H
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.10.0.0 255.255.0.0 on-link 172.10.0.2 300 -
255.255.255.255 255.255.255.255 on-link 172.10.0.2 999 -
0.0.0.0 0.0.0.0 172.10.0.1 172.10.0.2 999 Default
ROUTER C
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.13.0.0 255.255.0.0 172.14.0.1 172.14.0.2 126 -
172.11.0.0 255.255.0.0 172.14.0.1 172.14.0.2 126 -
172.10.0.0 255.255.0.0 172.15.0.1 172.15.0.2 126 -
172.12.0.0 255.255.0.0 on-link 172.12.0.1 300 -
172.15.0.0 255.255.0.0 on-link 172.15.0.2 300 -
172.14.0.0 255.255.0.0 on-link 172.14.0.2 300 -
255.255.255.255 255.255.255.255 on-link 172.12.0.1 999 -

WIRED NODE I
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.10.0.0 255.255.0.0 on-link 172.10.0.4 300 -
255.255.255.255 255.255.255.255 on-link 172.10.0.4 999 -
0.0.0.0 0.0.0.0 172.10.0.1 172.10.0.4 999 Default

WIRED NODE J
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.12.0.0 255.255.0.0 on-link 172.12.0.4 300 -
255.255.255.255 255.255.255.255 on-link 172.12.0.4 999 -
0.0.0.0 0.0.0.0 172.12.0.1 172.12.0.4 999 Default

WIRED NODE K
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.12.0.0 255.255.0.0 on-link 172.12.0.3 300 -
255.255.255.255 255.255.255.255 on-link 172.12.0.3 999 -
0.0.0.0 0.0.0.0 172.12.0.1 172.12.0.3 999 Default

WIRED NODE L
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.12.0.0 255.255.0.0 on-link 172.12.0.2 300 -
255.255.255.255 255.255.255.255 on-link 172.12.0.2 999 -
0.0.0.0 0.0.0.0 172.12.0.1 172.12.0.2 999 Default

WIRED NODE M
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.11.0.0 255.255.0.0 on-link 172.11.0.4 300 -
255.255.255.255 255.255.255.255 on-link 172.11.0.4 999 -
0.0.0.0 0.0.0.0 172.11.0.1 172.11.0.4 999 Default
WIRED NODE N
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.11.0.0 255.255.0.0 on-link 172.11.0.3 300 -
255.255.255.255 255.255.255.255 on-link 172.11.0.3 999 -
0.0.0.0 0.0.0.0 172.11.0.1 172.11.0.3 999Default

WIRED NODE O
Network Destination NetMask/Prefix_len Gateway Interface Metric Type
172.11.0.0 255.255.0.0 on-link 172.11.0.2 300 -
255.255.255.255 255.255.255.255 on-link 172.11.0.2 999 -
0.0.0.0 0.0.0.0 172.11.0.1 172.11.0.2 999Default

Result: Thus, the given network is assigned with class B and class C IP addresses
and the IP forwarding table for both classes of IP address are obtained and
analysed.

Inference: Class B IP address is useful when more hosts per network are
needed than the number of networks and class C IP address is more useful
when more networks are needed than the number of hosts per network.

You might also like