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
查看路由:
查看邻居:
文章来源:https://www.toymoban.com/news/detail-776546.html
ping测试
文章来源地址https://www.toymoban.com/news/detail-776546.html
到了这里,关于华为hcia之ipv6实验手册的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!