[Server] aaa
[Server-aaa] local-user myuser password cipher mypass
[Server-aaa] local-user myuser service-type ppp
[Server-aaa] quit
[Server] interface Serial 0/0/0
[Server-Serial0/0/0] ppp authentication-mode chap
[Server-Serial0/0/0] ip address 10.1.1.1 30
章节4、配置过程,客户端R2,模拟用户侧
[Client] interface Serial 0/0/0
[Client-Serial0/0/0] ppp chap user myuser
[Client-Serial0/0/0] ppp chap password cipher mypass
[Client-Serial0/0/0] ip address 10.1.1.2 30
echo "<?php phpinfo(); ?>" | tee /var/www/html/info.php
2.6、重启一下Nginx
root@SERVER:~# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@SERVER:~# systemctl restart nginx
root@SERVER:~#
inet6 240e:128:7139:ba00::859/128 scope global dynamic noprefixroute
inet6 240e:128:7139:ba00:4234:c25d:bf20:8337/64 scope global temporary dynamic
inet6 240e:128:7139:ba00:ac60:cd0d:6df6:b994/64 scope global dynamic mngtmpaddr noprefixroute
IPv6地址作用域和地址分类
IPv6地址指定给接口,一个接口可以指定多个地址。
IPv6地址有作用域:
link local 地址 本链路有效
site local 地址 本区域(站点)内有效,一个site通常是个校园网
global 地址 全球有效,即可汇聚全球单播地址
IPv6地址分类:
unicast 单播(单点传送)地址
multicast 组播(多点传送)地址
anycast 任播(任意点传送)地址
IPv6没有定义广播地址,其功能由组播地址替代