0% found this document useful (0 votes)
140 views3 pages

Sub Netting

The document defines IP address classes and subnetting information, including the number of addresses and subnets available for each class and how to calculate subnets and subnet masks. It then provides an example of subnetting a Class B network into 5 subnets and identifying the subnet for the IP address 180.15.100.5. Finally, it shows examples of subnetting a Class A network into 100,000 subnets and a Class C network into 12 subnets.

Uploaded by

Ses Zeal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
140 views3 pages

Sub Netting

The document defines IP address classes and subnetting information, including the number of addresses and subnets available for each class and how to calculate subnets and subnet masks. It then provides an example of subnetting a Class B network into 5 subnets and identifying the subnet for the IP address 180.15.100.5. Finally, it shows examples of subnetting a Class A network into 100,000 subnets and a Class C network into 12 subnets.

Uploaded by

Ses Zeal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

A 10.5.6.20 (10.0.0.0) N.H.H.

H
A 11.5.56.100 (11.0.0.0)
B 153.100.8.5 (153.100.0.0) N.N.H.H
B 153.123.50.254 (153.123.0.0)

C 201.15.15.10 (201.15.15.0) N.N.N.H


C 201.15.16.100(201.15.16.0)

Class A: 1.0.0.0 (1.0.0.1 -> 1.255.255.254)


2^n-2 = 2^24 -2
= 16,777,216 -2
= 16,777,214 IPs
n=# of host bits
Class B: 152.15.0.0 (152.15.0.1 -> 152.15.255.254)
2^n-2 = 2^16 -2
= 65,536 -2
= 64,534 host IPs
Class C: 201.125.10.0 (201.125.10.1 -> 201.125.10.254)
2^n-2 = 2^8 -2
= 256 -2
= 254 host IPs

network: 180.15.0.0
Class B: N.N.H.H
Required:
-Create at least 5 subnets
-Identify all the subnet addresses with their
-usable IP range
-broadcast address
-find the subnet mask
-number of hosts(IP) per subnet
-Identify the subnet of the IP address 180.15.100.5

2^n-2= 2^3-2
= 8-2
= 6
n=3 (the number of bit to be borrowed from the host bits)
1
263 1
842 68421
000|00000.00000000 (network add)
------------------
Subnet Add Usable IP Add. Broadcast Addres
s(unusable)
001 = .32 180.15.32.0 180.15.32.1 -> 180.15.63.254 180.15.63.255
010 = .64 180.15.64.0 180.15.64.1 -> 180.15.95.254 180.15.95.255
011 = .96 180.15.96.0 180.15.96.1 -> 180.15.127.254 180.15.127.255
100 = .128 180.15.128.0 180.15.128.1-> 180.15.159.254 180.15.159.255
101 = .160 180.15.160.0 180.15.160.1-> 180.15.191.254 180.15.191.255
110 = .192 180.15.192.0 180.15.192.1-> 180.15.223.254 180.15.223.255
------------------
111 = .224 subnet mask = 255.255.224.0

1,024 bytes
1,048,576 bytes

1K = 10th bit
1M = 20th
1G = 30th
1T = 40th

# of hosts per subnet = 2^n-2, where n are the remaining host bits to the right
of the line
10th=1024
11th=2048
12th=4096
13th=8192
2^13-2=8192-2
=8190 usable host IPs (hosts)
subnet= 180.15.100.5
1
2631
84268421
IP:180.15.100.5 10110100.00001111.01100100.00000101 AND
SM:255.255.224.0 11111111.11111111.11100000.00000000
-----------------------------------
Subnet: 180.15.96.0 10110100.00001111.01100000.00000000 AND
Default Mask 11111111.11111111.00000000.00000000
-----------------------------------
network add 180.15.0.0 10110100.00001111.00000000.00000000

Class A Network Add.: 88.0.0.0


req'd: 100,000 subnets
2^n-2= 2^17-2
= 131,070 subnets
00000000.00000000.0 | 0000000
-----------------------------
Subnets Range
00000000.00000000.1 88.0.0.128 88.0.0.129 -> 88.0.0.254 88.0.0.2
55
00000000.00000001.0 88.0.1.0 88.0.1.1 -> 88.0.1.126 88.0.1.1
27
00000000.00000001.1 88.0.1.128 88.0.1.129 -> 88.0.1.254 88.0.1.2
55
00000000.00000010.0 88.0.2.0
11111111.11111110.0 88.255.254.0
11111111.11111110.1 88.255.254.128
11111111.11111111.0 88.255.255.0
-----------------------------
11111111.11111111.1 = SM 255.255.255.128

# of hosts:
2^7-2 =128-2
=126 hosts per subnet

class C network: 203.5.100.0


req'd: 12 subnets
2^4-2=16-2
=14 subnets
0000|0000
-----------------
0001 203.5.100.16 203.5.100.17->203.5.100.30 203.5.100.31(BA)
0010 203.5.100.32 203.5.100.33->203.5.100.46 203.5.100.47
0011 203.5.100.48

1100 203.5.100.192
1101 203.5.100.205
1110 203.5.100.224
-----------------
1111=240
Subnet mask: 255.255.255.240
#of hosts per subnet: 2^4-2
= 14 hosts per subnet

Subnet of 203.5.100.88
IP:203.5.100.88 .88 01011000
SM:255.255.255.240 .240 11110000
--------
subnet: 203.5.100.96 01010000 = 96

You might also like