0 - IP - Basics
0 - IP - Basics
0 - IP - Basics
n.h.h.h
11111111.00000000.00000000.00000000
255.0.0.0
2) 127.0.0.1 E
3) 172.16.17.18 B
4) 192.168.10.10 C
192.168.12.10 C
5) 10.11.12.13 A - pvt
6) 14.15.16.17 A pub xx
7) 172.150.150.150 B
8) 192.168.300.400
9) 172.16.20.20 B
10) 20.20.20.20 A pub
11) 169.254.10.11 B
255.255.255.0
N.N.H.H
( note in network all bits are ON
and in host all bits are OFF
11111111.11111111.00000000.00000000
= 255.255.0.0
ipv4
1st octet
starting ending
00 000000 11 111111
follow rule
10 000000 10 1111111
1 0 0 0 0 0 0 0
128 64 32 16 8 4 2 1 = 255
------------------------------------
128 + 0 + 0 + 0 + 0 + 0 + 0 +0 = 128
1 Lab = 12 pc's = C =
1 Lab 500 Pc's = B =
1 Lab 70000 Pc's= A =
Q7. Find out subnet mask for above IP's ( or for Class A,B & C)
10.11.12.13 150.160.170.180 200.201.202.203
255.0.0.0 255.255.0.0 255.255.255.0
N.H.H.H
in network all bits must be ON= 1
in hosts all bits are OFF = 0
*Q8. Find out the range for PVT ip in each class and
which IP belong's to PVT and Public.
Ans: IETF
Starting Ending
1) Class A 10.0.0.0 10.255.255.255
2) Class B 172.16.0.0 172.31.255.255 =
3) Class C 192.168.0.0 192.168.255.255 =
cl A
10.10.10.10/28 ( 8bit + 16 + 4 )
N.H.H.H
11111111.11111111.1111111.11110000
=255.255.255.240
(b4 subnetting how many host in this network = 16777216 ( cl A = network bit = 8
h=24
( 2*24-3) 2*21= 16777216
network id= 10 )
---------------------------------------------------------
-----------------------------------------
=========================================
ip 192.168.10.10/26
sm 255.255.255.192 ( correct answer )
sm=255.255.255.192
host = 6 bit
total nos of hosts = 2*6 = 64
1 network total 64 hosts
2 network total 64 hosts
3 network total 64 hosts
4 network total 64 hosts
=====================
1N H=256 total
192.168.10.0
192.168.10.253
192.168.10.254
192.168.10.255
192.168.11.0
192.168.11.1
192.168.11.255
192.168.12.0
192.168.10.255
192.168.11.0
172.15.255.255 172.16.0.0
172.15.255.255 172.16.0.0
11.255.255.255
12.0.0.0
16.255.255.255
17.0.0.0
**************chart***********
1 ) IP= 192.168.10.10/28
sm= 255.255.255.240
nos of network= 2*4 = 16
nos of hosts= 2*4 = 16
chart= ?
2) IP = 172.16.16.16/20 (16+4)
3) IP = 10.10.10.10/10
Subnetmask= 255.255.240.0
n.n.h.h
11111111.11111111.11110000.00000000
nos of network= 16 ( N=4 , 2*4 =16 )
nos of hosts in each network= ( H=12 , 2*12 =4096 )
to check nos of host are correct then
multi nos of netw with nos of hosts = 16*4096= 65536
Subnetmask= 255.192.0.0
n.n.h.h
11111111.11000000.00000000.00000000
nos of network= 4 ( N=2 , 2*2 =4 )
nos of hosts in each network= ( H=22 , 2*22 = 4194304)
to check nos of host are correct then
multi nos of netw with nos of hosts = 4 * 4194304 = 16777216
-----------------------------------------------------------------------------------
-----
10.191.254.255
10.191.255.0
10.191.255.1 255.2 255.254
10.191.255.255
LL isp
115.116.117.177/28
sm= 255.255.255.240
n= 20 2*20=1048576
host = 4 2*4 = 16
115.0.0.16
255.255.255.240