华为hcia之ipv6实验手册
R3:
dhcp enable
ipv6
dhcpv6 pool test
address prefix 2000:23::/64
excluded-address 2000:23::2
dns-server 2000:23::2
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2000:12::2/64
ipv6 address auto link-local
undo ipv6 nd ra halt //无状态配置
interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address 2000:23::2/64
ipv6 address auto link-local
undo ipv6 nd ra halt //dhcpv6不能发布网关,开户RA功能发布网关
ipv6 nd autoconfig managed-address-flag
//让undo ipv6 nd ra halt只发布网关,不给用无状态获取IP和前缀,令其M位置位,用dhcpv6的有状态获取
ipv6 nd autoconfig other-flag
//让undo ipv6 nd ra halt只发布网关,不让它发布其它一些干扰信息(mtu、重传等)
dhcpv6 server test
R4
ipv6
interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address auto link-local
ipv6 address auto global
ipv6 route-static 2000:23:: 64 2000:12::2 //设置静态路由
R5
ipv6
dhcp enable
interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address auto link-local
ipv6 address auto global default //获取默认路由
ipv6 address auto dhcp
查看路由:
查看邻居:
ping测试
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。 如若内容造成侵权/违法违规/事实不符,请联系我的编程经验分享网邮箱:veading@qq.com进行投诉反馈,一经查实,立即删除!