阅读以下说明,回答问题1至问题3。 【说明】Linux环境下L2TP的配置过程如下: ①从http://www.12tpd.org/download.html上下载12tpd-0.69.tar.gz软件包。 ②将12tpd-0.69.tar.gz拷到你所希望的安装目录下(比如:/tmp/目录)。 ③解压安装包: tar-xvzf l2tpd-0.69.tar.gz/*此时会生成一个l2tpd-0.69文件包*/ ④编译: make/*当前目录是/tmp/l2tpd-0.69*/ 执行完此命令后,将会在在/tmp/l2tpd-0.69下生成可执行文件l2tpd。 ⑤创建L2TPD的配置文件: mkdir/etc/l2tp cp/tmp/l2tpd-0.69/l2tpd.conf.sample/etc/l2tp/l2tpd.conf cp/tmp/l2tpd-0.69/l2tp-secrets.sample/etc/l2tp/l2tp-secrets cp/etc/ppp/options/etc/ppp/options.l2tp 其中/etc/l2tp/l2tpd.conf配置文件的内容如下: [global] port=1701 auth file=/etc/ppp/chap-secrets [lns vpnserver] exclusive = yes ip range=192.168.254.202-192.168.254.210 lac=0.0.0.0-255.255.255.255 local ip=192.168.10.1 length bit=yes require chap = yes require authentication = yes name = vpnserver PPP debug = yes pppoptfile = /ete/ppp/options.l2tp
问答题 用户账号的配置文件采用什么验证方法?
【正确答案】正确答案:利用PPP的chap认证方法
【答案解析】
问答题 每个主机允许多少隧道?
【正确答案】正确答案:只能1个
【答案解析】
问答题 分配给远端用户的IP范围是什么?
【正确答案】正确答案:192.168.254.202~192.168.254.210
【答案解析】
问答题 可接入的lac的范围是什么?
【正确答案】正确答案:不限制范围(或)0.0.0.0~255.255.255.255
【答案解析】
问答题 本地主机名是什么?IP地址是什么?
【正确答案】正确答案:vpnserver
【答案解析】
问答题 L2TP绑定端口是什么?
【正确答案】正确答案:1701
【答案解析】