MIME-Version: 1.0
Content-Type: multipart/related; boundary="----=_NextPart_01C5B857.17753530"

This document is a Web archive file.  If you are seeing this message, this means your browser or editor doesn't support Web archive files.  For more information on the Web archive format, go to http://officeupdate.microsoft.com/office/webarchive.htm

------=_NextPart_01C5B857.17753530
Content-Location: file:///C:/22834A31/IPsubnetting101.htm
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="us-ascii"

<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link rel=3DFile-List href=3D"IPsubnetting101_files/filelist.xml">
<title>Cisco IP subnetting 101: Five things you should know</title>
<o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"date"/>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Stephen Fournier</o:Author>
  <o:LastAuthor>Steve</o:LastAuthor>
  <o:Revision>2</o:Revision>
  <o:TotalTime>11</o:TotalTime>
  <o:Created>2005-09-13T18:34:00Z</o:Created>
  <o:LastSaved>2005-09-13T18:34:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>2594</o:Words>
  <o:Characters>14788</o:Characters>
  <o:Company>DeRae Designs</o:Company>
  <o:Lines>123</o:Lines>
  <o:Paragraphs>34</o:Paragraphs>
  <o:CharactersWithSpaces>17348</o:CharactersWithSpaces>
  <o:Version>10.2625</o:Version>
 </o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:View>Print</w:View>
  <w:Zoom>BestFit</w:Zoom>
  <w:DrawingGridHorizontalSpacing>9.35 pt</w:DrawingGridHorizontalSpacing>
  <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
  <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if !mso]><object
 classid=3D"clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=3Dieooui></objec=
t>
<style>
st1\:*{behavior:url(#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h1
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:1;
	font-size:24.0pt;
	font-family:"Times New Roman";
	font-weight:bold;}
h2
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:2;
	font-size:18.0pt;
	font-family:"Times New Roman";
	font-weight:bold;}
h3
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:3;
	font-size:13.5pt;
	font-family:"Times New Roman";
	font-weight:bold;}
p.MsoHeader, li.MsoHeader, div.MsoHeader
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:center 3.0in right 6.0in;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
p.MsoFooter, li.MsoFooter, div.MsoFooter
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:center 3.0in right 6.0in;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 41=
2.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-footer:url("IPsubnetting101_files/header.htm") f1;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:147090907;
	mso-list-template-ids:1819454344;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l1
	{mso-list-id:282273817;
	mso-list-template-ids:-146510282;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l2
	{mso-list-id:569775476;
	mso-list-template-ids:1650496134;}
@list l2:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l3
	{mso-list-id:967779420;
	mso-list-template-ids:138461332;}
@list l3:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l4
	{mso-list-id:1032388838;
	mso-list-template-ids:1007871600;}
@list l4:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l5
	{mso-list-id:1148326624;
	mso-list-template-ids:-1272683136;}
@list l5:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";}
</style>
<![endif]--><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1"/>
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple style=3D'tab-interval:.5in'>

<div class=3DSection1>

<h1>Cisco IP subnetting 101: Five things you should know</h1>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><st1:date Month=3D"7" D=
ay=3D"7"
Year=3D"2005">July 7, 2005</st1:date> <br style=3D'mso-special-character:li=
ne-break'>
<![if !supportLineBreakNewLine]><br style=3D'mso-special-character:line-bre=
ak'>
<![endif]></p>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<p>If you work with networks, odds are pretty good that you're familiar with
Cisco IP subnetting. But that doesn't mean you know all there is to know. It
never hurts to refresh your subnetting skills&#8212;particularly if you're
planning on taking a Cisco exam soon.</p>

<p>IP subnetting isn't some obscure, esoteric topic that only the network
administration &quot;gurus&quot; can understand. In fact, you should be abl=
e to
get a firm grasp on subnetting in about an hour.</p>

<p>However, just like almost anything else, you won't be able to understand
subnetting unless you use it&#8212;and practice. Learning subnetting takes =
some
repetition. And once you do learn it, you'll quickly forget it if you don't
practice it periodically.</p>

<h2>What is IP subnetting?</h2>

<p>Subnetting means breaking a large network into smaller networks. You can
accomplish this by changing the subnet mask.</p>

<h2>When it comes to subnetting, how are routers different from computers?<=
/h2>

<p>Every computer needs three components in order to communicate both on its
network and outside its network (e.g., to the Internet).</p>

<ul type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l3 level1 lfo1;tab-stops:list .5in'>An <b>IP address</b></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l3 level1 lfo1;tab-stops:list .5in'>A <b>subnet mask</b>:
     Combined with the IP address, the subnet mask tells the computer which=
 IP
     addresses are on its local network.</li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l3 level1 lfo1;tab-stops:list .5in'>A <b>default gateway</b>:=
 A
     computer uses the default gateway to transmit data not on its local
     network. If a computer only needs to communicate on its own LAN, a def=
ault
     gateway isn't necessary.</li>
</ul>

<p>Routers function similarly to computers; every interface has an IP addre=
ss
and a subnet mask. While routers can also have default gateways, they don't
always have them.</p>

<p>In addition, every interface on a router must be on a different network.=
 In
fact, the router won't let you place two interfaces on the same network.</p>

<h2>Where did subnetting come from?</h2>

<p>Published in 1990, <a href=3D"http://www.faqs.org/rfcs/rfc1166.html"
target=3D"_blank">RFC 1166</a> specified five different classes of IP addre=
sses:</p>

<ul type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l5 level1 lfo2;tab-stops:list .5in'><b>Class A:</b> Any IP
     address that begins with 1 to 127 has a subnet mask of 255.0.0.0.</li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l5 level1 lfo2;tab-stops:list .5in'><b>Class B:</b> Any IP
     address that begins with 128 to 191 has a subnet mask of 255.255.0.0.<=
/li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l5 level1 lfo2;tab-stops:list .5in'><b>Class C:</b> Any IP
     address that begins with 192 to 223 has a subnet mask of 255.255.255.0=
.</li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l5 level1 lfo2;tab-stops:list .5in'><b>Class D</b> is for
     multicast traffic only.</li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l5 level1 lfo2;tab-stops:list .5in'><b>Class E</b> is
     experimental.</li>
</ul>

<p>However, these fixed classes and subnet masks didn't fit the growth
requirements of the Internet, and the industry abandoned them in favor of
Classless Inter-Domain Routing (CIDR) in 1995 (<a
href=3D"http://www.faqs.org/rfcs/rfc1817.html" target=3D"_blank">RFC 1817</=
a>).
CIDR uses variable length subnet masks (VLSM) (<a
href=3D"http://www.faqs.org/rfcs/rfc1518.html" target=3D"_blank">RFC 1518</=
a> and <a
href=3D"http://www.faqs.org/rfcs/rfc1519.html" target=3D"_blank">RFC 1519</=
a>).
That means the classes above, with their fixed length subnet masks (FLSM), =
were
no longer applicable.</p>

<p>VLSM means that the subnet mask can dynamically change based on how many
networks or hosts you need. So, while it's important to know the default (f=
ixed
length) subnet masks for testing purposes, a subnet mask for an IP that beg=
ins
with 192 may or may not be 255.255.255.0.</p>

<h2>What do 1s and 0s have to do <br>
with it?</h2>

<p>Subnetting is taking the original subnet mask and adding bits to it to
create more networks. In other words, if you convert a subnet mask into bin=
ary
form and add more 1s, you are subnetting that network. The more 1s that are
present in the subnet mask means the more networks with a fewer number of
hosts. The more 0s that are present in the subnet mask means the fewer netw=
orks
and the more hosts you have.</p>

<p>In other words, the subnet mask tells routers and computers which portio=
n of
the IP address is for the network and which is for the host. If you slide t=
he
line between network and host to the left, you create fewer networks and mo=
re
hosts. If you slide the line to the right, you create more networks and few=
er
hosts.</p>

<h2>How can I write out subnet masks?</h2>

<p>You can write out subnet masks in two different ways: dotted decimal
notation and slash notation. The dotted decimal notation method is more than
likely what you're familiar with. This involves writing the numbers and
separating them by periods (i.e., dots). For example, you would write a Cla=
ss C
default subnet mask as 255.255.255.0.</p>

<p>To use the slash notation method, you convert the subnet mask into binary
form, writing the number of 1s in the subnet mask instead. For example, in
binary form, 255.255.255.0 would be 11111111 11111111 11111111 00000000.</p>

<p>In slash notation, this &quot;translates&quot; to /24&#8212;in other wor=
ds,
the number of 1s. So, you would write your IP network with its subnet mask =
like
this: 192.168.1.0/24. While the slash notation method may seem more
complicated, keep in mind that it makes diagramming and note taking easier.=
</p>

<h2>How can I learn more?</h2>

<p>You can find a wealth of information on the Internet to learn more about
subnetting. Here are some resources I recommend:</p>

<ul type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l2 level1 lfo3;tab-stops:list .5in'><a
     href=3D"http://techrepublic.com.com/5100-1035_11-5034563.html"
     target=3D"_blank">&quot;TechRepublic Tutorial: Subnetting a TCP/IP
     network&quot;</a></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l2 level1 lfo3;tab-stops:list .5in'><a
     href=3D"http://www.cisco.com/warp/public/701/3.html" target=3D"_blank"=
>&quot;IP
     Addressing and Subnetting for New Users&quot; Cisco documentation</a><=
/li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l2 level1 lfo3;tab-stops:list .5in'><a
     href=3D"http://www.tcpipguide.com/" target=3D"_blank">The TCP/IP Guide=
 Web
     site</a></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l2 level1 lfo3;tab-stops:list .5in'><a
     href=3D"http://www.learntosubnet.com/" target=3D"_blank">Learn to Subn=
et Web
     site</a></li>
</ul>

<p>Stay tuned: Next time, I'll tell you five more things you need to know a=
bout
Cisco IP subnetting, including various subnetting formulas, where to find
subnetting calculators, what you need to know about subnetting for the CCNA
exam, and more.</p>

<p><i>Want to learn more about router and switch management? <a
href=3D"http://nl.com.com/MiniFormHandler?brand=3Dtechrepublic&amp;list_id=
=3De115">Automatically
sign up for our free Cisco Routers and Switches newsletter</a>, delivered e=
ach
Friday!</i></p>

<p><i>David Davis has worked in the IT industry for 12 years and holds seve=
ral
certifications, including CCIE, MCSE+I, CISSP, CCNA, CCDA, and CCNP. He
currently manages a group of systems/network administrators for a privately
owned retail company and performs networking/systems consulting on a part-t=
ime
basis.</i></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D533 style=
=3D'width:399.75pt;
 mso-cellspacing:1.5pt'>
 <tr style=3D'mso-yfti-irow:0'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <h1>White Papers </h1>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:1'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:2;mso-yfti-lastrow:yes'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D142828&amp=
;promo=3D400111&amp;tag=3Dwpr.6184,6125,6163,6180,6187,6255">Looking
  to Manage Changing Regulations? Look No Further</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D134800&amp=
;promo=3D400111&amp;tag=3Dwpr.6184,6125,6163,6180,6187,6255">CCNA
  Review Guide</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D130183&amp=
;promo=3D400111&amp;tag=3Dwpr.6184,6125,6163,6180,6187,6255">Evolving
  Standards for Enhanced File Transfer</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D130185&amp=
;promo=3D400111&amp;tag=3Dwpr.6184,6125,6163,6180,6187,6255">Using
  Digital Signatures to Secure Email and Stop Spam and Phishing</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D138027&amp=
;promo=3D400111&amp;tag=3Dwpr.6184,6125,6163,6180,6187,6255">Intel
  White Paper: Using Segmentation to Increase Network Performance</a> </p>
  </td>
 </tr>
</table>

<p style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'display:none;
mso-hide:all'><o:p>&nbsp;</o:p></span></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D533 style=
=3D'width:399.75pt;
 mso-cellspacing:1.5pt'>
 <tr style=3D'mso-yfti-irow:0'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:1;mso-yfti-lastrow:yes'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <h3><span style=3D'font-family:Arial'>Additional Resources<br>
  <br>
  </span><span style=3D'font-size:10.0pt;font-family:Arial'><a
  href=3D"http://www.techtoolshed.com">Tech Toolshed </a><br>
  http://www.techtoolshed.com <br>
  <br>
  <a href=3D"http://techrepublic.com.com/1200-6242-5138490.html">Learning C=
D-Roms
  </a><br>
  http://fasttrack.techrepublic.com<br>
  <br>
  <a href=3D"http://techrepublic.com.com/1200-6242-5137712.html">Quick Refe=
rence
  Charts </a><br>
  http://quickref.techrepublic.com <br>
  <br>
  <a href=3D"http://techrepublic.com.com/1200-6242-5137712.html">TechRepubl=
ic's
  Catalog </a><br>
  http://www.techrepublic.com/catalog</span></h3>
  </td>
 </tr>
</table>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<h1>Cisco IP subnetting 101: Five more things you should know</h1>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><st1:date Month=3D"7" D=
ay=3D"14"
Year=3D"2005">July 14, 2005</st1:date> <br style=3D'mso-special-character:l=
ine-break'>
<![if !supportLineBreakNewLine]><br style=3D'mso-special-character:line-bre=
ak'>
<![endif]></p>

<p>IP subnetting isn't some obscure topic that only network administration
&quot;gurus&quot; can understand. In fact, if you work with networks, odds =
are
pretty good that you're already somewhat familiar with Cisco IP subnetting.=
</p>

<p>But it never hurts to refresh your subnetting skills&#8212;particularly =
if
you're planning on taking a Cisco exam soon. Last time, I told you <a
href=3D"http://techrepublic.com.com/5100-1035_11-5778292.html" target=3D"_b=
lank">five
things you should know about Cisco IP subnetting</a>, including what subnet=
ting
is, how to write out subnet masks, and more. Now, let's look at five more
things you should know about subnetting.</p>

<h2>Which formulas can I use to subnet a network?</h2>

<p>To review, subnetting involves taking a single network that has a large
number of hosts and breaking it into multiple networks each with a smaller =
number
of hosts. That's why we call it subnetting&#8212;because we're creating <i>=
subnetworks</i>.
Let's look at two formulas you need to know when subnetting a network.</p>

<p><b>Networks formula</b><br>
This formula is 2<sup>x</sup>, where <i>x</i> is the number of 1s added to =
the
subnet mask from the previous or default subnet mask when converted to bina=
ry.</p>

<p>For example, a subnet mask of 255.255.255.252 converted to binary is
11111111 11111111 11111111 11111100. Let's assume that this is from a <i>cl=
assful</i>
network (i.e., a network that uses the five different classes of IP address=
es),
and it started out as a Class C subnet mask (255.255.255.0). To arrive at t=
he
new subnet mask (255.255.255.252), we added six 1s to the subnet mask, which
had a default number of 24 1s.</p>

<p>So, 2<sup>6</sup> =3D 64, which means that changing the subnet mask from=
 the
default /24 (255.255.255.0) mask to a /30 (255.255.255.252) subnet mask wou=
ld
create 64 new networks.</p>

<p><b>Hosts formula</b><br>
This formula is 2<sup>y</sup>-2, where <i>y</i> is the number of 0s in the
subnet mask when converted to binary.</p>

<p>Let's use the same example. Our subnet mask is 255.255.255.252, which is
11111111 11111111 11111111 11111100 when converted to binary. This subnet m=
ask
had two 0s. So, 2<sup>2</sup>-2 =3D 2, which means there are two valid host=
s in
the subnet. The 2 we subtract in the formula stand for the network ID and t=
he
broadcast ID.</p>

<p>Let's say the IP address for this example is 192.168.1.0 with a /30 subn=
et
mask (the 255.255.255.252 subnet mask above). This network would look like
this:</p>

<pre>192.168.1.0: Network ID</pre><pre>192.168.1.1: One of the usable hosts=
</pre><pre>192.168.1.2: One of the usable hosts</pre><pre>192.168.1.3: Broa=
dcast ID</pre>

<p>So, by using the /30 subnet mask, we've created 64 new networks with two
useable hosts each.</p>

<h2>Shouldn't I subtract 2 when using the networks formula?</h2>

<p>A more experienced administrator out there might be wondering why we did=
n't
subtract 2 when using the networks formula. Let me clarify: The original
networks formula was 2<sup>x</sup>-2, where the subtracted 2 stood for netw=
orks
with all 0s and all 1s. However, with modern IP stacks, you can use these
networks, and it's no longer necessary to subtract them (<a
href=3D"http://www.faqs.org/rfcs/rfc1878.html" target=3D"_blank">RFC 1878</=
a>).</p>

<p>Prior to Cisco IOS 12.0, by default, Cisco routers wouldn't allow you to
configure an IP address on the all 0s network on an interface. However, you
could configure this using the <i>ip subnet-zero </i>command in Global
Configuration Mode.</p>

<p>Now, after IOS 12.0, the <i>ip subnet-zero</i> command is the default on
routers. Note that this command not only allows the all 0s subnet, but it a=
lso
permits the all 1s subnet. And that's why you no longer have to subtract 2 =
when
using the network formula. For more information on this, see <a
href=3D"http://www.cisco.com/warp/public/105/40.html" target=3D"_blank">Cis=
co's
&quot;Subnet Zero and the All-Ones Subnet&quot; documentation</a>.</p>

<h2>Which formulas should I know <br>
for the CCNA exam?</h2>

<p>Many CCNA test candidates want to know which subnetting formulas they sh=
ould
know for the CCNA exam. I researched this question, and here's what I found
out: While most questions don't cover subnet 0 or subnet 1, it's still a
possible test topic. However, the exam clearly states the situation and
discloses whether the network in question uses the 0 or 1 subnets. So, I
recommend CCNA exam candidates make sure they understand the difference and
read the questions carefully.</p>

<h2>What are special IP addresses?</h2>

<p>In addition to the different classes of IP addresses (i.e., A, B, C, D, =
and
E), you should also be familiar with special IP addresses. Let's look at th=
ree
categories of special IP addresses.</p>

<p><b>Private IP addresses</b><br>
Based on <a href=3D"http://www.faqs.org/rfcs/rfc1918.html" target=3D"_blank=
">RFC
1918</a>, private IP addresses are not routable on the Internet. Instead, t=
he
purpose of these addresses is for use on internal networks only. (While you=
 may
receive traffic from the Internet with a private IP address as the source, =
this
is actually a spoofed source IP address.)</p>

<p>Here are the ranges of private IP addresses:</p>

<ul type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l1 level1 lfo4;tab-stops:list .5in'>10.0.0.0 with a 255.0.0.0
     (/8) subnet mask</li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l1 level1 lfo4;tab-stops:list .5in'>172.16.0.0 through
     172.31.255.255 with a 255.240.0.0 (/12) subnet mask</li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l1 level1 lfo4;tab-stops:list .5in'>192.168.0.0 with a
     255.255.0.0 (/16) subnet mask</li>
</ul>

<p><b>Automatic private IP addressing</b><br>
The 169.254.0.0 network with a 255.255.0.0 (/16) subnet mask is an IP addre=
ss
range used for private IP addressing in situations when a machine is unable=
 to
contact a DHCP server (<a href=3D"http://www.faqs.org/rfcs/rfc3927.html"
target=3D"_blank">RFC 3927</a>). For example, this is a default configurati=
on
when a Windows machine can't contact a DHCP server.</p>

<p><b>Loopback network</b><br>
The 127.0.0.0 network with a 255.0.0.0 (/8) subnet mask is a special IP add=
ress
range from the Class A network, which administrators can use for loopback
adapters (<a href=3D"http://www.faqs.org/rfcs/rfc1166.html" target=3D"_blan=
k">RFC
1166</a>). These are internal, &quot;virtual&quot; adapters that represent a
network interface.</p>

<p>Every system has a loopback adapter, and it's usually 127.0.0.1. What ma=
ny
people don't realize is that 127.123.3.240 also represents their loopback
adapter. The standard domain name for the loopback adapter is localhost.</p>

<h2>Do I have to calculate my subnetting manually?</h2>

<p>The CCNA exam requires candidates to be able to figure out subnetting in
longhand. However, in the real world, most network administrators use a
calculator.</p>

<p>While you can use the Windows calculator to figure out the networks and
hosts formulas, several specialized IP subnetting calculators are also
available. In addition, these calculators can come in handy when you're
studying for the CCNA exam and want to check your manual calculations.</p>

<p>Here's a selection of downloadable and online tools:</p>

<ul type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l4 level1 lfo5;tab-stops:list .5in'><a
     href=3D"http://www.solarwinds.net/Tools/Free_tools/Subnet_Calc/index.h=
tm"
     target=3D"_blank">SolarWinds' Advanced Subnet Calculator</a></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l4 level1 lfo5;tab-stops:list .5in'><a
     href=3D"http://www.boson.com/promo/ip_subnet_calculator.htm" target=3D=
"_blank">Boson's
     IP Subnet Calculator</a></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l4 level1 lfo5;tab-stops:list .5in'><a
     href=3D"http://www.cisco.com/cgi-bin/Support/IpSubnet/home.pl"
     target=3D"_blank">Cisco's Web-based IP subnet calculators</a> (for
     registered users only)</li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l4 level1 lfo5;tab-stops:list .5in'><a
     href=3D"http://www.wildpackets.com/products/free_utilities/ipsubnetcal=
c/overview"
     target=3D"_blank">WildPackets' IP Subnet Calculator</a></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l4 level1 lfo5;tab-stops:list .5in'><a
     href=3D"http://www.subnet-calculator.com/" target=3D"_blank">Online IP=
 Subnet
     Calculator</a></li>
</ul>

<h2>How can I learn more?</h2>

<p>There's a wealth of information available on the Internet about subnetti=
ng.
Once again, here are some recommended resources:</p>

<ul type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l0 level1 lfo6;tab-stops:list .5in'><a
     href=3D"http://techrepublic.com.com/5100-1035_11-5034563.html"
     target=3D"_blank">&quot;TechRepublic Tutorial: Subnetting a TCP/IP
     network&quot;</a></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l0 level1 lfo6;tab-stops:list .5in'><a
     href=3D"http://www.cisco.com/warp/public/701/3.html" target=3D"_blank"=
>&quot;IP
     Addressing and Subnetting for New Users&quot; Cisco documentation</a><=
/li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l0 level1 lfo6;tab-stops:list .5in'><a
     href=3D"http://www.tcpipguide.com/" target=3D"_blank">The TCP/IP Guide=
 Web
     site</a></li>
 <li class=3DMsoNormal style=3D'mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto;
     mso-list:l0 level1 lfo6;tab-stops:list .5in'><a
     href=3D"http://www.learntosubnet.com/" target=3D"_blank">Learn to Subn=
et Web
     site</a></li>
</ul>

<h2>Miss an issue?</h2>

<p>Check out the <a href=3D"http://techrepublic.com.com/1200-1035-5685066.h=
tml">new
Cisco Routers and Switches Archive</a>, and catch up on the most recent
editions of this newsletter.</p>

<p><i>Want to learn more about router and switch management? <a
href=3D"http://nl.com.com/MiniFormHandler?brand=3Dtechrepublic&amp;list_id=
=3De115">Automatically
sign up for our free Cisco Routers and Switches newsletter</a>, delivered e=
ach
Friday!</i></p>

<p><i>David Davis has worked in the IT industry for 12 years and holds seve=
ral
certifications, including CCIE, MCSE+I, CISSP, CCNA, CCDA, and CCNP. He
currently manages a group of systems/network administrators for a privately
owned retail company and performs networking/systems consulting on a part-t=
ime
basis.</i></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D533 style=
=3D'width:399.75pt;
 mso-cellspacing:1.5pt'>
 <tr style=3D'mso-yfti-irow:0'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <h1>White Papers </h1>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:1'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:2;mso-yfti-lastrow:yes'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D142828&amp=
;promo=3D400111&amp;tag=3Dwpr.6184,6125,6255,6163,7105">Looking
  to Manage Changing Regulations? Look No Further</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D131605&amp=
;promo=3D400111&amp;tag=3Dwpr.6184,6125,6255,6163,7105">Protecting
  Your Network from ARP Spoofing - Based Attacks</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D45119&amp;=
promo=3D400111&amp;tag=3Dwpr.6184,6125,6255,6163,7105">Server
  Consolidation and Mid-Tier Application Servers</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D45231&amp;=
promo=3D400111&amp;tag=3Dwpr.6184,6125,6255,6163,7105">Total
  Cost of Ownership for Intel&reg; Itanium&reg; 2-Based Systems</a> </p>
  <p class=3DMsoNormal><span style=3D'font-family:Symbol;mso-ascii-font-fam=
ily:
  "Times New Roman"'>&middot;</span><span style=3D'mso-spacerun:yes'>&nbsp;
  </span><a
  href=3D"http://itpapers.techrepublic.com/abstract.aspx?docid=3D98463&amp;=
promo=3D400111&amp;tag=3Dwpr.6184,6125,6255,6163,7105">Cajamar
  on WebLogic 8.1</a> </p>
  </td>
 </tr>
</table>

<p style=3D'margin:0in;margin-bottom:.0001pt'><span style=3D'display:none;
mso-hide:all'><o:p>&nbsp;</o:p></span></p>

<table class=3DMsoNormalTable border=3D0 cellpadding=3D0 width=3D533 style=
=3D'width:399.75pt;
 mso-cellspacing:1.5pt'>
 <tr style=3D'mso-yfti-irow:0'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <p class=3DMsoNormal><o:p>&nbsp;</o:p></p>
  </td>
 </tr>
 <tr style=3D'mso-yfti-irow:1;mso-yfti-lastrow:yes'>
  <td style=3D'padding:.75pt .75pt .75pt .75pt'>
  <h3><span style=3D'font-family:Arial'>Additional Resources<br>
  <br>
  </span><span style=3D'font-size:10.0pt;font-family:Arial'><a
  href=3D"http://www.techtoolshed.com">Tech Toolshed </a><br>
  http://www.techtoolshed.com <br>
  <br>
  <a href=3D"http://techrepublic.com.com/1200-6242-5138490.html">Learning C=
D-Roms
  </a><br>
  http://fasttrack.techrepublic.com<br>
  <br>
  <a href=3D"http://techrepublic.com.com/1200-6242-5137712.html">Quick Refe=
rence
  Charts </a><br>
  http://quickref.techrepublic.com <br>
  <br>
  <a href=3D"http://techrepublic.com.com/1200-6242-5137712.html">TechRepubl=
ic's
  Catalog </a><br>
  http://www.techrepublic.com/catalog</span></h3>
  </td>
 </tr>
</table>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------=_NextPart_01C5B857.17753530
Content-Location: file:///C:/22834A31/IPsubnetting101_files/header.htm
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="us-ascii"

<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=3D"urn:schemas-microsoft-com:office:word"
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags"
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DProgId content=3DWord.Document>
<meta name=3DGenerator content=3D"Microsoft Word 10">
<meta name=3DOriginator content=3D"Microsoft Word 10">
<link id=3DMain-File rel=3DMain-File href=3D"../IPsubnetting101.htm">
<![if IE]>
<base href=3D"file:///C:\22834A31\IPsubnetting101_files\header.htm"
id=3D"webarch_temp_base_tag">
<![endif]><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" name=3D"date"/>
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div style=3D'mso-element:footer' id=3Df1>

<p class=3DMsoFooter style=3D'tab-stops:center -308.9pt right 457.9pt'><span
style=3D'font-size:8.0pt;mso-bidi-font-size:12.0pt;font-family:Arial'><span
style=3D'mso-field-code:" FILENAME \\p "'><span style=3D'mso-no-proof:yes'>=
\\Enermax\drive
e\Network Info\IP subnetting 101.doc</span></span><span style=3D'mso-tab-co=
unt:
1'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </=
span>Page
<span style=3D'mso-field-code:" PAGE "'><span style=3D'mso-no-proof:yes'>7<=
/span></span>
of <span style=3D'mso-field-code:" NUMPAGES "'><span style=3D'mso-no-proof:=
yes'>7</span></span><o:p></o:p></span></p>

</div>

</body>

</html>

------=_NextPart_01C5B857.17753530
Content-Location: file:///C:/22834A31/IPsubnetting101_files/filelist.xml
Content-Transfer-Encoding: quoted-printable
Content-Type: text/xml; charset="utf-8"

<xml xmlns:o=3D"urn:schemas-microsoft-com:office:office">
 <o:MainFile HRef=3D"../IPsubnetting101.htm"/>
 <o:File HRef=3D"header.htm"/>
 <o:File HRef=3D"filelist.xml"/>
</xml>
------=_NextPart_01C5B857.17753530--

