content.html

来自「ccna」· HTML 代码 · 共 230 行

HTML
230
字号
<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-v214aRIO123677";                        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-v214aRIO123677";                        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.3</td><td width="100%" class="riohdr">                    <table width="90%" cellpadding="0" cellspacing="0" border="0">                        <tr>                            <td class="riohdr">Computing subnet mask and IP address</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">&nbsp;</td><td valign="top"><span class="cstext">                                                                        <p>There are several techniques for calculating the number of subnets when given the subnet mask and IP address. From the IP address, you can determine its class and hence the default subnet mask. Find how many bits beyond the default mask the actual subnet mask has been extended. This is the number of bits "borrowed" or stolen to create subnetworks.</p>                                                                        <p>The formula 2<sup>n</sup>- 2, where n is the number of bits stolen, gives the number of USABLE subnetworks created. Another way to see this is to write out the powers of two, and find the exponent of two that matches the number of bits stolen. Whatever that power of two equals (less the 2 reserved numbers) gives the number of subnets.</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>Whenever bits are borrowed from the host field, it is important to note the number of additional subnets that are being created each time one more bit is borrowed. As already shown, one bit cannot be borrowed. The fewest that may be borrowed is 2 bits.</p><p>Borrowing 2 bits creates four possible subnets (2<sup>2</sup>), but always remember that there are two reserved/unusable subnets. Each time another bit is borrowed from the host field, the number of subnets created increases by a power of 2.</p><p>The eight possible subnets that are created by borrowing 3 bits is equal to 2<sup>3</sup> (2 x 2 x 2). The sixteen possible subnets created by borrowing 4 bits is equal to 2<sup>4</sup> (2 x 2 x 2 x 2). From these examples, it is easy to see that each time another bit is borrowed from the host field, the number of possible subnets doubles.</p><ol><li>                                        <b>Question:</b> How many bits are being borrowed (how long is the subnet field) for a Class B network using a subnet mask of 255.255.240.0?<br><b>Answer:</b> The first two octets of the mask (255.255) correspond with the 16 bits in a Class B network number. Remember that the subnet field is represented by all the additional "1" bits past that. The number 240 decimal is 11110000 in binary, and uses 4 bits for the subnet field.</li><li>                                        <b>Question:</b> How many possible subnets are there with a 4 bit subnet field?<br><b>Answer:</b> Start with finding the smallest 4 bit number - 0000 - then the largest 4 bit number - 1111 (15). So the possible subnets are 0-15, or sixteen subnets. However, subnet 0 (it is part of the network address), and subnet 15 (1111)(broadcast address) cannot be used. So this 4 bit subnet field gives fourteen usable subnets (1-14).</li></ol></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 + -
显示快捷键?