题目详情

某公司有3个分支机构,网络拓扑结构及地址分配如图4-1所示。

中级网络工程师,历年真题,2016年上半年(下午)《网络工程师》案例分析真题

【问题1】(每空1分,共11分)

公司申请到202.111.1.0/29的公有地址段,采用NAPT技术实现公司内部访问互联网的要求,其中,192.168.16.0/22网段禁止访问互联网。R1、R2和R3的基本配置已正确配置完成,其中R1的配置如下。请根据拓扑结构,完成下列配置代码。

R1的基本配置及NAPT配置如下:

R1>enable

R1#config terminal

R1(config)#interface fastenthemet 0/0

R1(config-if)#ip address 192.168.0.1 255.255.255.252

R1(config-if)#no shutdown

Rl(config-if)#exit

R1(config)#interface fastenthemet 0/1

R1(config-if)#ip address 192.168.0.9 255.255.255.252

R1(config-if)#no shutdown

R1(config-if)#exit

R1(config)#interface fastenthernet 0/2

R1(config-if)#ip address(1)255.255.252.0//使用网段中最后一个地址

R1(config-if)#no shutdown

R1(config-if)#exit

R1(config)#interface serial 0

R1(config-if)#ip address 202.111.1.1 255.255.255.248

R1(config-if)#no shutdown

R1(corffig)#ip nat pool ss 202.111.1.1(2)netmask(3)

R1(corffig)#interface(4)fastenthernet 0/0-1

R1(config-if)#ip nat(5)

R1(config-if)#interface serial 0

Rl(config-if)#ip nat(6)

R1(config-if)#exit

R1(config)#access-Iist 1 permit 192.168.0.0(7)

Rl(config)#ip nat inside(8)list(9)pool(10)(11)

【问题2】.(每空2分,共4分)

在R1、R2和R3之间运行OSPF路由协议,其中R1、R2和R3的配置如下。

行号配置代码

1 R1(config)#router ospf 1

2 R1(config-router)#network 192.168.4.0 0.0.3.255 area 0

3 Rl(config-router)#network 192.168.0.0 0.0.0.3 area 0

4 Rl(config-router)#network 192.168.0.8 0.0.0.3 area 0

5 R2>enable

6 R2#config terminal

7 R2(config)#router ospf 2

8 R2(config-router)#netvrork 192.168.8.0 0.0.3.255 area 0

9 R2(config-router)#network 192.168.12.0 0.0.3.255 area 0

1 0 R2(config-router)#network 192.168.0.4 00.0.3 area 0

1 1 R3>enable

1 2 R3#config terminal

1 3 R3(config)#router ospf 3

1 4 R3(config-router)#netvrork 192168.0.8 00.0.3 area 0

1 5 R3(config-router)#network 192.168.0.4 0.0.0.3 area 0

1.配置完成后,在R1和R2上均无法ping通R3的局域网,可能的原因是(12)。

(12)备选答案:

A.在R3上未宣告局域网路由

B.以上配置中第7行和第13行配置错误

C.第1行配置错误

D.R1、R2未宣告直连路由.

2.在OSPF中重分布默认路由的命令是:(13)。

(13)备选答案:

A.Rl#default-informaton originate

B.R1(config-if)#default-information originate

C.R1(config-router)#default-information originate

D.Rl(config)#default-information originate

正确答案及解析

正确答案
解析

【问题1】(每空1分,共11分)

(1)192.168.7.254

(2)202.111.1.6

(3)255.255.255.248

(4)range

(5)inside

(6)outside

(7)0.0.15.255

(8)source

(9)1

(10)ss

(11)overload

【问题2】(每空2分、共4分)

(12)A

(13)C

【问题1】(每空1分,共11分)

(1)在路由器R1的f0/2的接口上配置IP,这个IP和子网192.168.4.0/22处于同一网络,经过计算,算出这个网络最后一个可用的地址是192.168.7.254。

(2)(3)定义合法地址池(全局配置模式):

ip nat pool地址池名称起始IP地址终止IP地址子网掩码

地址池名字是ss,起始IP地址是202.111.1.1,终止IP地址是202.111.1.6(这里是根据公司申请到的地址块202.111.1.0/29最小可用和最大可用算出来的),掩码是255.255.255.248。

(4)range对一组接口配置

(5)ip nat inside//指定与内部网络相连的内部端口

(6)ip nat outside//指定连接外部网络的外部端口

(7)access-list 1 permit 192.168.0.0 0.0.15.255//定义一个标准的访问列表规则,指出允许哪些内部地址可进行动态地址转换,这里主要是

192.168.00001100 00000000(192.168.12.0/22)

192.168.00001000 00000000(192.168.8.0/22)

192.168.00000100 00000000(192.168.4.0/22)

进行汇聚,那么汇聚之后的地址是192.168.0.0/20,那么子网掩码是255.255.240.0,通配符局是0.0.15.255。

(8)(9)(10)ip nat inside source list 1 pool ss overload//在本地地址和合法IP地址间建立复用动态地址转换。

【问题2】(每空2分、共4分)

参考配置,R3路由器并没有宣告192.168.16.0/22,所以别的路由器学习不到这个网络,所以无法ping通。

当两种路由协议(比如OSPF和BGP)跑在同一个网络里时,通常情况下会进行路由重分发,即将各自的学习到的路由注入到彼此的路由协议进程里。

在OSPF中重发布默认路由的命令是:

R1(config)#route ospf 1

R1(config-router)#default-information originate

包含此试题的试卷

你可能感兴趣的试题

单选题

Advancements in ( )have contributed to the growth of the automotive industry through the creation and evolution of self-driving vehicles.

  • A.Artificial Intelligence
  • B.Cloud Computing
  • C.Internet of Things
  • D.Big Data
查看答案
单选题

In project human resource management , ( )is not a source of power for the project manager.

  • A.referent power
  • B.expert power
  • C.reward power
  • D.audit power
查看答案
单选题

At the project establishment stage , the feasibility study mainly includes techinical feasibility analysis , ( ), operation environment feasibility analysis and other aspects of feasibility analysis.

  • A.detail feasibility analysis
  • B.opportunity analysis
  • C.economic feasibility analysis
  • D.risk analysis
查看答案
单选题

( )is a grid that shows the project resources assigned to each work package.

  • A.Stakeholder engagement assessment matrix
  • B.Requirements traceability matrix
  • C.Probability and impact matrix
  • D.Responsibility assignment matrix
查看答案
单选题

Xinhua News Agency reported in January 2022,Chian will further promote the developmet of a digital economy during the 14th Five-Year Plan eriod(2021-2025). The plan also emphasized industrial ( )transformation.

  • A.digital
  • B.networking
  • C.intelligentize
  • D.informatization
查看答案

相关题库更多 +