![]() |
Ip Address |
Every Devices That is Connected to the network using The Network using TCP/IP protocol requires an IP Address .Every individual in an organizations has a unique employee ID by which the rest of the organization identifies him .AN IP address is a 32-bit binary number that is Unique for each device.A bit is the smallest unit of information on a computers The Value of a bit is ether 0 or 1 .All the other devices or computer in the network identify a device using the IP address
The 32-bit binary IP address is represented as 4 octets, each consisting of 8 bits.Each octet is converted to a decimal format and a period (.) separates the decimal numbers .Therefore ,an IP address has 4 sets of decimal numbers separated with periods.An example of an IP Address is :- 162.53.78.83
The IP address is converted to decimal format to make them readable for the humans.within the network ,the IP address is interpreted in a binary format consisting of 0 and 1 For Example, if a machine has an IP address of
100101000101000101001010010101011, it is split into 4 octets such as :
→ 10010100
→ 10100010
→ 10010100
→ 10101011
Each of the above octets is converted into a decimal format .for converting the bits to a decimal format ,a mathematical rule is applied .The right Most bit in the octet has the least Value of 2^0 . The Value goes on increasing towards the Left
List The Values for the bits in the octe.
Bits
|
1
|
0
|
0
|
1
|
0
|
1
|
0
|
0
|
Values
|
27=128
|
26=64
|
25=32
|
24=16
|
23=8
|
22=4
|
21=2
|
20=1
|
You Need to multiply the bits with its corresponding value in the table example :
The equivalent decimal value for the octet will be the addition of all the multiplied values.For the above octet 10010100,the decimal value will be 128+0+0+16+0+4+0+0,
which is equal to 148, Similarly ,we can calculate the values for the other octets .The calculated values are
>10010100 = 148
>10100010 = 162
>10010100 = 148
>10101011 = 171
The IP Address of the device is 148.162.148.171 .if the bits in the octet consist of all Os ,the decimal value for the octet will be 0. if the bits consist of 1 ,the decimal value for the octet will be 255.So the decimals in the IP address will range from 0 to 255
Cisco provides different versions of IP addressing for its devices .Currently ,Cisco uses the IP version 4 (IPv4) but it has also introduced IP version 6 (IPv6)
Different between the two version of IP Addressing
Bits
|
1
|
0
|
0
|
1
|
0
|
1
|
0
|
0
|
Values
|
27=128
|
26=64
|
25=32
|
24=16
|
23=8
|
22=4
|
21=2
|
20=1
|
Multiplied
Values
|
128
|
0
|
0
|
16
|
0
|
4
|
0
|
0
|
The equivalent decimal value for the octet will be the addition of all the multiplied values.For the above octet 10010100,the decimal value will be 128+0+0+16+0+4+0+0,
which is equal to 148, Similarly ,we can calculate the values for the other octets .The calculated values are
>10010100 = 148
>10100010 = 162
>10010100 = 148
>10101011 = 171
The IP Address of the device is 148.162.148.171 .if the bits in the octet consist of all Os ,the decimal value for the octet will be 0. if the bits consist of 1 ,the decimal value for the octet will be 255.So the decimals in the IP address will range from 0 to 255
Cisco provides different versions of IP addressing for its devices .Currently ,Cisco uses the IP version 4 (IPv4) but it has also introduced IP version 6 (IPv6)
Different between the two version of IP Addressing
Difference
in Points
|
IPv4
|
IPv6
|
Address
in bits
|
32
|
128
|
Addressing
Representation
|
Binary number
|
Hexadecimal Number
|
separator
|
(.)
|
(:)
|
Example
|
192.168.1.1
|
1080:0:0:0:8:800:200C:417A
|
0 comments:
Post a Comment
Humare Website me Aapka Swagat hai !