IP's Are 2 Type
1.Physical IPs
Mac Address
2.Logical IPs
IPV4 And IPV6
In IPV4
Public IP
Private IP
example of IP
192.168.1.1
Ip = Network ID + Host ID;
Ipv4=32Bit Address.
Max Value = 0 to 255.
Classes Of IP
5 Type OF Class
Class A 1.0.0.0 to 126.0.0.0
Class B 128.255.0.0 to 191.255.0.0
Class C 192.255.255.0 to 223.255.255.0
Class D 224 to 239 For Testing Purpose Used
Class E 240 to 255 For Research Purpose
Note: 127.0.0.0 Ip is allcoated For LoopBack Address.
Theoretically Range 0 to 127 Class A.
For Check You Can Ping 127.0.0.0 to Your CMD(Command Prompt).
Now How TO Find IPs Network and Host ID.
First Check Class First octal Belongs To Which Class.
Next Refer This
Class A N.H.H.H
Class B N.N.H.H
Class C N.N.N.H
Where N= Network ID;
and H = Host ID.
And Network=1bit.
Host =0bit.
How To Find Subnet Mask IP.
Binary to Decimal Value 11111111 => 255
Example:
Class A= 115.10.10.20
Network+Host = 11111111.00000000.00000000.00000000
So Subnet Mask =255.0.0.0
Class B =255.255.0.0
Class C=255.255.255.0
How to Convert IPs to Binary ?
Example
192.168.37.200
2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0
128 64 32 16 8 4 2 1
concate the Value and Make the 192
Convert In 8 bit binary
Note:Take 1 for Which Add Values and 0 For Not Take Value In Addition.
128+64=192 so 1 1 0 0 0 0 0 0 this is binary of 192
128+32+8 =168 so 1 0 1 0 1 0 0 0 this is binary of 168
32+4+1 =37 so 0 0 1 0 0 1 0 1 this is binary of 37
128+64+8=200 so 1 1 0 0 1 0 0 0 this is binary of 200
Private Ip Detail
Class A= 10.0.0.0
Class B =172.16.x.x-172.31.x.x
Class C = 192.x.x.x
Reserved For Private IP.
How Many Computer You Connect With The Given Ip
176.10.0.0
Network ID and Broadcast Id.
Example
150.10.20..30
Find Network ID?
Find Broadcst ID?
Find Number OF Host?
150.10.0.0 => Network Id
150.10.255.255 => BroadCast Id
Kitne Bit Host Ke Liye Available Hai
2^16 -2=65,534 Computers You Can Connect with This Ip.
Note: Har network Ke under 2 Ip hosti hai jo App Kisi Or ko Allocate ni Kar Sakte;
That's Why -2 Used.
And 2^16 is Used Because 16bit Host Available.
one more Example
11.200.200.200
Network Id = 11.0.0.0
Broadcast Id =11.255.255.255
no of Host= 2^ 24 -2 = 1,67,77,214
1.Physical IPs
Mac Address
2.Logical IPs
IPV4 And IPV6
In IPV4
Public IP
Private IP
example of IP
192.168.1.1
Ip = Network ID + Host ID;
Ipv4=32Bit Address.
Max Value = 0 to 255.
Classes Of IP
5 Type OF Class
Class A 1.0.0.0 to 126.0.0.0
Class B 128.255.0.0 to 191.255.0.0
Class C 192.255.255.0 to 223.255.255.0
Class D 224 to 239 For Testing Purpose Used
Class E 240 to 255 For Research Purpose
Note: 127.0.0.0 Ip is allcoated For LoopBack Address.
Theoretically Range 0 to 127 Class A.
For Check You Can Ping 127.0.0.0 to Your CMD(Command Prompt).
Now How TO Find IPs Network and Host ID.
First Check Class First octal Belongs To Which Class.
Next Refer This
Class A N.H.H.H
Class B N.N.H.H
Class C N.N.N.H
Where N= Network ID;
and H = Host ID.
And Network=1bit.
Host =0bit.
How To Find Subnet Mask IP.
Binary to Decimal Value 11111111 => 255
Example:
Class A= 115.10.10.20
Network+Host = 11111111.00000000.00000000.00000000
So Subnet Mask =255.0.0.0
Class B =255.255.0.0
Class C=255.255.255.0
How to Convert IPs to Binary ?
Example
192.168.37.200
2^7 2^6 2^5 2^4 2^3 2^2 2^1 2^0
128 64 32 16 8 4 2 1
concate the Value and Make the 192
Convert In 8 bit binary
Note:Take 1 for Which Add Values and 0 For Not Take Value In Addition.
128+64=192 so 1 1 0 0 0 0 0 0 this is binary of 192
128+32+8 =168 so 1 0 1 0 1 0 0 0 this is binary of 168
32+4+1 =37 so 0 0 1 0 0 1 0 1 this is binary of 37
128+64+8=200 so 1 1 0 0 1 0 0 0 this is binary of 200
Private Ip Detail
Class A= 10.0.0.0
Class B =172.16.x.x-172.31.x.x
Class C = 192.x.x.x
Reserved For Private IP.
How Many Computer You Connect With The Given Ip
176.10.0.0
Network ID and Broadcast Id.
Example
150.10.20..30
Find Network ID?
Find Broadcst ID?
Find Number OF Host?
150.10.0.0 => Network Id
150.10.255.255 => BroadCast Id
Kitne Bit Host Ke Liye Available Hai
2^16 -2=65,534 Computers You Can Connect with This Ip.
Note: Har network Ke under 2 Ip hosti hai jo App Kisi Or ko Allocate ni Kar Sakte;
That's Why -2 Used.
And 2^16 is Used Because 16bit Host Available.
one more Example
11.200.200.200
Network Id = 11.0.0.0
Broadcast Id =11.255.255.255
no of Host= 2^ 24 -2 = 1,67,77,214
No comments:
Post a Comment