content.html
来自「ccna」· HTML 代码 · 共 259 行
HTML
259 行
<html> <head> <meta content="en-us" http-equiv="Content-Language"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <link type="text/css" rel="stylesheet" href="../../../../../css/ccna.css"> <script src="../../../../../js/framesetHelper.js" language="JavaScript"></script><script language="JavaScript"> window.scrollTo(0,0); function newPage(pageID) { alert("COMMING SOON!!\nThis feature is currently in development."); } function launchMoreInfo(oid) { dash = oid.indexOf('-'); sub1 = oid.substring(0,dash); sub2 = oid.substring(dash+1); // this is an URL base on the // system that generated the static // download of the curriculum. httpref = "http://nomar.sdf.cisco.com/servlet/org.cli.delivery.rendering.servlet.MIServlet/Static=true,LMSID=DTUI,Engine=dynamic,Theme=cnamstheme,Style=ccna,Language=en,Version=2,RootID=knet-v214aCV47051/CHAPID=null/RLOID=null/RIOID=null/"; newref = httpref + sub1 +"/"+ sub2 +"/moreinfoframeset.html"; //alert("new newref :\n" + newref); window.open(newref,'MoreInfo','toolbar=no,status=yes,menubar=no,location=no,scrollbars=yes,height=442,width=756,left=20,top=20,resizable=yes') } function launchContentResource(contentID) { top.currentSupport = 0; dash = contentID.indexOf('-'); sub1 = contentID.substring(0,dash); sub2 = contentID.substring(dash+1); numbackParams = "CHAPID=" + "knet-v214aCH47510" + "/RLOID=" + "knet-v214aRLO47818" + "/RIOID=" + "knet-v214aRIO123675"; ContentRef = "../../../../../"+ numbackParams + "/"+ sub1 +"/"+ sub2 +"/"; eval('parent.frames.content_frame.location.href="'+ContentRef+'content.html"'); eval('parent.frames.media_frame.location.href="'+ContentRef+'media.html"'); eval('parent.frames.navigation_frame.location.href="'+ContentRef+'contentresourcenav.html"'); top.currentSupport++; top.firstSupportPage = contentID; top.prevPage = contentID; top.contentResourceID = contentID; } function launchReference(rioID, rloID, chapterID) { contentID = "knet-v214aCV47051"; dash = contentID.indexOf('-'); sub1 = contentID.substring(0,dash); sub2 = contentID.substring(dash+1); numbackParams = "CHAPID=" + chapterID + "/RLOID=" + rloID + "/RIOID=" + rioID; ContentRef = "../../../../../"+ numbackParams + "/"+ sub1 +"/"+ sub2 +"/"; eval('top.frames.main_frame.location.href="'+ContentRef+'referencecontroller_crf.html"'); chapter = "knet-v214aCH47510"; ch_dash = chapter.indexOf('-'); ch_sub1 = chapter.substring(0,ch_dash); ch_sub2 = chapter.substring(ch_dash+1); params = "CHAPID=" + chapter + "/RLOID=" + "knet-v214aRLO47818" + "/RIOID=" + "knet-v214aRIO123675"; returnRef = "../../../../../"+ params + "/"+ ch_sub1 +"/"+ ch_sub2 +"/pageframeset.html"; top.prevPage = returnRef; } function launchFile(filepath) { newWindow = window.open(filepath,"","top=70,left=120,width="+(screen.width*.50)+",height="+(screen.height*.50)+",resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,status=yes"); /* if (is.ie && filepath.lastIndexOf(".pdf") != -1) { pageTimer = setInterval("winLoadCheck()", 1000); } */ } function winLoadCheck() { if (newWindow.document.readyState == 'complete') { clearInterval(pageTimer); newWindow.location.reload(); } } // BrowserCheck Object // provides most commonly needed browser checking variables // 19990326 // Copyright (C) 1999 Dan Steinman // Distributed under the terms of the GNU Library General Public License // Available at http://www.dansteinman.com/dynapi/ function BrowserCheck() { var b = navigator.appName if (b=="Netscape") this.b = "ns" else if (b=="Microsoft Internet Explorer") this.b = "ie" else this.b = b this.v = parseInt(navigator.appVersion) this.ns = (this.b=="ns" && this.v>=4) this.ns4 = (this.b=="ns" && this.v==4) this.ns5 = (this.b=="ns" && this.v==5) this.ie = (this.b=="ie" && this.v>=4) this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>0) this.ie5 = (navigator.appVersion.indexOf('MSIE 5.0')>0) this.ie55 = (navigator.appVersion.indexOf('MSIE 5.5')>0) if (this.ie5) this.v = 5 this.min = (this.ns||this.ie) } // automatically create the "is" object is = new BrowserCheck()</script> </head> <body onLoad="window.focus();" alink="#000000" vlink="#000000" link="#000000" bgcolor="#E7E7E7" background="../../../../../images/ccna/common/bg.gif"> <table width="100%" cellspacing="0" cellpadding="2" border="0"><tr> <td bgcolor="#000000"><img height="1" width="2" border="0" src="../../../../../images/ccna/common/transdot.gif"></td><td class="rlohdr"><img height="1" width="2" border="0" src="../../../../../images/ccna/common/transdot.gif"></td><td valign="top" class="rlohdr">10.7</td><td width="100%" class="rlohdr"> <table width="90%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="rlohdr">Creating a Subnet</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#000000"><img height="1" width="2" border="0" src="../../../../../images/ccna/common/transdot.gif"></td><td class="riohdr"><img height="1" width="2" border="0" src="../../../../../images/ccna/common/transdot.gif"></td><td valign="top" class="riohdr">10.7.1</td><td width="100%" class="riohdr"> <table width="90%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="riohdr">Range of bits needed to create subnets</td> </tr> </table> </td> </tr> <tr> <td colspan="4"> <table width="90%" cellspacing="0" cellpadding="0" border="0"> <tr> <td class="smtext"> <p> </p><table cellpadding="0" cellspacing="0" width="100%" border="0" xmlns:java="http://xml.apache.org/xslt/java"> <tr> <td width="100%"><img height="10" width="1" border="0" src="../../../../../images/ccna/common/transdot.gif"></td> </tr> <tr> <td width="100%"> <table bgcolor="#000000" bordercolor="#000000" cellspacing="0" bordercolorlight="#000000" width="100%" border="0"> <tr> <td width="100%"> <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="2" width="100%" border="0"> <tr> <td valign="middle"><img height="22" width="22" border="0" src="../../../../../images/ccna/common/inotes.gif"></td><td valign="middle"><span class="cstitle">Instructor Note</span></td> </tr> <tr> <td valign="top"> </td><td valign="top"><span class="cstext"> <p>The purpose of this target indicator is to correctly discern how many bits may be "stolen" or "borrowed" from the host fields to extend the network number. The first step in this process is identifying the IP address as class A (thus a default subnet mask of 255.0.0.0), class B (thus a default subnet mask of 255.255.0.0), or class C (thus a default subnet mask of 255.255.255.0). This establishes the "minimum" mask. The maximum mask must leave at least 2 bits for numbering hosts.</p> <p>This TI is related to CCNA Certification Exam Objectives #7, #29, #30, and #36.</p> </span></td> </tr> </table> </td> </tr> </table> </td> </tr> </table><p>To create subnets, the routing portion of the address must be extended. The Internet knows a network as a whole, identified by the Class A, B, or C address, which defines 8, 16, or 24 routing bits (the network number). The subnet field will become additional routing bits, so that the routers within an organization can recognize different locations, or subnets, within the whole network.<img border="0" src="../../../../../CHAPID=knet-v214aCH47510/RLOID=knet-v214aRLO47818/RIOID=knet-v214aRIO123675/knet/v214adataimage1/1.gif" width="12" height="12"></p><ol><li> <b>Question</b>: In the address 131.108.0.0, which are the routing bits?<br><b>Answer</b>: 131.108 - That is the 16 bit Class B network number.</li><li> <b>Question</b>: What are the other two octets (16 bits) of the address 131.108.0.0 used for? <br><b>Answer</b>: As far as the Internet knows, that is just a 16 bit host field. This is because that is what a class B address is, a 16 bit network number and a 16 bit host number.</li><li> <b>Question</b>: What part of the address 131.108.0.0 is the subnet field? <br><b>Answer</b>: When you decide to create subnets, you must divide the original host field (16 bits in the case of Class B) into two parts - the subnet field and the host field. This is sometimes referred to as "borrowing" some of the original host bits to create the subnet field. The minimum number of bits that can be borrowed is 2, regardless of whether it is a Class A, B, or C network. Because at least 2 bits must remain for host numbers<sup>2</sup>, the maximum number of bits that can be borrowed varies by address class.</li></ol><table border="0" cellpadding="2" cellspacing="0"><tr><td align="center" colspan="1" rowspan="1" valign="top"><span class="smtext"><b>Address <br>Class</b></span></td><td align="center" colspan="1" rowspan="1" valign="top"><span class="smtext"><b>Size of Default<br>Host Field</b></span></td><td align="center" colspan="1" rowspan="1" valign="top"><span class="smtext"><b>Maximum Number <br>of Subnet Bits</b></span></td></tr><tr><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">A</span></td><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">24</span></td><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">22</span></td></tr><tr><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">B</span></td><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">16</span></td><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">14</span></td></tr><tr><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">C</span></td><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">8</span></td><td align="center" colspan="1" rowspan="1" valign="middle"><span class="smtext">6</span></td></tr></table><p>The subnet field always follows immediately after the network number. That is, the borrowed bits must be the first <i>n</i> bits of the default host field, where <i>n</i> is the desired size of the new subnet field.</p><p>The subnet mask is the tool used by the router to determine which bits are routing (network and subnet) bits and which bits are host bits.<img border="0" src="../../../../../CHAPID=knet-v214aCH47510/RLOID=knet-v214aRLO47818/RIOID=knet-v214aRIO123675/knet/v214adataimage2/2.gif" width="12" height="12"><img border="0" src="../../../../../CHAPID=knet-v214aCH47510/RLOID=knet-v214aRLO47818/RIOID=knet-v214aRIO123675/knet/v214adataimage3/3.gif" width="12" height="12"></p><p>Previous standards did not allow for the use of subnets obtained by borrowing 1 bit. With only 1 subnet bit, the subnet field can only have two values (that is, subnet 0 is part of the network address, and subnet 1 would be part of the network broadcast address). Although many devices can now support subnets obtained by borrowing 1 bit, it is still common practice to avoid doing this to insure compatibility with legacy devices. For our purposes here, you will always borrow at least 2 bits.</p><p>Similarly, a 1 bit host field would allow only for host 0, which is part of the network address, and host 1, which is part of the broadcast address, leaving 0 valid host addresses.</p></td> </tr> </table> </td> </tr></table> <p> </p> <table width="100%" cellspacing="0" cellpadding="2" border="0" valign="bottom"> <tr> <td></td> </tr> </table> </body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?