Tuesday, February 25, 2020

IP Subnetting

Subnetting
2^7 |2^6|2^5|2^4|2^3|2^2|2^1|2
128 |64 |32|16|8|4|2|1|
 
 
Network= 2^N where N=Network bits
Hosts = 2^H - 2 Where H is the host bits
 
Classfull Networks
A 0-191.0.0.0 255.0.0.0
B 192-223.0.0.0 255.255.0.0
C 224-
D
E
subnetting is taking a large network and dividing it into smaller network
Network: all host bits set to Zero
Broadcast: All host bits set to one
150.50.0.0
150.50.255.255
If you have a class c network 192.168.3.0/24 and you need 4 networks
class bits = 8 bits 2^8=256 so each group will be 256/4 = 64
Network = 2^N =4
N=2 so you need 2 bits
255.255.255.11000000
Host bits
2^6 -2 = 64-2 =62 Hosts
Networks
0-63
64-127
128-191
192-255



Subnetting

2^7 |2^6|2^5|2^4|2^3|2^2|2^1|2
128 |64  |32|16|8|4|2|1|



Network= 2^N  where N=Network bits
Hosts = 2^H  - 2 Where H is the host bits


Classfull Networks

A       0-191.0.0.0  255.0.0.0
B   192-223.0.0.0  255.255.0.0
C  224-
D
E

subnetting is taking a large network and dividing it into smaller network
Network: all host bits set to Zero
Broadcast: All host bits set to one
150.50.0.0
150.50.255.255

If you have a class c network  192.168.3.0/24  and you need 4 networks
class bits = 8 bits 2^8=256 so each group will be 256/4 = 64

Network = 2^N =4
N=2 so you need 2 bits
255.255.255.11000000

Host bits
2^6 -2 = 64-2 =62 Hosts

Networks
0-63
64-127
128-191
192-255



No comments:

Post a Comment