问题 填空题

某单位内部的网络拓扑结构如图1所示,在该网络中采用RIP协议。

以下是路由器R1的部分配置,请补充空白处的内容。

!

R1(config) # interface fastethernet 0

R1(config-if) # ip address ___46___ 255.255.255.0

R1(config-if) # ___47___ 开启端口

!

R1(config) # interface serial 0

R1(config-if) # ip address 192.168.251.1 ___48___

!

R1(config) # ip routing

R1(config) # router rip 进入RIP配置模式

R1(config-router) # network 192.168.1.0 声明网络

R1(config-router) # network 192.168.251.0 声明网络

R1(config-router) # ___49___ 声明网络

R1(config-router) # ___50___ 设置RIP协议版本2

50()

答案

参考答案:verslon 2

解析:

由图可知,路由器R1的E0的地址为192.168.1.1/24,S0的地址为192.168.251.1/24,使用network命令声明网络,分别是192.168.1.0、192.168.251.0、192.168.253.0,所以其配置应如下:

!

R1(config) # interface fasterthernet 0

R1(config-if) # ip address 192.168.1.1 255.255.255.0

R1(config-if) # no shutdown(开启端口)

!

R1(config) # interface setial 0

R1(config-if) # ip address 192.168.251.1 255.255.255.0

!

R1(config) # ip routing

R1(config) # router rip

(进入RIP配置模式)

R1(config-router) # network 192.168.1.0

(声明网络)

R1(config-router) # network 192.168.251.0

(声明网络)

R1(config-router) # network 192.168.253.0

(声明网络)

R1(config-router) # version 2

(设置RIP协议版本2)

填空题
单项选择题