思科第二学期第七章答案第七章

ERouting Chapter 7 - CCNA Exploration: 路由协议和概念(版本4.0)1 窗体顶端请参见图示。

如果所有路由器都运行RIP第 2 版,为什么没有192.168.1.32/27 网络的路由?Rip 第 2 版不会在更新中发送子网掩码。

路由器A并未将RIP 设置为路由协议。

Rip 第 2 版默认将自动总结路由。

路由器 B 未设置为通告192.168.1.64/30 网络。

窗体底端2 窗体顶端请参见图示。

下列哪个路由器上的哪条命令可让Router1 获知192.168.0.0/20 网络?Router1(config)# ip classlessRouter1(config-router)# no passive-interface serial 0/1/1Router2(config-router)# version 2Router2(config-router)# neighbor 10.0.0.2窗体底端3 窗体顶端哪两项是选择实施RIP第 2 版而不是RIP 第 1 版的原因?(选择两项。

)RIP 第2 版支持VLSM。

RIP 第2 版支持16 台以上的路由器。

RIP 第2 版支持有类(而不是无类)路由RIP 第2 版支持路由更新验证。

RIP 第2 版支持多区域。

RIP 第2 版使用Dijkstra 算法而不是贝尔曼-福特算法。

4 窗体顶端RIP v1 和RIP v2 的相似点有哪些?(选择三项。

)两者都使用跳数作为度量。

两者对无穷距离使用相同的度量值。

两者都向邻居广播其更新。

两者都在更新中发送子网掩码信息。

两者都对更新来源进行身份验证。

两者都使用水平分割来防止路由环路。

5 窗体顶端请参见图示。

路由器East 和West 被配置为使用RIPv1。

两台路由器都会发送有关其直连路由的更新。

Ea 以ping 通West 路由器的串行接口,West 可以ping 通East 的串行接口。

但是,两台路由器都无法从对路由。

最可能的原因是什么?需要配置最后选用网关。

子网划分不受RIPv1 支持。

VLSM 不受RIPv1 支持。

其中一台路由器的串行接口需要时钟频率。

窗体底端6 窗体顶端请参见图示。

下列哪条命令可让Router2 获知192.168.16.0/28 网络?Router1(config)# ip classlessRouter1(config-router)# network 192.168.16.0Router1(config-router)# no passive-interface serial 0/1/1Router2(config-router)# version 2Router2(config-router)# neighbor 10.0.0.2窗体底端7 窗体顶端请参见图示。

所有路由器都运行RIP第 2 版。

JAX 被配置为仅通告10.0.0.0/24 网络。

CHI 被配置为通告网络。

网络管理员输入如图所示的命令。

该网络中将会发生什么变化?由于水平分割的原因,JAX 路由器将忽略172.16.0.0/16 网络的更新。

CHI 将在其路由表中安装到192.168.0.0/16 网络的路由。

CHI 的路由表中将包含192.168.0.0/16 路由,但该路由旁边将标记S。

ORL 路由器将对其路由更新中转发的所有网络应用255.255.0.0 子网掩码。

窗体底端8 窗体顶端请参见图示。

技术人员需要添加一个新的环回接口以便测试路由运作情况和网络设计。

该技术人员在路由器一组命令:Sanford(config)# interface loopback1Sanford(config-if)# ip address 192.168.6.62 255.255.255.252为什么该路由器返回错误?该路由器不允许环回接口配置。

该掩码不能用于这个地址类。

在添加这个地址之前必须配置无类路由。

Loopback1 的网络地址与之前配置的接口地址重叠。

该路由器已经超出其路由表所能提供的最大路径数限制。

窗体底端9 窗体顶端RIPv2 的默认度量允许的最大网络直径为多少?15 跳16 跳100 跳120 跳255 跳窗体底端10 窗体顶端配置路由协议时使用network 命令有哪两项作用?(选择两项。

)标识将包含在路由更新中的网络标识网络中可以进行总结的主机地址用于列出远程和本地网络的所有地址确定要对路由更新应用的子网掩码确定哪些接口可以发送和接收路由更新11 窗体顶端请参见图示。

从如图所示的输出中能得到什么结论?路由表被限制为只能有 2 条路由。

LAN 接口参与了路由过程。

已经从每个串行接口各发出一个更新并已收到 2 个更新。

此路由器上未配置no auto-summary。

窗体底端12 窗体顶端网络管理员被告知公司的IP地址基础架构必须符合RFC 1918。

管理员可以在该网络中使用RFC 1918 规IP 地址范围?(选择三项。

)10.0.0.0/8127.0.0.0/8169.254.0.0/16172.16.0.0/12192.168.0.0/16209.165.201.0/27窗体底端13 窗体顶端请参见图示。

所有路由器都运行RIPv1。

如果在路由器 B 上配置了地址为10.16.1.129/27 的环回接口,那的路由表将发生什么变化?将添加到10.16.1.0/27、10.16.1.64/27 和10.16.1.128/27 网络的路由。

将添加到10.16.1.128/27 网络的相连路由。

将添加来源为RIPv1 的第三条到10.0.0.0/8 网络的路由。

配置路由器 B 之后,路由表将立即删除10.0.0.0/8 路由。

窗体底端14 窗体顶端网络管理员安装了四台运行RIPv2 的新路由器。

Router1 是RIPv2 网络中的边界路由器,其上配置了默认络收敛后,网络管理员在Router1 上输入Router1(config-router)# default-information originate。

该命令将对网影响?阻止Router1 转发有关非直连网络的更新使网络中的所有路由器都与Router1 同步路由更新强制Router1 成为更新的主要路由器或指定路由器(DR)向网络中的所有路由器传播默认路由窗体底端15 窗体顶端请参见图示。

如图所示的网络中同时包含Cisco 路由器和非Cisco 路由器。

JAX 路由器上输入了命令deb 前所有路由器都运行相同版本的RIP。

路由器CHI 和路由器ORL 无法到达192.168.1.16/28 网络。

使用什解决此问题?在网络中启用水平分割。

在路由器上配置RIPv2。

在JAX 路由器的RIP配置中添加网络192.168.1.0。

将JAX Fa0/0 配置为被动接口。

启用JAX 路由器上的Serial0/0/0 接口。

将JAX 路由器Fa0/0 接口的IP 地址更改为192.168.1.1/24。

窗体底端16 窗体顶端为了支持VLSM 和CIDR,RFC 1723 在RIP 消息报头中添加了什么字段?子网掩码目的端口号地址族标识符源和目的IP地址窗体底端17 窗体顶端请参见图示。

如图所示的命令对Router1 的RIP 更新会产生什么影响?只有第 2 版更新会发送到255.255.255.255。

只有第 2 版更新会发送到224.0.0.9。

第 1 版和第 2 版更新都会发送到224.0.0.9。

第 1 版和第 2 版更新都会发送到255.255.255.255。

窗体底端18 窗体顶端请参见图示。

RIPv1 是如图所示网络的路由协议。

在每台路由器上使用以下命令:router ripnetwork 10.0.0.0network 172.16.0.0完成上述配置后,每台路由器的LAN 上的用户都无法访问远程LAN。

为什么?network 语句配置错误。

形成了路由环路。

RIPv1 无法路由至主网的不连续子网。

RIPv1 无法路由使用/24 子网掩码的网络。

窗体底端19 窗体顶端网络中的路由器使用RIPv2 作为路由协议。

已经在路由器上输入了命令Router(config-router)# no version 令对路由更新会产生什么影响?子网掩码将添加到路由更新中。

路由更新将通过组播地址224.0.0.9 发送出去。

将接收第 1 版和第2 版更新,但不会发送第2 版更新。

RIP 路由过程将从路由器上删除,不会再转发路由更新。

窗体底端分享顶。

合集下载

思科第一学期第七章试题+答案

思科第一学期第七章试题+答案

思科第一学期第七章试题+答案1UDP 协议具有以下哪一项特点传输前建立端到端连接系统开销低有保证的传输错误纠正2客户正在考虑使用多功能设备建立家庭网络。

多功能网络设备中通常会集成下列哪三种设备(选择三项。

)电子邮件服务器Web 服务器交换机无线接入点路由器打印服务器3WAN 的特征是什么它可跨越一个园区或城市来支持区域资源共享。

它通常归单个家庭或公司所有并受其管理。

它可连接处于不同地理位置上的多个网络。

它需要一个无线接入点将用户连接到网络。

4OSI 模型的哪一层负责逻辑寻址和路由数据链路层传输层网络层应用层5子网掩码为的网络上有多少个可用主机地址25416,777,214102465,5346用户声称前一天还能访问Internet 但现在却无法正常访问Internet,技术人员正在排除此故障。

经过调查,技术人员确定用户也无法访问办公室中的网络打印机。

网络打印机与计算机位于同一个网络中。

分配给计算机的IP 地址为。

此问题最可能的原因是什么计算机无法与DHCP 服务器通信。

计算机上的默认IP 网关不正确。

需要更新网卡驱动程序。

连接此网络与其它网络的路由器发生故障。

7哪个网络设备基于帧中所包含的目的MAC 地址决定转发策略交换机集线器中继器8OSI 模型的哪三层与TCP/IP 模型的应用层对应(选择三项。

)数据链路层表示层会话层应用层网络层物理层传输层9下列哪一项是将设备连接到PAN 时最常用的技术蓝牙光缆同轴电缆IEEE 无线10蓝牙设备可以同时连接多少台设备127245711某网络专家被一家组装飞机引擎的公司聘用,负责安装网络。

出于业务性质的原因,该区域受到电磁干扰的严重影响。

应该推荐哪种类型的网络介质才能使数据通信不受EMI 影响光纤同轴UTPSTP12下列哪种设备将为用户提供无线连接作为其主要功能路由器调制解调器交换机接入点13100BASE-TX 标准中的100 指的是什么最大网络节点数以米为单位的最大电缆距离以Mb/s 为单位的最大带宽该标准的系列序号14OSI 模型的哪两个层与TCP/IP 模型网络接入层的功能相对应(选择两项。

思科Chapter7

思科Chapter7

Chapter 7 Programming Languages7.1 Computer LanguagesComputer languages have undergone dramatic evolution since the first electronic computers were built to assist in telemetry calculations during World War Ⅱ. Early on, programmers worked with the most primitive computer instructions: machine language. These instructions were represented by long strings of ones and zeros. Soon, assemblers were invented to map machine instructions to human-readable and manageable mnemonics, such as ADD and MOV.In time, higher-level languages evolved [1], such as BASIC and COBOL. These languages let people work with something appropriating words and sentences. Such as Let I=100. These instructions were translated back into machine language by interpreters and compilers. An interpreter translates a program as it reads it, turning the program instructions, or code, directly into actions. A compiler translates the code into an intermediary form. This step is called compiling, and produces an object file. The compiler then invokes a linker, which turns the object file into an executable program.Ironically, in order to become easier to use for this new audience, programs have become far more sophisticated. Gone are the days when users typed in cryptic commands at esoteric prompts, only to see a stream of raw data. Today’s programs use sophisticated “user-friendly interfaces,”involving multiple windows, menus, dialog boxes with which we’ve all become familiar. The programs written to support this new approach are far more complex than those written just ten years ago.7.2 Object-Oriented ProgrammingEver since computers became available in the 1950s, it has been software that exploited its power to solve application problems [2]. Machine code, capable of driving the raw hardware, was the first language available to programmers. Sequences of code statements were the earliest form of software. It was soon recognized that the communication medium between programmer and computer is a critical factor in the programming productivity and quality of the overall software product.While computers, the hardware, underwent revolution after revolution, using faster and ever more powerful components, the software technology has significantly lagged behind in matching these advances. Hardware technology has been revolutionized several times: from tubes to discrete transistors, resistors and capacitors to board-level integration to integrated circuits. Even integrated circuits have undergone several significant evolutionary steps: from large-scale integration (LSI) technology to very large scale integration (VLSI), and eventually wafer scaleintegration. Hardware engineering was able to keep up with this pace by developing new techniques to manage the exploding complexity of a modern computer system.Ever since computers were used to solve application problems, it was the task of software to bridge the gap between concepts in an application and computer concepts. Fig. 7-1 illustrates this semantic gap. On one side of the gap are the concepts of an application: for example, customer files to organize, accounts to maintain, or rockets to launch. On the other side are the concepts understood by a computer system: electric impulses, micro code, machine code instructions, and programming language constructs. The typical programming task is to translate the application concepts into computer concepts. If the translation succeeds and the computer solves the application problem, a successful software product has been developed.Advances in software technology are driven by the desire to make the transition from application concepts to computer concepts easier. Advances in software technology have narrowed the gap from both sides. On one side they provided software design principles and techniques that allow the programmer to express an application problem closer to computer system terms. Software design principles, such as abstraction, information hiding, modularization and stepwise refinement, allow the programmer to conceptualize application concepts and to ease their transformation into computer system concepts.In the late 1960s it was recognized that a combination of both forces-software design technology and advances in programming languages-may be possible. The resulting language construct was a class. A class implements the concepts of abstraction, modularization, and data hiding, It does so by grouping a user-defined type with all procedures and functions that can be applied to it. Classes allow inheritance. The concept of inheritance relates to the design concept of stepwise refinement and also allows the reuse of existing code and data structures in a class.The engineering of a class concept represents a step to software technology similar to the development of an integrated circuit (IC) to hardware. As new hardware systems can be built by using (or modifying) off-the-shelf ICs, it is now possible to build software systems by reusing (or extending) off-the-shelf classes. "Class" is the central concept in object-oriented programming. Object-oriented programming promises to significantly narrow the semantic gap.Some of the benefits and flexibility of object-oriented programming stem from this separation of function invocation and implementation. The invocation of a functionality is termed "the sending of a message to an object." The execution of its implementation is termed "the receiver of the message executes the corresponding method." The separation of message and method greatly adds to the flexibility possible in an object-oriented program. In our example messages are sent to the plane objects. Each plane object receives a message and executes its desired behavior. In effect, our program "computes" by sending messages to all participating objects. In general, we can observe an object-oriented program as a collection of objects that communicate by sending messages.7.3 Visual C++ and MFC Basics7.3.1. IntroductionThe earliest implementation of the C and C++ language from Microsoft used to be called Microsoft C/C++. When graphical programming started to be considered, Microsoft released Visual C++ 1.0 which allowed performing application programming for the Microsoft Windows operating system. With the releases of Microsoft Windows 3.X versions, the operating system wasusing a library referred to as Win16 that contained all necessary functions, structures, and constants used to create graphical user interface (GUI) application. This library made it a little easier to "talk" to the operating system and create fairly good looking applications.After a while, Microsoft released Windows 95 followed by Windows 98. The operating system library was alsoFig.7.2 Visual C++updated to Win32. Win32 was (in fact is) just a library. Like most or all other libraries, it is not a programming language. It is a documentation that allows programmers to know how they can use the library to create applications that can run on a Microsoft Windows-lead computer. Many programmers were interested in creating graphical programs. They had to use Win32, which made it possible only to use C to create programs because Win32 was written in C. With this approach, everything was done manually, including the design and code writing, which was an increasing demanding task, wasting a good deal of time.Win32 was written in C and had no native support for C++. Therefore, Microsoft created a library, named Microsoft Foundation Classes Library, and abbreviated MFC. This library was originally an “adaptation” or customization of Win32, adding object-orientation (classes and inheritance) to it.The MFC is a library and can be used to manually develop programs. To make the use of MFC friendlier, Microsoft developed Microsoft Visual C++. This is a graphical programming environment that allows designing Windows objects and writing code to implement their behavior. As its name indicates, this environment takes C++ as its base language and relies on various libraries to extend it. MSVC supports a large collection of languages including C++ and libraries including Win32, MFC and COM.7.3.2. Getting Started: MS Visual C++ 6.0To start Microsoft Visual C++ in your computer, click on, select Programs, Microsoft Visual Studio 6.0, Microsoft Visual C++ 6.0.You should now see a screen that looks similar to Fig.7.3:Fig.7.3 appearance of Microsoft Visual C++ 6.07.3.3. Creating a ProjectBefore you can begin coding, you must create a new workspace and project. To do so, go to the File menu and select New. You should see a dialog as shown in Fig.7.4. Change the location ofthe project to your user directory, (for example C:\tmp).Fig.7.4 New project dialog7.3.4. Project WizardAfter clicking Ok from the New project dialog window you will be presented with the project creation wizard “Win32 Console Application” dialog window as shown in Fig.7.5: Select anempty project and click Finish.Fig.7.5 Win32 Console Application dialog7.3.5. New Project InformationAfter clicking Finish from the “Win32 Console Application” dialog window a New Project Information window shown in Fig.7.6 will simply explain no files were automatically generated. Click Ok to continue.Fig.7.6 New Project Information window7.4 The Java LanguageFig.7.7 Java Fig.7.8 James Gosling Fig.7.9 uke 7.4.1. IntroductionFirst released in mid-1995, Java is a relatively young language, yet in this short period it has achieved popularity and widespread acceptance. Developed by Sun Microsystems, Java was designed to be a powerful, full-featured, objected-oriented development language that was easy to learn and use on any computing platform. In addition, Java was designed to support the development of applications for networked environments.Java’s power comes, in part, from its large, useful library of classes containing hundreds of prewritten classes. These classes provide methods to accomplish tasks ranging from simple number formatting to establishing network connections and accessing relational databases.7.4.2. Java is objected-oriented, simplicity and portabilityJava is objected-oriented, which means it implements the OO concepts such as class, instance, method, attribute, encapsulation, inheritance, and polymorphism. By adopting the OO model, Java encourages good software design that can dramatically reduce debugging and maintenance chores. Java’s simplicity is achieved by using a set of keywords that is smaller than in most other languages. Keywords have special meaning in a programming language and are used in writing statements. Languages such as COBOL and Visual Basic have hundreds of keywords, but Java has only 48 which are listed in Table 7-1. Note that const and goto are not currently used.Java’s portability means that programs can be written and compiled once and then run on many different processors and operating systems. Portability is important for Internet applications because Java programs, called Applets, are often downloaded from a server to a client system for execution. The downloaded code must be able to run on a variety of computing platforms without recompiling. If you access the World Wide Web, you have almost certainly downloaded and executed Java Applets, although you probably did not notice.Java’s portability is achieved by using bytecode and an interpreter. Bytecode is produced when you compile a Java program. Java bytecode then executes under the control of an interpreter designed specifically for each type of computing platform. This interpreter is called theJavaVirtual Machine (JVM). The combination of bytecode and a JVM means that you can write a Java program without knowing what type of computing platform it will be using. For example, you can write the program on a Microsoft Windows system, but then have it execute on a Sun workstation using the UNIX operating system.Table 7-1 Java KeywordsNew Words and Expressionsevolution n. 发展,演变primitive 原始的,appropriating 适当的interpreter 解释程序compiler 编译器intermediary 中间的invoke 调用premium 额外费用,奖金cryptic 秘密(含义模糊)的esoteric 深奥的prompt n.提示符object-oriented 面向对象的ongoing adj. 正在进行中的crisis n. 危机exploit v. 开发,使用raw adj. 天然的,原始的medium n. 媒介,方法match 相称,匹配discrete adj. 单个的,离散的transistor n. 晶体管resistor n. 电阻capacitor n. 电容integration 集成电路abstraction n. 抽象化class n. 类inheritance n. 继承encapsulation n. 封装polymorphism n. 多型entity n. 实例,实体instance [ ✋⏹♦♦☜⏹♦] n.实例method [ ❍♏☜♎] n.方法attribute [☜♦❒✋♌◆♦] n.属性execution [♏♦✋◆☞☎☜✆⏹] n.执行,完成keyword [ ♓♦♎] n.关键字platform [ ☐●✌♦♐❍] n.平台interpreter [✋⏹♦☐❒✋♦☜☎❒✆] n.解释器,解释程序constant [ ⏹♦♦☜⏹♦]n.常数application [✌☐●✋♏✋☞☎☜✆⏹] n.应用程序manually [ ❍✌⏹☺☜●✋]adv.手工地class [ ●♦]n.类inheritance [✋⏹♒♏❒✋♦☎☜✆⏹♦] n.继承,继承性Abbreviations :OOP ( Object-Oriented Programming) 面向对象的编程技术IC (integrated circuits) 集成电路LSI(large-scale integration)大规模集成电路VLSI(very large-scale integration)超大规模集成电路Phrases and Expressionsgraphical programming 图形化编程graphical user interface 图形化用户界面library of class 类库prewritten class 先写好的类,预定义好的类Exercises1.Fill in the blanks according to the text:(1) _________ was written in C and had no native support for C++.(2) To make the use of MFC friendlier, Microsoft developed __________.(1) __________is achieved by using a set of keywords that is smaller than in most other languages.(2) __________means that programs can be written and compiled once and then run on many different processors and operating systems.(3) Java’s portability is achieved by using bytecode and an __________.2.Translate the following terms or phrases from English into Chinese and vice versa:(1) graphical programming (6) 本地支持(2) graphical user interface (7) 图形化编程环境(3) command line (8) 操作系统(4) software design (9) 网络连接(5) computing platform (10) 关系数据库参考译文:第七单元编程语言7.1 计算机语言自从第一代电子计算机在第二次世界大战中用于自动计算以来,计算机语言已发生了巨大的变化。

思科 cisco 课后习题答案

思科 cisco 课后习题答案
在网络园区中接入层通常由lan交换设备组成这些设备的端口可用于连接工作站和服在wan环境中接入层让远程工作人员或远程站点能够使用wan技术访问公司网络
附录
检查你的理解和较难的问题和 练习答案
第1章
检查你的理解
1.B、C、E 以太网交换机和转发器通常用于 LAN 中。路由器可视为 LAN 设备和 WAN 设备, 用于在公司网络内部路由分组、将分组路由到 ISP 以及在自主系统之间路由分组。接入服务器集中拨 入和拨出的用户通信,它可能有模拟和数字接口,可支持数百名用户同时连接到提供商的 WAN。 2.D 3. 电路交换:D 分组交换:C 面向连接的分组交换:B 无连接的分组交换:A 4. 城域以太网:A X.25:D ATM:B 帧中继:C 5.C DTE 通过 WAN 传输来自客户网络或主机计算机的数据。DTE 通过 DCE 连接到本地环路。 路由器是一种 DTE 设备,它使用 CSU/DSU(DCE 设备)连接到 WAN。 6.E 租用线是一种专用的点到点链路,通常是向运营商租用的。 7.DLCI 唯一地标识了帧中继虚电路,这确保 DTE 设备之间能够进行双向通信。 8.异步传输模式(ATM)技术可通过私有和公共网络传输语音、视频和数据,它是建立在基于 信元的架构而不是基于帧的架构的基础之上的。 9.C 10.B 11.C 12.E 13.C 14.C 15.C Cisco 企业分支机构架构让能够将园区网中的应用程序和服务延伸到各种远程位置和用户, 接入层用于将用户连接到网络,这层通常使用第 2 层和第 3 层交换机。 在北美,ISDN PRI 包含 23 个 64kbit/s 的 B 信道和 1 个 64kbit/s 的 D 信道,总比特率高 VPN 使用隧道通过公共网络(如 Internet)在两个私有网络之间安全地传输数据。 分布层将工作组放在不同的网段中,从而隔离子网或 VLAN 中的网络问题。VLAN 之间 本地环路将用户驻地的 CPE 连接到服务提供商的 CO,有时也被称为“最后一公里” 。 企业远程工作人员架构让雇员能够远程(通常是从家里)连接到网络。 而不管其规模和位置如何。 核心层也称为网络主干,设计用于尽可能快地交换分组。

思科网络第二学期Final考试及答案

思科网络第二学期Final考试及答案

思科网络第二学期Final考试及答案思科网络第二学期Final考试及答案1.请参见图示。

对于发往 192.168.2.0的数据包,R2会采取什么操作?它会丢弃数据包。

2.请参见图示。

R1会使用哪一总结地址来向 R2通告其网络?192.168.0.0/223.请参见图示。

尽管R2已配置正确,但主机A还是无法访问Internet。

可以在R1上配置哪两条可让主机A访问Internet的静态路由?(选择两项。

ip route 0.0.0.0 0.0.0.0 Fa0/1ip route 0.0.0.0 0.0.0.0 10.1.1.24.请参见图示。

网络管理员已按图示配置了R1,并且所有接口都运作正常。

但从R1 ping 172.16.1.1时失败。

造成此问题的原因可能是什么?默认路由配置有误。

5.请参见图示。

所有接口都已编址,并且运行正常。

网络管理员在主机A上运行了tracert命令。

得到这种输出的原因可能是什么?(选择两项。

)R2的路由表中缺少 192.168.1.0/24的条目。

R1的路由表中缺少 192.168.2.0/24的条目。

6.请参见图示。

从主机 A到主机 B的 ping成功,但从主机 A ping 在Internet上正常运行的主机却失败了。

此问题的原因是什么?未在这两台路由器上配置路由协议。

7.网络管理员使用 RIP路由协议在一个自治系统内实施路由。

下列哪两项是该协议的特征?(选择两项。

使用贝尔曼-福特算法确定最佳路径。

定期将完整的路由表发送给所有连接的设备。

8.请参见图示。

两台路由器无法建立相邻关系。

此问题的原因可能是什么?这两台路由器上的 hello间隔和 dead间隔不同9.在两台路由器能够使用 OSPF形成邻居邻接关系之前必须完成哪两项任务?(选择两项。

)路由器必须在网络类型方面达成一致。

路由器必须使用相同的 dead时间间隔。

10.下列关于链路状态路由协议的陈述,哪两项是正确的?(选择两项。

第七章课后习题参考答案

第七章课后习题参考答案

2.试简单说明下列协议的作用:I P、A R P、R A R P和I C M P。

答:IP协议:实现网络互连。

使参与互连的性能各异的网络从用户看起来好像是一个统一的网络。

ARP协议:完成IP地址到MAC地址的映射。

RARP:使只知道自己硬件地址的主机能够知道其IP地址。

ICMP:允许主机或路由器报告差错情况和提供有关异常情况的报告。

5. 试说明IP 地址与硬件地址的区别。

为什么要使用这两种不同的地址?答:IP地址在IP数据报的首部,而硬件地址则放在MAC帧的首部。

在网络层以上使用的是IP地址,而链路层及以下使用的是硬件地址。

在IP层抽象的互连网上,我们看到的只是IP数据报,路由器根据目的站的IP地址进行选路。

在具体的物理网络的链路层,我们看到的只是 MAC 帧,IP 数据报被封装在 MAC 帧里面。

MAC帧在不同的网络上传送时,其MAC帧的首部是不同的。

这种变化,在上面的IP层上是看不到的。

每个路由器都有IP地址和硬件地址。

使用IP地址与硬件地址,尽管连接在一起的网络的硬件地址体系各不相同,但IP层抽象的互连网却屏蔽了下层这些很复杂的细节,并使我们能够使用统一的、抽象的IP地址进行通信。

6.(1)子网掩码为255.255.255.0代表什么意思?(2)一网络的子网掩码为255.255.255.248,问该网络能够连接多少台主机?(1)一A类网络和一B类网络的子网号subnet-id分别为16bit的8bit,问这两个网络的子网掩码有何不同?(2)一个B类地址的子网掩码是255.255.240.0。

试问在其中每一个子网上的主机数最多是多少?(3)一个A类地址的子网掩码为255.255.0.255。

它是否为一个有效的子网掩码?(4)某个IP地址的十六进制表示是C22F1481,试将其转换为点分十进制的形式.这个地址是哪一类IP地址? (5)C类网络使用子网掩码有无实际意义?为什么?答:(1)C类地址对应的子网掩码值。

最新思科第二学期第七章答案

最新思科第二学期第七章答案

1.请参见图示。

如果所有路由器都运行RIP 第2 版,为什么没有192.168.1.32/27 网络的路由?Rip 第2 版不会在更新中发送子网掩码。

路由器A 并未将RIP 设置为路由协议。

Rip 第2 版默认将自动总结路由。

路由器B 未设置为通告192.168.1.64/30 网络2.请参见图示。

下列哪个路由器上的哪条命令可让Router1 获知192.168.0.0/20 网络?Router1(config)# ip classlessRouter1(config-router)# no passive-interface serial 0/1/1Router2(config-router)#version 2Router2(config-router)# neighbor 10.0.0.23.哪两项是选择实施RIP 第2 版而不是RIP 第1 版的原因?(选择两项。

)RIP 第2 版支持VLSM。

RIP 第2 版支持16 台以上的路由器。

RIP 第2 版支持有类(而不是无类)路由。

RIP 第2 版支持路由更新验证。

RIP 第2 版支持多区域。

RIP 第2 版使用Dijkstra 算法而不是贝尔曼-福特算法4.RIP v1 和RIP v2 的相似点有哪些?(选择三项。

)两者都使用跳数作为度量。

两者对无穷距离使用相同的度量值。

两者都向邻居广播其更新。

两者都在更新中发送子网掩码信息。

两者都对更新来源进行身份验证。

两者都使用水平分割来防止路由环路5.请参见图示。

路由器East 和West 被配置为使用RIPv1。

两台路由器都会发送有关其直连路由的更新。

East 路由器可以ping 通West 路由器的串行接口,West 可以ping 通East 的串行接口。

但是,两台路由器都无法从对方动态获知路由。

最可能的原因是什么?需要配置最后选用网关。

子网划分不受RIPv1 支持。

VLSM 不受RIPv1 支持。

第七章 访问控制列表练习题参考答案

《网络互联技术》练习题第七章:访问控制列表参考答案一、填空题1、_访问控制列表_是用于控制和过滤通过路由器的不同接口去往不同方向的信息流的一种机制。

2、访问控制列表主要分为_标准访问控制列表_和扩展访问控制列表。

3、访问控制列表最基本的功能是_数据包过滤_。

4、标准访问控制列表的列表号范围是_1-99_。

5、将 66 号列表应用到fastethernet 0/0接口的in方向上去,其命令是_ip access-group 66 in 。

5、定义 77 号列表,只禁止192.168.5.0网络的访问,其命令是_access-list 77 deny 192.168.5.0 0.0.0.255;access-list 77 permit any_。

6、基于时间的访问控制列表,定义时间范围的关键字主要有两个,它们是_absolute_和_periodic_。

二、选择题1、标准访问控制列表应被放置的最佳位置是在( B )。

A、越靠近数据包的源越好B、越靠近数据包的目的地越好C、无论放在什么位置都行D、入接口方向的任何位置2、标准访问控制列表的数字标识范围是( B )。

A、1-50B、1-99C、1-100D、1-1993、标准访问控制列表以( B )作为判别条件。

A、数据包的大小B、数据包的源地址C、数据包的端口号D、数据包的目的地址4、IP扩展访问列表的数字标示范围是多少? ( C )。

A、0-99B、1-99C、100-199D、101-2005、下面哪个操作可以使访问控制列表真正生效:( A )。

A、将访问控制列表应用到接口上B、定义扩展访问控制列表C、定义多条访问控制列表的组合D、用access-list命令配置访问控制列表6、以下对思科系列路由器的访问列表设置规则描述不正确的是( B )。

A、一条访问列表可以有多条规则组成B、一个接口只可以应用一条访问列表C、对冲突规则判断的依据是:深度优先D、如果您定义一个访问列表而没有应用到指定接口上,思科路由器默认允许所有数据包通过该接口中。

大二思科考试题库和答案

大二思科考试题库和答案一、单项选择题(每题2分,共20分)1. 思科公司(Cisco)成立于哪一年?A. 1984年B. 1990年C. 1995年D. 2000年答案:A2. 以下哪个协议是用于在IP网络中传输数据的?A. HTTPB. FTPC. TCPD. IP答案:D3. 在OSI模型中,哪一层负责建立、维护和终止通信会话?A. 应用层B. 传输层C. 会话层D. 网络层答案:C4. 以下哪个设备不是网络交换机?A. Layer 2 SwitchB. Layer 3 SwitchC. RouterD. Hub答案:D5. 以下哪个命令用于在Cisco设备上显示当前配置?A. show running-configB. show startup-configC. show interfaceD. show ip interface brief答案:A6. 在Cisco设备上,哪个命令用于保存当前的配置到启动配置文件?A. copy running-config startup-configB. copy startup-config running-configC. save running-configD. write memory答案:A7. 以下哪个命令用于在Cisco设备上创建一个新的VLAN?A. vlan databaseB. configure terminalC. enableD. show vlan答案:A8. 以下哪个命令用于在Cisco设备上将接口配置为Trunk模式?A. switchport mode accessB. switchport mode dynamicC. switchport mode trunkD. switchport mode static答案:C9. 以下哪个协议用于在IP网络中自动分配IP地址?A. DHCPB. DNSC. FTPD. HTTP答案:A10. 在Cisco设备上,哪个命令用于查看设备的接口状态?A. show interfacesB. show ip interface briefC. show running-configD. show vlan答案:B二、多项选择题(每题3分,共15分)11. 以下哪些协议属于TCP/IP模型的应用层协议?A. HTTPB. FTPC. SNMPD. IP答案:A, B, C12. 在Cisco设备上,以下哪些命令用于配置接口?A. interfaceB. ip addressC. no shutdownD. enable答案:A, B, C13. 以下哪些设备可以作为网络的核心设备?A. SwitchB. RouterC. FirewallD. Hub答案:A, B14. 以下哪些命令用于在Cisco设备上查看网络信息?A. show ip routeB. show running-configC. show interfaceD. ping答案:A, C, D15. 以下哪些因素可以影响网络的性能?A. 带宽B. 延迟C. 丢包率D. 网络拓扑结构答案:A, B, C, D三、填空题(每题2分,共20分)16. 在Cisco设备上,使用________命令可以进入特权模式。

CISCO第二学期期末考试-答案

客户向ISP 技术人员反映连通性问题。

技术人员就相关问题询问客户之后,发现除了FTP 外,所有网络应用程序都正常。

技术人员怀疑出现了什么问题?防火墙配置有误/交换机或集线器端口损坏客户工作站上的IP 地址配置有误客户工作站上的DNS 服务器配置有误客户工作站上的默认网关配置有误请参见图示。

对于图中所示的数据会话,下列哪两项描述正确?(选择两项。

)数据会话由客户端所运行的HTTP 应用程序进程启动。

/数据会话由客户端的TCP 端口80 标识。

用户通过发送电子邮件启动数据会话。

Internet 服务器的IP 地址是192.168.17.43。

Internet 服务器将把数据发送至客户端端口8547。

/端口过滤和访问列表通过什么方式来增强网络安全?防止特定类型的通信到达特定网络主机。

/遭受各类拒绝服务攻击时提醒网络管理员。

防止病毒、蠕虫和特洛伊木马感染主机计算机和服务器。

可对机密数据通信进行加密和身份认证。

某黑客尝试获取存储在公司网络内部某台服务器上的机密信息。

网络安全解决方案检测完整的数据包,确定这是一个威胁,所以阻止该数据包进入内部网络。

这一过程中哪项安全措施保护了网络?IDSIPS /基于主机的防火墙Anti-X 软件192.168.17.111/28 属于哪一类地址?主机地址网络地址广播地址 /组播地址在图中所示的其中一台路由器上执行 show ip route 命令,显示下列输出:C 192.168.4.0/24 is directly connected, Serial0/0R 192.168.5.0/24 [120/1] via 192.168.4.2, 00:00:19, Serial0/0R 192.168.1.0/24 [120/2] via 192.168.3.1, 00:00:20, Serial0/1 R 192.168.2.0/24 [120/2] via 192.168.3.1, 00:00:20, Serial0/1C 192.168.3.0/24 is directly connected, Serial0/1此命令是从哪一台路由器执行的?ABC /D请参见图示。

思科第二学期答案1-4章

思科第二学期答案1-4章(总10页)--本页仅作为文档封面,使用时请直接删除即可----内页可以根据需求调整合适字体及大小--第一章路由和数据包转发介绍1.哪两项说法正确描述了路由器的组件(选择两项)(B、D)A.RAM 永久存储着在启动过程中使用的配置文件 B.ROM 含有硬件模块所执行的诊断程序C.NVRAM 存储着在启动过程中使用的 IOS 的备份副本 D.重新启动时闪存中的内容不会丢失E.ROM 包含最新而且最完整的 IOS 版本 F.闪存包含用于标识 IOS 位置的启动系统命令2.图中的哪些接口可用于租用线路 WAN 连接(选择两项)(A、D)A.1B.2C.3D.4E.5F.63.如果路由器在启动时无法找到有效的配置文件,将发生什么情况(B)A.启动过程将重置 B.路由器将提示用户进行响应,以进入设置模式 C.启动过程将停止,直到获得有效的配置文件D.路由器将根据上次的有效配置生成默认配置文件 E.路由器将监控本地流量,以确定路由协议配置要求4.以下哪一项正确描述了路由器启动时的顺序(A)A.加载 bootstrap、加载 IOS、应用配置 B.加载 bootstrap、应用配置、加载 IOSC.加载 IOS、加载 bootstrap、应用配置、检查硬件 D.检查硬件、应用配置、加载 bootstrap、加载 IOS5.加载配置文件时的默认顺序是怎样的(C)A.NVRAM、FLASH、ROM B.FLASH、TFTP、CONSOLE C.NVRAM、TFTP、CONSOLE D.FLASH、TFTP、ROM6.在启动过程中,路由器可以从哪些位置加载 Cisco IOS(选择两项)(B、E)A.RAM B.TFTP 服务器 C.NVRAM D.设置例程 E.闪存 F.终端7.下列哪些是路由器的功能(选择三项)(A、C、D)A.分组交换 B.网段扩展 C.广播域分段 D.根据逻辑编址选择最佳路径 E.根据物理编址选择最佳路径8.当路由器收到从一个网络发往另一个网络的数据包时,它会执行哪三个过程(选择三项)(A、D、E)A.通过解开第 2 层帧报头来解封第 3 层数据包 B.通过 IP 报头中的目的 MAC 地址在路由表中查找下一跳地址C.解封第 3 层数据包时将第 2 层帧报头保持原样 D.通过 IP 报头中的目的 IP 地址在路由表中查找下一跳地址E.将第 3 层数据包封装成新的第 2 层帧,并将该帧从送出接口转发出去F.将第 3 层数据包封装成特殊的第 1 层帧,并将该帧转发到送出接口9.网络管理员需要通过路由器的 FastEthernet 端口直接连接两台路由器。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
相关文档
最新文档