content.html

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

HTML
229
字号
<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-v214aCH47511" + "/RLOID=" + "knet-v214aRLO47825" + "/RIOID=" + "knet-v214aRIO123696";                        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-v214aCH47511";            ch_dash = chapter.indexOf('-');            ch_sub1 = chapter.substring(0,ch_dash);            ch_sub2 = chapter.substring(ch_dash+1);                        params = "CHAPID=" + chapter + "/RLOID=" + "knet-v214aRLO47825" + "/RIOID=" + "knet-v214aRIO123696";                        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">11.2</td><td width="100%" class="rlohdr">                    <table width="90%" cellpadding="0" cellspacing="0" border="0">                        <tr>                            <td class="rlohdr">Network-to-Network Communications</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">11.2.5</td><td width="100%" class="riohdr">                    <table width="90%" cellpadding="0" cellspacing="0" border="0">                        <tr>                            <td class="riohdr">ARP operation within a subnet</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>This target indicator further explains the ARP process. One way to present this material is again by kinesthetically acting out the process. Have several students portraying several hosts. One of the hosts knows the IP address, but not the MAC address, of a destination computer. So it sends out a broadcast ARP request. The destination computer sends an ARP reply with its MAC address in the destination MAC field. Then IP communication between the two hosts can proceed.</p>                                                                        <p>This TI relates to CCNA Certification Exam Objectives #7, #31, and #36.</p>                                                                    </span></td>                                                            </tr>                                                        </table>                                                    </td>                                                </tr>                                            </table>                                        </td>                                    </tr>                                </table><p>For a host to send data to another host, it must know the destination IP address. If it is unable to locate a MAC address for the destination in its own ARP table,<img border="0" src="../../../../../CHAPID=knet-v214aCH47511/RLOID=knet-v214aRLO47825/RIOID=knet-v214aRIO123696/knet/v214adataimage1/1.gif" width="12" height="12"> the host initiates a process called an ARP request. An ARP request enables it to discover the destination MAC address.<img border="0" src="../../../../../CHAPID=knet-v214aCH47511/RLOID=knet-v214aRLO47825/RIOID=knet-v214aRIO123696/knet/v214adataimage2/2.gif" width="12" height="12"></p><p>A host builds an ARP request packet and sends it to all devices on the network. To ensure that all devices see the ARP request, the source uses a broadcast MAC address. The broadcast address in a MAC addressing scheme has all places set to hexadecimal F. Thus, a MAC broadcast address would have the form FF-FF-FF-FF-FF-FF.<img border="0" src="../../../../../CHAPID=knet-v214aCH47511/RLOID=knet-v214aRLO47825/RIOID=knet-v214aRIO123696/knet/v214adataimage3/3.gif" width="12" height="12"></p><p>ARP request packets travel in a broadcast mode. Therefore, all devices on the local network receive the packets and pass them up to the network layer for further examination. If the IP address of a device matches the destination IP address in the ARP request, that device responds by sending the source its MAC address. This is known as the <i>ARP reply.</i><img border="0" src="../../../../../CHAPID=knet-v214aCH47511/RLOID=knet-v214aRLO47825/RIOID=knet-v214aRIO123696/knet/v214adataimage4/4.gif" width="12" height="12"></p><p>                                    <b>Example:</b>                                    <br>Source device 197.15.22.33 is asking for the MAC address of the destination with IP address 197.15.22.126.<img border="0" src="../../../../../CHAPID=knet-v214aCH47511/RLOID=knet-v214aRLO47825/RIOID=knet-v214aRIO123696/knet/v214adataimage5/5.gif" width="12" height="12"> Destination device 197.15.22.126 picks up the ARP request and responds with an ARP reply containing its MAC address.</p><p>Once the originating device receives the ARP reply, it extracts the MAC address from the MAC header, and updates its ARP table. The originating device can then properly address its data with both a destination MAC address and a destination IP address. It uses this new information to perform Layer 2 and Layer 3 encapsulations of the data before it sends them out over the network.</p><p>When the data arrives at the destination, the data link layer makes a match, strips off the MAC header, and transfers the data up to the network layer. The network layer examines the data and finds that the IP address matches the destination IP address carried in the IP header. The network layer strips off the IP header and transfers the encapsulated data to the next highest layer in the OSI model, the transport layer (Layer 4). This process is repeated until the rest of the packet's partially decapsulated data reaches the application, where the user data may be read.</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 + -
显示快捷键?