25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

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.

Static subnetting example<br />

Consider the Class A network shown in Figure 3-2.<br />

Figure 3-2 <strong>IP</strong>: Class A address without subnets<br />

Use the <strong>IP</strong> address shown in Figure 3-3.<br />

Figure 3-3 <strong>IP</strong> address<br />

1 2 3<br />

01 8 6 4 1<br />

0<br />

Class A netID hostID<br />

00001001 01000011 00100110 00000001 a 32-bit address<br />

The <strong>IP</strong> address is 9.67.38.1 (Class A) with 9 as the <strong>and</strong><br />

67.38.1 as the .<br />

The network administrator might want to choose the bits from 8 to 25 to indicate<br />

the subnet address. In that case, the bits from 26 to 31 indicate the host<br />

addresses. Figure 3-4 shows the subnetted address derived from the original<br />

Class A address.<br />

Class A<br />

Subnet<br />

9 67 38 1 decimal notation (9.67.38.1)<br />

1 2 3<br />

01 8 6 4 1<br />

0<br />

netID<br />

subnet number<br />

Figure 3-4 <strong>IP</strong>: Class A address with subnet mask <strong>and</strong> subnet address<br />

host<br />

ID<br />

A bit mask, known as the subnet mask, is used to identify which bits of the<br />

original host address field indicate the subnet number. In the previous example,<br />

the subnet mask is 255.255.255.192 (or 11111111 11111111 11111111<br />

11000000 in bit notation). Note that, by convention, the is<br />

included in the mask as well.<br />

Chapter 3. Internetworking protocols 75

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

Saved successfully!

Ooh no, something went wrong!