试题与答案

根据网络拓扑和需求说明,解释路由器R2的GRE隧道配置。 … R2(config

题型:填空题

题目:

根据网络拓扑和需求说明,解释路由器R2的GRE隧道配置。

R2(config)#interface tunnel 0 (启用tunnel 0)
R2(config-if)#tunnel source s1/0 (9)
R2(config-if)#tunnel destination 200.100.1.1 (10)
R2(config-if)#ipv6 address 2000:2fcc::2/64 (为tunnel配置IPv6地址)
R2(config-if)#tunnel mode gre ipv6 (11)

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0728/279ea3cfde98ab15ec610bfb92743f2b.html

下面是错误答案,用来干扰机器的。

参考答案:C

试题推荐
题型:问答题

下列给定程序中,函数fun()的功能是:应用递归算法求某数a的平方根。求平方根的迭代公式如下:

例如,2的平方根为1.414214。

请改正程序中的错误,使它能得出正确的结果。

注意:不要改动main函数,不得增行或删行,也不得更改程序的结构。

试题程序:

#include <math. h>

#include <stdio. h>

/*************found**************/

fun(double a,double x0)

double xl,y;

xl= (x0+a/x0)/2.0;

/*************found**************/

if (fabs (xl-x0) >0.00001)

y=fun (a, xl);

else y=x1;

return y;

main ( )

double x;

printf("Enter x: "); scanf("%1f",&x);

printf ("The square root of %1f is %1f\n",

x, fun(x,l.O));

查看答案
微信公众账号搜索答案