Google
 
   
Login
Username:

Password:


Lost Password?

Register now!
Search
Main Menu
top books
Polls
What do you think about php-deluxe.net?
Excellent!
Cool
Hmm..not bad
What the hell is this?
encyclopedia
recommendation
compare webbrowser
Freenet DSL
Who's Online
6 user(s) are online (5 user(s) are browsing encyclopedia)

Members: 0
Guests: 6

more...
browser tip
Unix Befehle
manual of unix befehle
recommendation!
Sponsored
partner

Classful network

Classful networking is the name given to the first round of changes to the structure of the IP address in IPv4.

= Before classes =

Originally, the 32-bit IPv4 address consisted simply of an 8-bit network number field (which specified the particular network a host was attached to), and a rest field, which gave the address of the host within that network. (This format was picked before the advent of local area networks (LANs), when there were only a few, large, networks such as the ARPANET.)

This resulted in a very low count (256) of network numbers being available, and very early on, as LANs started to appear, it became obvious that that would not be enough.

= Classes =

As a Kludge, the definition of the meaning of IP addresses was changed, to allow three different sizes of network number field (and associated rest fields), as specified in the table below (in bits):

which allowed the following population of network numbers (note that the actual numbers are slightly smaller, as some values - e.g. all zeros - are not allowed):

The larger network number fields allowed a larger number of networks, thereby temporarily allowing the continued growth of the Internet.

The IP address netmask, which is so commonly associated with an IP address today, was not required, as the mask length was purely a function of the IP address. Any network device could inspect the first few bits of a 32 bit IP address to see which class it belonged to.

The method of determining whether one address belongs to the same physical network as another IP address worked as it had originally (but see subnet). For each address, the portion of the address which contained the network number was determined, and the contents of the rest part of the address was ignored. If the network numbers matched, the two addresses were on the same network.

= The replacement of classes =

This first round of changes was not enough to work in the long run, however; an IP address shortage still developed. The principal problem was that most sites were too big for a class C network number, and received a class B number instead. With the rapid growth of the Internet, the available pool of class B addresses (basically 214, or about 16,000 total) was rapidly being depleted. Classful networking was replaced by Classless Inter-Domain Routing (CIDR), starting in about 1993, to solve this problem (and others).

Early allocations of IP addresses by Internet Assigned Numbers Authority were in some cases not made very efficiently, which contributed to the problem. (However, the commonly-held notion that some organizations unfairly or unnecessarily received class A networks is a canard (computing); most such allocations date to the period before the introduction of address classes, when the only thing available was what later became known as class A network numbers.)

=Useful tables=

==Class ranges==

The address ranges used for each class are given in the following table, in the standard dotted decimal notation.

==Special ranges==

Some addresses are reserved for special uses (RFC 3330).

==Bit-wise representation==

In the following table, n indicates a binary slot used for network ID. s indicates a binary slot used for host ID. X indicates a binary slot. (without specified purpose)

Class A 0. 0. 0. 0 = 00000000.00000000.00000000.00000000 127.255.255.255 = 01111111.11111111.11111111.11111111 0nnnnnnn.ssssssss.ssssssss.ssssssss

Class B 128. 0. 0. 0 = 10000000.00000000.00000000.00000000 191.255.255.255 = 10111111.11111111.11111111.11111111 10nnnnnn.nnnnnnnn.ssssssss.ssssssss

Class C 192. 0. 0. 0 = 11000000.00000000.00000000.00000000 223.255.255.225 = 11011111.11111111.11111111.11111111 110nnnnn.nnnnnnnn.nnnnnnnn.ssssssss

Class D 224. 0. 0. 0 = 11100000.00000000.00000000.00000000 239.255.255.255 = 11101111.11111111.11111111.11111111 1110XXXX.XXXXXXXX.XXXXXXXX.XXXXXXXX

Class E 240. 0. 0. 0 = 11110000.00000000.00000000.00000000 255.255.255.255 = 11111111.11111111.11111111.11111111 1111XXXX.XXXXXXXX.XXXXXXXX.XXXXXXXX

=See also=

  • Classless Inter-Domain Routing
  • =External links=

  • [http://www.subnet-calculator.com/subnet.php Classful Online IP Subnet Calculator]
  • [http://www.ietf.org/rfc/rfc0791.txt Classful networking defined in RFC 791]