09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 2.3. IP address classes compared, in terms of<br />

NOTE<br />

bit significance of <strong>the</strong> first octet.<br />

The IP subnet mask is <strong>the</strong> most important and misunders<strong>to</strong>od part of <strong>the</strong> IP address.<br />

This is mostly due <strong>to</strong> <strong>the</strong> confusion between classful and classless routing. According<br />

<strong>to</strong> RFC950, all hosts are required <strong>to</strong> support subnet mask addressing (some do it<br />

better than o<strong>the</strong>rs). The subnet mask, like <strong>the</strong> IPv4 address, is 32-bits long, in<br />

binary format, and expressed as 4 octets. The masks are defined from left <strong>to</strong> right<br />

using ones or zeros.<br />

NOTE<br />

There is a Arabic/Hexadecimal//Binary conversion chart in Appendix A, "Binary<br />

Conversion Table."<br />

With classful addressing, <strong>the</strong> natural mask is determined by <strong>the</strong> values of <strong>the</strong> first<br />

few bits contained in <strong>the</strong> first octet of <strong>the</strong> address. By examining <strong>the</strong> IP address in<br />

binary form, you'll see that <strong>the</strong> first three bits of a Class A <strong>network</strong> are 000, <strong>the</strong> first<br />

three in a Class B <strong>network</strong> are 100, and, in a Class C <strong>network</strong>, are 111.<br />

The first eight bits in an address class natural <strong>network</strong> mask are

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!