IP Adresses


Each host on the Internet has a unique IP address. IPv4 addresses are 32 bits (4 octets) in length and are usually displayed in dotted decimal format (i.e. 206.86.196.1). Displayed below is how the IP address "206.86.196.1" is written in binary format.


        (8 bits) + (8 bits) + (8 bits) + (8 bits)  = 32
        11001110   01010110   11000100   00000001
          206         86        196          1  
           |
            -----------------
                             |
                             V

        1     1     0     0    1     1     1    0
       128   64    32    16    8     4     2    1
      --------------------------------------------
       128 + 64              + 8   + 4   + 2       = 206

IP Address Classes


Class A
0
netid
hostid

Class B
1 0
netid
hostid

Class C
1 1 0
netid
hostid


Quick Notes:


Todd Murchison
< todd@murchison.net >