Router路由器
Router工作在传输层。()
配置Router的IP地址是在全局模式。()
在路由器中,登录Router时“Router#”显示说明了Router现在处在()模式下。
A:全局配置模式 B:用户配置模式 C:特权配置模式 D:普通配置模式
网络配置如下图所示,为路由器Router1配置访问网络1和网络2的命令是(28)。路由配置完成后,在Router1的(29)可以查看路由,查看路由采用的命令是(30)。
29()
A:仅Router1#模式下 B:Router1>或Router11#模式下 C:Router1(config)#模式下 D:Router1(config-if)#模式下
【问题2】
下面是路由器Router1的配置命令列表,请为(6)~(10)空缺处填写合适的命令/参数,实现Router1的正确配置。
Router>enable
Router# config terminal
Router (config) # hostname Router1
Router1 (config) # interface ethernet 0
Router1 (config-if) # ip address (6)
Router1 (config-if) # no shutdown
Router1 (config-if) # (7)
Router1 (config-if) # ip address (8)
Router1 (config-if) # no shutdown
Router1 (config-if) # exit
Router1 (config) # ip routing
Router1 (config) # router ospf 100
Router1 (config-router) # (9)
Router1 (config-router) # (10)
Router1 (config-router) # ip ospf message-digest-key 1 md 5 wg_gcz
Router1 (config-router) # area 0 authentication message-digest
Router1 (config-if) # end
Router1 # Copy run start
(6) 192.1.0.129 255.255.255.192 (7) interface serial 0
(8) 192.200.10.5 255.255.255.252 (9) network 192.200.10.4 0.0.0.3 area 0
(10) network 192.1.0.128 0.0.0.63 area 1
【问题3】
下面是路由器Router2的配置命令列表,请在(11)~(13)空白处填写合适的命令/参数,实现Router1与Router2在区域0上进行基于MD5算法的身份验证功能的正确配置。
Router2 (config) # interface ethernet 0
Router2 (config-if) # (11)
Router2 (config-if) # no shutdown
Router2 (config-if) # exit
Router2 (config) # interface serial 0
Router2 (config-if) # ip address 192.200.10.6 255.255.255.252
Router2 (config-if) # no shutdown
Router2 (config-if) # exit
Router2 (config) # ip routing
Router2 (config) # router ospf 200
Router2 (config-router) # network 192.200.10.4 0.0.0.3 area 0
Router2 (config-router) # network 192.1.0.64 0.0.0.63 area 2
(12)
(13)
(11) ip address 192.1.0.65 255.255.255.192
(12) Router2 (config-router) ip ospf message-digest-key 1 md5 wg_gcz
(13) Router2 (config-router) area 0 authentication message-digest
We have already covered the topic of network addresses. The first (1) in a block (in class A, B, and C) defines the network address. In classes A, B, and C, if the hosted is all 1 s, the addressis called a direct broadcast address. It is used by a (2)to send a packet to all hosts in a specificnetwork. All hosts will accept a packet having this type of destination address. Note that thisaddress can be used only as a (3) address in an IP packet. Note also that this special addressalso reduces the number if available hosted for each netid in classes A, B, and C.
In classes A, B, and C, an address with all 1 s for the netid and hosted (32 bits) define a (4) address in the current network. A host that wants to send a message to every other hosts can use this address as destinationaddress in an IP packet. However, a router will block a packet having this type of address to confine thebroadcasting to the (5) network. Note that this address belongs to class E.
(2)是()
A:router B:switch C:hub D:firewall
如果不想公布网络中的某些RIP信息,可以采用被动接口配置。将路由器Router A的FastEthemet0/0接口设置为被动接口的配置语句是( )。
A:RouterA (Config-if) # passive-interface B:RouterA (Config-if) # passive-interface rip C:RouterA (Config) # passive-interface fastethernet0/0 D:RouterA (Config-router) # passive-interface fastethernet0/0
Which OSI layer does a Router operate at
A:the Physical Layer B:the Data Link Layer C:the Transfer Layer D:the Network Layer