IPv6 LAB 静态路由

实验拓扑:

IPv6 route 命令添加静态ipv6路由:
Router(config)# ipv6 unicast-routing  //全局启用IPV6单播路由功能
Router(config)#ipv6 route ipv6-prefix/prefix-length {next-hop|interface} [distance]
在CISCO IOS软件支持中语法为:
Router(config)#ipv6 route ipv6-prefix/prefix-length interface link-local-address [distance]

配置R1和R2:
R1使用网络接口S1/0,通过下跳FE80::CE00:2FF:FEA4:0,可到达目的IPV6网络2001:2:2::/48
r1(config)#ipv6 route 2000::2/128 f0/0.12 2012::2
r2(config)#ipv6 route 2000::1/128 f0/0.12 2012::1

默认路由配置例子:
r2(config)#ipv6 route ::/0 serial 1/0 FE80::CE00:3FF:FE68:0


静态路由配置时要注意:
在IPV6规范中,不推荐使用聚合全球单播或本地站点地址作为下一跳地址,一般使用本地链路地址作为下一跳,但在配置本地地址作为一下跳时,在配置中必须指出路由器上相应的网络接口

发布了309 篇原创文章 · 获赞 2 · 访问量 7353

猜你喜欢

转载自blog.csdn.net/qq_43207781/article/details/105691473
今日推荐