www.howtonetwork.org

CCNA & CCNP Certifcation Training

  • About
  • Contact
  • FAQ
  • Join
  • Home
  • CCNA
    • ICND1
    • ICND2
    • 101 CCNA LABS
  • CCNP
    • ROUTE
    • SWITCH
    • TSHOOT
    • 101 CCNP LABS
  • CompTIA
    • Security+
    • Network+
  • Design
    • CCDA
    • CCDP
You are here: Home / ICND1 / Day 5 – IP Addressing / Day 5 Tasks / Address Classes

Address Classes

You need to know this and you don’t! I know, I’m not helping much, but address classes are actually only significant historically, so as a new Cisco engineer, you might become confused when you look at the old rules and try to apply them to new methods of network design.

We still refer to groups of IP addresses as classes, but with the introduction of subnet masking and VLSM, they are actually no longer applicable to network design. Address classes are useful to know, though, because they show us which parts of the IP address we can and can’t use for our mini-networks (subnets).

When IPv4 was first invented, addresses were divided into classes. The classes of addresses were then allocated to companies on an as-needed basis. The bigger the company, the bigger the address class. The address classes were assigned letters, A through E. A Class A address was reserved for the biggest networks. A Class A address can be numbered from 1 to 126 in the first octet. The reason for this is that the first bit on the first octet must be 0. If you have 0 in the first octet, then the remaining values can only go from 1 to 126, for example:

00000001 = 1

01111111= 126

You can’t have an address of all 0s on a network. If you actually add the other three octets, then you can see Class A addresses in full, for example:

10.1.1.1

120.2.3.4

126.200.133.1

These are all Class A addresses because they are within the range of 1 to 126. 127 is not a permitted number for IP addresses; 127.0.0.1 is actually an address used to test whether TCP/IP is working on your device.

A Class B address must have the first two bits of the first octet set to 10. This means that the first octet can only use the numbers 128 to 191, for example:

10000000 = 128

10111111 = 191

For Class C addresses, the first three bits on the first octet must be set to 110, giving us addresses 192 to 223, for example:

11000000 = 192

11011111 = 223

Class D addresses are used for multicasting (directed broadcasts), and Class E addresses are for experimental use only.

Subnet Mask Primer

I mentioned earlier that part of the address identifies the network and part of it identifies the host on the network. Subnet masks establish which parts are which. The difficulty is that it isn’t always easy to establish which is which by just looking at the subnet mask. This requires practise, and for the more difficult addresses, you must work them out by hand (or cheat by using a subnet calculator).

Even if you are not chopping your network into smaller parts, you must still apply a subnet mask to every address used. Each network class comes with a default subnet mask, for example:

Class A = 255.0.0.0

Class B = 255.255.0.0

Class C = 255.255.255.0

When the binary bits are turned on, the network knows that this number is to be used for the network, not for a host on the network, as illustrated below:

 

192 168 12 2
255 255 255 0
Network Network Network Host

 

The address above means that 192.168.12 is the network and 2 is a host on that network. Furthermore, any address starting with 192.168.12 is on the same network. You can see from the number in the first octet and the default subnet mask that this is a Class C network.

Remember the rule I mentioned earlier: You can’t use the network numbers for hosts, so the numbers below cannot be used on devices:

10.0.0.0

192.168.2.0

174.12.0.0

The other rule is that you can’t use the Broadcast address on each network or subnet. A Broadcast address goes to all devices on the network, so, logically, it can’t be used for devices. A Broadcast address is one in which all the host bits are active, or turned on:

10.255.255.255

192.168.1.255

In the examples above, each binary bit is turned on for the host portion.

Prev

Next

About Us

This is a free bonus site for members of www.howtonetwork.com

Copyright

The content on this copyright Reality Press Ltd.
Copyright Reality Press Ltd.