WELCOME

In your persistence, competition has no existence.

CLASSES OF IP ADDRESS

Earlier, you read that IPv4 addresses represent four eight-digit binary numbers. That means that each number could be 00000000 to 11111111 in binary, or 0 to 255 in decimal (base-10). In other words, 0.0.0.0 to 255.255.255.255. However, some numbers in that range are reserved for specific purposes on TCP/IP networks. These reservations are recognized by the authority on TCP/IP addressing, the Internet Assigned Numbers Authority (IANA). Four specific reservations include the following:
  • 0.0.0.0 -- This represents the default network, which is the abstract concept of just being connected to a TCP/IP network.
  • 255.255.255.255 -- This address is reserved for network broadcasts, or messages that should go to all computers on the network.  
  • 127.0.0.1 -- This is called the loopback address, meaning your computer's way of identifying itself, whether or not it has an assigned IP address.
  • 169.254.0.1 to 169.254.255.254 -- This is the Automatic Private IP Addressing (APIPA) range of addresses assigned automatically when a computer's unsuccessful getting an address from a DHCP server.
The other IP address reservations are for subnet classes. A subnet is a smaller network of computers connected to a larger network through a router. The subnet can have its own address system so computers on the same subnet can communicate quickly without sending data across the larger network. A router on a TCP/IP network, including the Internet, is configured to recognize one or more subnets and route network traffic appropriately. The following are the IP addresses reserved for subnets:
  • 10.0.0.0 to 10.255.255.255 -- This falls within the Class A address range of 1.0.0.0 to 127.0.0.0, in which the first bit is 0.
  • 172.16.0.0 to 172.31.255.255 -- This falls within the Class B address range of 128.0.0.0 to 191.255.0.0, in which the first two bits are 10.
  • 192.168.0.0 to 192.168.255.255 -- This falls within the Class C range of 192.0.0.0 through 223.255.255.0, in which the first three bits are 110.
  • Multicast (formerly called Class D) -- The first four bits in the address are 1110, with addresses ranging from 224.0.0.0 to 239.255.255.255.
  • Reserved for future/experimental use (formerly called Class E) -- addresses 240.0.0.0 to 254.255.255.254.
  • The first three (within Classes A, B and C) are those most used in creating subnets. 
  • NOTE 
  • Class A - supports 16 million hosts on each of 126 networks
  • Class B - supports 65,000 hosts on each of 16,000 networks
  • Class C - supports 254 hosts on each of 2 million networks

BITS, BYTES, MEGA, GIGA, TERA (EXPLAINED)

KNOWLEDGE BASE


1 bit = a 1 or 0 (b)
4 bits = 1 nibble (?)
8 bits = 1 byte (B)
1024 bytes = 1 Kilobyte (KB)
1024 Kilobytes = 1 Megabyte (MB)
1024 Megabytes = 1 Gigabyte (GB)
1024 Gigabytes = 1 Tera-byte (TB)

Common prefixes:
- Kilo, meaning 1,000. (one thousand) 10^3 (Kilometer, 1,000 meters)
- Mega, meaning 1,000,000. (one million) 10^6 (Megawatt, 1,000,000 watts)
- Giga, meaning 1,000,000,000 (one billion) 10^9 (Gigawatt, 1,000,000,000 watts)
- Tera, meaning 1,000,000,000,000 (one trillion) 10^12

The smallest amount of transfer is one bit. It holds the value of a 1, or a 0. (Binary coding). Eight of these 1's and zero's are called a byte.

Why eight? The earliest computers could only send 8 bits at a time, it was only natural to start writing code in sets of 8 bits. This came to be called a byte.

A bit is represented with a lowercase "b," whereas a byte is represented with an uppercase "b" (B). So Kb is kilobits, and KB is kilobytes. A kilobyte is eight times larger than a kilobit.

A simple 1 or 0, times eight of these 1's and 0's put together is a byte. The string of code: 10010101 is exactly one byte. So a small gif image, about 4 KB has about 4000 lines of 8 1's and 0's. Since there are 8 per line, that's over (4000 x 8) 32,000 1's and 0's just for a single gif image.

How many bytes are in a kilobyte (KB)? One may think it's 1000 bytes, but its really 1024. Why is this so? It turns out that our early computer engineers, who dealt with the tiniest amounts of storage, noticed that 2^10 (1024) was very close to 10^3 (1000); so based on the prefix kilo, for 1000, they created the KB. (You may have heard of kilometers (Km) which is 1000 meters). So in actuality, one KB is really 1024 bytes, not 1000. It's a small difference, but it adds up over a while.

The MB, or megabyte, mega meaning one million. Seems logical that one mega (million) byte would be 1,000,000 (one million) bytes. It's not however. One megabyte is 1024 x 1024 bytes. 1024 kilobytes is called one Megabyte. So one kilobyte is actually 1024 bytes, and 1024 of those is (1024 x 1024) 1048576 bytes. In short, one Megabyte is really 1,048,576 bytes.

There is a difference of about 48 KB, which is a decent amount. If you have a calculator, you will notice that there is actually a 47KB difference. There is a difference of 48,576 bytes, divided by 1024, and you get the amount of real kilobytes... 47.4375

All of this really comes into play when you deal with Gigabytes, or roughly one billion bytes. One real Gigabyte is actually 1024 bytes x 1024 bytes x 1024 bytes...1,073,741,824. However, most people like to simplify this by simply saying that one Gigabyte is only 1,000,000,000 (one billion) bytes; which makes sense because the prefix Giga means one billion.

What do you think about this article ? send feedback


References
http://physics.nist.gov/cuu/Units/binary.html