网络布线和路由器基本配置总结.doc_第1页
网络布线和路由器基本配置总结.doc_第2页
网络布线和路由器基本配置总结.doc_第3页
网络布线和路由器基本配置总结.doc_第4页
网络布线和路由器基本配置总结.doc_第5页
已阅读5页,还剩19页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

网络布线和路由器基本配置总结 拓扑图 地址分配表 设备 接口 IP 地址 子网掩码 默认网关 R1 Fa0/0 不适用 S0/0/0 不适用 R2 Fa0/0 不适用 S0/0/0 不适用 PC1 不适用 0 PC2 不适用 0 学习目标 完成本实验后,您将能够: 完成设备接线以及建立控制台连接。 清除配置并重新启动路由器。 执行基本的 IOS 命令行接口操作。 执行基本路由器配置。 使用 show 命令、ping 和 traceroute 检验并测试配置。 创建启动配置文件。 重新加载启动配置文件。 安装终端仿真程序。 场景 在本实验练习中,将回顾以前学到的技能,包括设备布线、建立控制台连接,以及基本的 IOS 命令行接口操作和配置命令。您还将学习如何保存配置文件并截取配置到文本文件。 任务 1:为网络中的以太网链路布线。 为类似拓扑图所示网络中的以太网链路布线。本实验中使用的输出来自 Cisco 1841 路由器。但您可以在实验中使用任何新型路由器,只要它具备拓扑图中所要求的接口即可。确定路由器上可用接口的一种简单方法是使用 show ip interface brief 命令。 拓扑图中的哪些设备之间需要以太网电缆? _ 步骤 1:将 R1 路由器连接到 S1 交换机。 使用直通以太网电缆将 R1 路由器的 FastEthernet 0/0 接口连接到 S1 交换机的 FastEthernet 0/1 接口。 R1 上 FastEthernet 0/0 接口旁的链路状态指示灯显示什么颜色?_ S1 上 FastEthernet 0/1 接口旁的链路状态指示灯显示什么颜色?_ 步骤 2:将 PC1 连接到 S1 交换机。 使用直通以太网电缆将 PC1 的网络接口卡(网卡)连接到 S1 交换机的 FastEthernet 0/2 接口。 PC1 上网卡接口旁的链路状态指示灯显示什么颜色?_ S1 上 FastEthernet 0/2 接口旁的链路状态指示灯显示什么颜色?_ 如果链路状态指示灯不是绿色,请稍候片刻,等待两台设备之间的链路建立起来。如果一段时间后指示灯仍然没有变为绿色,请确保您使用的是直通以太网电缆,并且 S1 交换机和 PC1 的电源已打开。 步骤 3:将 PC2 连接到 R2 路由器。 使用交叉以太网电缆将 R2 路由器的 FastEthernet 0/0 接口连接到 PC2 的网卡。因为 PC2 和 R2 路由器之间没有交换机,所以需要使用交叉电缆来直接连接 PC 和路由器。 PC2 上网卡接口旁的链路状态指示灯显示什么颜色?_ R2 上 FastEthernet 0/0 接口旁的链路状态指示灯显示什么颜色?_ 任务 2:在 R1 和 R2 路由器之间部署串行链路。 在现实环境的 WAN 连接中,用户驻地设备 (CPE)(通常是一台路由器)是数据终端设备 (DTE)。该设备通过数据线路终端设备 (DCE) 连接到服务提供商,数据线路终端设备通常是调制解调器或通道服务单元 (CSU)/数据服务单元 (DSU)。该设备用于将来自 DTE 的数据转换成 WAN 服务提供商可接受的格式。 与课堂实验中使用的电缆不同,真实环境中的串行电缆并不是直接的背对背连接。其中一台路由器可能在纽约,而另一台路由器可能在澳大利亚的悉尼。进行故障排除时,悉尼的管理员需要通过 WAN 网云连接到位于纽约的路由器。 在课堂实验中,我们使用背对背连接的 DTE-DCE 电缆来模拟构成 WAN 网云的设备。整个线路网云则使用两台路由器串行接口之间的连接进行模拟。 步骤 1:制作 Null 串行电缆,将 R1 路由器连接到 R2 路由器。 在课堂实验中,路由器之间的 WAN 连接使用一根 DCE 电缆和一根 DTE 电缆。路由器之间的 DCE-DTE 连接称作 Null 串行电缆。本实验将使用一根 V.35 DCE 电缆和一根 V.35 DTE 电缆模拟 WAN 连接。V.35 DCE 连接器通常是插孔式 V.35(34 针)连接器。DTE 电缆带有插头型 V.35 连接器。电缆上连接路由器的一端也标有 DCE 或 DTE。 DTE 和 DCE V.35 电缆必须连接在一起。两手分别握住 V.35 的一端,检查引脚和插座,以及螺纹接头。注意,电缆只能通过一种方向正确连接在一起。将插头型电缆上的引脚与插孔型电缆上的小孔对齐,将它们轻轻插在一起。连接时请不要太用力。当连接好以后,请顺时针方向拧紧拇指螺丝固定好连接器。 步骤 2:将 Null 串行电缆的 DCE 端连接到 R1 路由器的 Serial 0/0/0 接口,并将 Null 串行电缆的 DTE 端连接到 R2 路由器的 Serial 0/0/0 接口。 在连接前,请先查看以下信息。 在连接到路由器之前,请检查路由器的连接器和电缆。注意,连接器的截面呈梯形,其作用是防止连接错误。一只手捏住电缆连接器,将其上的斜面与路由器上的斜面对准,然后将电缆连接器部分推入路由器连接器。连接器可能无法完全推入,因为需要拧紧螺纹接头电缆才能完全插入。一只手拿着电缆并将其轻轻朝路由器推入,同时另一只手将其中一颗拇指螺丝朝顺时针方向旋转 3 或 4 圈,使其暂时起到固定作用。然后对另一颗拇指螺丝执行相同操作。此时电缆差不多已连上,您现在可以双手分别捏住一颗拇指螺丝,以相同的速度将它们拧紧,使电缆完全插入。请勿将这些连接器上的螺丝拧得过紧。 任务 3:建立到 R1 路由器的控制台连接。 控制台端口是一个管理端口,通过该端口能够对路由器进行带外访问。该端口用于设置路由器的初始配置并对其进行监控。 使用反转电缆和一个 RJ-45 转 DB-9 适配器将 PC 连接到控制台端口。之前我们已介绍过,通过控制台连接配置路由器时需要用到终端仿真软件。Cisco Networking Academy 推荐使用 Tera Term。但是,您也可以使用 Windows 操作系统提供的 HyperTerminal(超级终端)。 步骤 1:检查路由器并找到标有 Console(控制台)的 RJ-45 连接器。 步骤 2:检查 PC1 并找到 9 针插头型连接器串行端口。 该端口可能标记有 COM1 或 COM2,也可能没有标记。 步骤 3:准备控制台电缆。 一些控制台电缆的一端内置有 RJ-45 转 DB-9 适配器。而某些电缆则没有。找出带有内置适配器的控制台电缆,或选用一端连接有单独的 RJ-45 转 DB-9 适配器的控制台电缆。 步骤 4:将控制台电缆连接到路由器和 PC。 首先,将控制台电缆连接到路由器控制台端口,此端口是一个 RJ-45 连接器。然后,将控制台电缆的 DB-9 端连接到 PC1 的串行端口。 步骤 5:测试路由器连接。 1. 打开您的终端仿真软件(HyperTerminal、Tera Term 或您教师指定的其它软件)。 2. 配置您的应用程序所需的软件参数(如需帮助请参阅附录)。 3. 当终端窗口打开时,按 Enter 键。路由器此时应该会有响应。如果得到响应,则连接成功完成。如果连接不成功,则需排除故障。例如,检查路由器是否通电。检查到 PC 串行端口和路由器控制台端口的连接。 任务 4:清除配置并重新加载路由器。 步骤 1:使用任务 3 中建立的 HyperTerminal 会话,进入 R1 的特权执行模式。 Routerenable Router# 步骤 2:清除配置。 要清除配置,请使用 erase startup-config 命令。当出现提示时请予以确认,并在询问是否保存更改时回答 no。结果应该类似如下所示: Router#erase startup-config Erasing the nvram filesystem will remove all files!Continue?confirm OK Erase of nvram:complete Router# 步骤 3:重新加载配置。 当返回提示符状态时,使用 reload 命令。当出现提示时请予以确认。路由器完成启动过程后,选择不使用 AutoInstall 功能,如下所示: Would you like to enter the initial configuration dialog?yes/no:no Would you like to terminate autoinstall?yes: Press Enter to accept default. Press RETURN to get started! 步骤 4:建立到路由器 R2 的 HyperTerminal 会话。 重复步骤 1 到 3,清除任何可能存在的启动配置文件。 任务 5:理解命令行基本知识。 步骤 1:建立到路由器 R1 的 HyperTerminal 会话。 步骤 2:进入特权执行模式。 Routerenable Router# 步骤 3:输入错误的命令并观察路由器的响应。 Router#comfigure terminal % Invalid input detected at marker. Router# 命令行错误主要是输入错误。如果输入错误的命令关键字,用户界面将使用错误指示符 () 指示错误。 出现在输入的命令、关键字或参数字符串中出错的地方或附近。 步骤 4:更正前面的命令。 如果命令输入错误,并且按下了 Enter 键,则可以使用键盘上的向上箭头键重复上一条命令。使用向右箭头和向左箭头键将光标移动到出错的地方。然后进行更正。如果需要删除某些字符,可以使用退格键。使用方向键和退格键将命令更正为 configure terminal,然后按 Enter。 Router#configure terminal Enter configuration commands, one per line.End with CNTL/Z. Router(config)# 步骤 5:使用 exit 命令返回特权执行模式。 Router(config)#exit %SYS-5-CONFIG_I:Configured from console by console Router# 步骤 6:检查在特权执行模式中可以使用的命令。 可以在提示符下输入问号 ? 来显示可用命令列表。 Router#? Exec commands: Session number to resume clear Reset functions clock Manage the system clock configure Enter configuration mode connect Open a terminal connection copy Copy from one file to another debug Debugging functions (see also undebug) delete Delete a file dir List files on a filesystem disable Turn off privileged commands disconnect Disconnect an existing network connection enable Turn on privileged commands erase Erase a filesystem exit Exit from the EXEC logout Exit from the EXEC no Disable debugging informations ping Send echo messages reload Halt and perform a cold restart resume Resume an active network connection setup Run the SETUP command facility show Show running system information -More- 请注意出现在命令输出底部的 -More-。-More- 提示表明输出包含多屏。当出现 -More- 提示符时,按空格键可查看输出的下一屏。如果仅需要显示下一行,则按 Enter 键。按其它任意键将返回提示符。 步骤 7:查看输出。 按空格键查看命令输出的剩余部分。输出的剩余部分会显示在之前出现的 -More- 提示符处。 telnet Open a telnet connection traceroute Trace route to destination undebug Disable debugging functions (see also debug) vlan Configure VLAN parameters write Write running configuration to memory, network, or terminal 步骤 8:使用 exit 命令退出特权执行模式。 Router#exit 应该显示如下输出: Router con0 is now available Press RETURN to get started. 步骤 9:按 Enter 键进入用户执行模式。 应该出现 Router 提示符。 步骤 10:键入缩写的 IOS 命令。 IOS 命令可以缩写,只要键入足够的字符可供 IOS 识别出唯一的命令即可。 在命令提示符处只输入字符 e 并观察结果。 Routere % Ambiguous command:e Router 在命令提示符处输入 en 并观察结果。 Routeren Router# 缩写命令 en 包含足够的字符供 IOS 区别 enable 命令和 exit 命令。 步骤 11:在缩写命令后按 Tab 键使用自动补全功能。 键入缩写命令(如 conf)后,按下 Tab 键可将命令名称补充完整。IOS 的这种功能称为自动补全。键入缩写命令 conf,按下 Tab 键并观察结果。 Router#conf Router#configure 只要键入的字符可供 IOS 识别出唯一的命令即可使用自动补全功能。 步骤 12:在正确的模式中输入 IOS 命令。 必须在正确的模式下输入 IOS 命令。例如,在特权执行模式不能对配置进行更改。尝试在特权执行模式下输入命令 hostname R1 并观察结果。 Router#hostname R1 % Invalid input detected at marker. Router# 任务 6:对路由器 R1 进行基本配置。 步骤 1:建立到路由器 R1 的 HyperTerminal 会话。 步骤 2:进入特权执行模式。 Routerenable Router# 步骤 3:进入全局配置模式。 Router#configure terminal Enter configuration commands, one per line.End with CNTL/Z. Router(config)# 步骤 4:将路由器名称配置为 R1。 在提示符下输入命令 hostname R1。 Router(config)#hostname R1 R1(config)# 步骤 5:使用 no ip domain-lookup 命令禁用 DNS 查找。 R1(config)#no ip domain-lookup R1(config)# 在实验环境中禁用 DNS 查找的原因是什么? _ _ 如果在生产环境中禁用 DNS 查找会发生什么情况? _ _ 步骤 6:配置执行模式口令。 使用 enable secret password 命令配置执行模式口令。使用 class 替换 password。 R1(config)#enable secret class R1(config)# Enable secret 命令用于在 enable password 命令之上再增加一层安全性。Enable secret 命令使用非可逆加密功能存储 enable secret 口令,因而安全性更高。对于口令会通过网络传输或存储在 TFTP 服务器中的情况,这一附加的安全加密层尤为有用。如果同时配置了 enable password 和 enable secret 口令,路由器仅接受 enable secret 命令中定义的口令,而忽略 enable password 命令中定义的口令。 步骤 7:清除 enable password。 因为配置了 enable secret,所以不再需要 enable password。对于 IOS 命令,可以通过在命令前加 no 的形式从配置中加以清除。 R1(config)#no enable password R1(config)# 步骤 8:使用 banner motd 命令配置当天消息标语。 R1(config)#banner motd & Enter TEXT message. End with the character &. * !AUTHORIZED ACCESS ONLY! * & R1(config)# 何时会显示该标语? _ _ 为什么每个路由器都需要设置当天消息标语? _ _ 步骤 9:在路由器上配置控制台口令。 使用 cisco 作为口令。配置完成后,退出线路配置模式。 R1(config)#line console 0 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)# 步骤 10:为虚拟终端线路配置口令。 使用 cisco 作为口令。配置完成后,退出线路配置模式。 R1(config)#line vty 0 4 R1(config-line)#password cisco R1(config-line)#login R1(config-line)#exit R1(config)# 步骤 11:使用 IP 地址 /24 配置 FastEthernet 0/0 接口。 R1(config)#interface fastethernet 0/0 R1(config-if)#ip address R1(config-if)#no shutdown %LINK-5-CHANGED:Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/0, changed state to up R1(config-if)# 步骤 12:使用 description 命令为此接口设定描述。 R1(config-if)#description R1 LAN R1(config-if)# 步骤 13:使用 IP 地址 /24 配置 Serial0/0/0 接口。 将时钟频率设置为 64000。 注意:因为实验中使用的路由器没有连接到真实的租用线路,所以需要其中一台路由器为线路提供时钟信号。通常情况下,这应该由服务提供商来提供。为了在实验中提供这种时钟信号,需要使用其中一台路由器作为连接的 DCE。通过在连接 Null 调制解调器电缆 DCE 端的 serial 0/0/0 接口上执行 clock rate 64000 命令即可实现此功能。R1(config-if)#interface serial 0/0/0 R1(config-if)#ip address R1(config-if)#clock rate 64000 R1(config-if)#no shutdown R1(config-if)# 注意:在配置并激活 R2 上的串行接口之前,此接口不会激活。 步骤 14:使用 description 命令为此接口设定描述。 R1(config-if)#description Link to R2 R1(config-if)# 步骤 15:使用 end 命令返回特权执行模式。 R1(config-if)#end R1# 步骤 16:保存 R1 配置。 使用 copy running-config startup-config 命令保存 R1 配置。 R1#copy running-config startup-config Building configuration. OK R1# 任务 7:对路由器 R2 进行基本配置。步骤 1:对 R2 重复任务 6 中的步骤 1 到步骤 10。 步骤 2:使用 IP 地址 /24 配置 Serial 0/0/0 接口。 R2(config)#interface serial 0/0/0 R2(config-if)#ip address R2(config-if)#no shutdown %LINK-5-CHANGED:Interface Serial0/0/0, changed state to up %LINEPROTO-5-UPDOWN:Line protocol on Interface Serial0/0/0, changed state to up R2(config-if)# 步骤 3:使用 description 命令为此接口设定描述。 R1(config-if)#description Link to R1 R1(config-if)# 步骤 4:使用 IP 地址 /24 配置 FastEthernet 0/0 接口。 R2(config-if)#interface fastethernet 0/0 R2(config-if)#ip address R2(config-if)#no shutdown %LINK-5-CHANGED:Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN:Line protocol on Interface FastEthernet0/0, changed state to up R2(config-if)# 步骤 5:使用 description 命令为此接口设定描述。 R1(config-if)#description R2 LAN R1(config-if)# 步骤 6:使用 end 命令返回特权执行模式。 R2(config-if)#end R2# 步骤 7:保存 R2 配置。 使用 copy running-config startup-config 命令保存 R2 配置。 R2#copy running-config startup-config Building configuration. OK R2# 任务 8:配置主机 PC 上的 IP 地址。步骤 1:配置主机 PC1。 使用 IP 地址 0/24 和默认网关 配置连接到 R1 的主机 PC1。 步骤 2:配置主机 PC2。 使用 IP 地址 0/24 和默认网关 配置连接到 R2 的主机 PC2。 任务 9:探索路由器的 show 命令。有多种 show 命令可以用来检查路由器的工作情况。在特权执行模式和用户执行模式下都可以使用 show ? 命令来查看可用 show 命令列表。特权执行模式中的命令列表要比用户执行模式中的列表长很多。 步骤 1:探索 show running-config 命令。 Show running-config 命令用于显示当前运行配置文件的内容。在 R1 路由器的特权执行模式中,检查 show running-config 命令的输出。如果出现 -More- 提示符,请按空格键查看命令输出的其余部分。 R1#show running-config ! version 12.3 ! hostname R1 ! ! enable secret 5 $1$AFDd$0HCi0iYHkEWR4cegQdTQu/ ! no ip domain-lookup ! interface FastEthernet0/0 description R1 LAN mac-address 0007.eca7.1511 ip address duplex auto speed auto ! interface FastEthernet0/1 mac-address 0001.42dd.a220 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 description Link to R2 ip address clock rate 64000 ! interface Serial0/0/1 no ip address shutdown ! interface Vlan1 no ip address shutdown ! ip classless ! ! ! ! line con 0 password cisco line vty 0 4 password cisco login ! end 步骤 2:探索 show startup-config 命令。 show startup-config 命令显示 NVRAM 中包含的启动配置文件。在 R1 路由器的特权执行模式中,检查 show startup-config 命令的输出。如果出现 -More- 提示符,请按空格键查看命令输出的其余部分。 R1#show startup-config Using 583 bytes ! version 12.3 ! hostname R1 ! ! no ip domain-lookup ! interface FastEthernet0/0 description R1 LAN mac-address 0007.eca7.1511 ip address duplex auto speed auto ! interface FastEthernet0/1 mac-address 0001.42dd.a220 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 description Link to R2 ip address clock rate 64000 ! interface Serial0/0/1 no ip address shutdown ! interface Vlan1 no ip address shutdown ! ip classless ! ! ! ! line con 0 password cisco line vty 0 4 password cisco login ! end 步骤 3:探索 show interfaces 命令。 show interfaces 命令显示路由器上配置的所有接口的统计信息。可以在此命令的后面添加特定的接口以便仅显示该接口的统计信息。在 R1 路由器的特权执行模式中,检查 show interfaces fastEthernet0/0 命令的输出。如果出现 -More- 提示符,请按空格键查看命令输出的其余部分。 R1# show interfaces fastEthernet 0/0 FastEthernet0/0 is up, line protocol is up (connected) Hardware is Lance, address is 0007.eca7.1511 (bia 0002.1625.1bea) Description: R1 LAN Internet address is /24 MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec, rely 255/255, load 1/255 Encapsulation ARPA, loopback not set ARP type: ARPA, ARP Timeout 04:00:00, Last input 00:00:08, output 00:00:05, output hang never Last clearing of show interface counters never Queueing strategy: fifo Output queue :0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 input packets with dribble condition detected 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 1 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier 0 output buffer failures, 0 output buffers swapped out R1# 步骤 4:探索 show version 命令。 show version 命令显示当前所加载软件版本的相关信息、硬件信息以及设备信息。在 R1 路由器的特权执行模式中,检查 show version 命令的输出。如果出现 -More- 提示符,请按空格键查看命令输出的其余部分。 R1#show version Cisco IOS Software, 1841 Software (C1841-IPBASE-M), Version 12.3(14)T7, RELEASE SOFTWARE (fc2) Technical Support: /techsupport Copyright (c) 1986-2006 by Cisco Systems, Inc. Compiled Mon 15-May-06 14:54 by pt_team ROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1) System returned to ROM by power-on System image file is flash:c1841-ipbase-mz.123-14.T7.bin This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately. A summary of U.S. laws governing Cisco cryptographic products may be found at: /wwl/export/crypto/tool/stqrg.html If you require further assistance please contact us by sending email to . Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory. Processor board ID FTX0947Z18E M860 processor: part number 0, mask 49 2 FastEthernet/IEEE 802.3 interface(s) 2 Low-speed serial(sync/async) network interface(s) 191K bytes of NVRAM. 31360K bytes of ATA CompactFlash (Read/Write) Configuration register is 0x2102 R1# 步骤 5:探索 show ip interface brief 命令。 show ip interface brief 命令显示每个接口的使用情况信息摘要。在 R1 路由器的特权执行模式中,检查 show ip interface brief 命令的输出。如果出现 -More- 提示符,请按空格键查看命令输出的其余部分。 R1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/0 YES manual up up FastEthernet0/1 unassigned YES manual administratively down down Serial0/0/0 YES manual up up Serial0/0/1 unassigned YES manual administratively down down Vlan1 unassigned YES manual administratively down down R1# 任务 10:使用 ping。ping 命令是一款非常有用的工具,适用于 OSI 模型第 1 层至第 3 层的故障排除和基本网络连通性诊断。该命令既可以在用户执行模式下执行,也可以在特权执行模式下执行。使用 ping 向指定设备发送 Internet 控制消息协议 (ICMP) 数据包并等待回应。可以从路由器向主机 PC 发送 Ping。 All contents are Copyright 1992-2009 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. 第 14 页(共 26 页) CCNA Exploration 路由协议和概念: 路由和数据包转发简介 实验 1.5.1:网络布线和路由器基本配置 步骤 1:使用 ping 命令测试 R1 路由器和 PC1 之间的连通性。 R1#ping 0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 0, timeout is 2 seconds: .! Success rate is 80 percent (4/5), round-trip min/avg/max = 72/79/91 ms 一个感叹号 (!) 表明得到一个成功的回应。显示中的每个句点 (.) 表明路由器上的应用程序在指定时间内没有收到来自目标的应答数据包。第一个 ping 数据包失败是因为路由器尚没有到达 IP 数据包目的地址的 ARP 表项。由于没有 ARP 表项,所以该数据包被丢弃。路由器随后发送 ARP 请求,接收响应,并将 MAC 地址添加到 ARP 表。这样当下一个 ping 数据包到来时,便能得到成功转发。 步骤 2:重复从 R1 到 PC1 的 ping。 R1#ping 0 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 0, timeout is 2 seconds: ! Success rate is 100 percent (5/5), round-trip min/a

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论