【1】IPV6静态路由协议;
(1)普通静态路由
r1(config)#ipv6 route 2::/64 serial 1/1
r1(config)#ipv6 route 2::/64 12::2
目标网络号 出接口或下一跳
MA网络建议下一跳,点到点网络建议出接口
(2)浮动静态路由--修改默认管理距离
r1(config)#ipv6 route 3::/64 12::2 ?
<1-254> Administrative distance
<cr>
(3)空接口防环
r2(config)#ipv6 route 2::/63 null 0 ----在更新源路由器上,空接口指向汇总地址;
(4)缺省路由
r2(config)#ipv6 route ::/0 12::1
注:带源ping 时,只能使用接口;或者使用扩展追踪;
r3#ping 2::2 source loopback 0
注:由于IPV6存在多宿主,使用接口为源时,默认使用第一地址来访问,建议扩展追踪
r3#traceroute
Protocol [ip]: ipv6
Target IPv6 address: 2::2
Source address: 3::3
【2】RIPNG----使用同RIPV2一样的算法;组播更新地址FF02::9 UDP 521
r1(config)#ipv6 unicast-routing 开启单播路由功能
r1(config)#ipv6 router rip ? 启动协议时需配置进程号,进程号仅具有本地意义
WORD User selected string identifying this process
r1(config)#ipv6 router rip a
r1(config-rtr)#
宣告的含义:1、激活接口 2.路由
r1(config)#interface s1/1
r1(config-if)#ipv6 rip a enable
r1(config-if)#exit
r1(config)#int lo0
r1(config-if)#ipv6 rip a enable
注:IPV6下到所有接口上进行配置
手工汇总:更新源路由器上所有更新发出的接口上进行配置
r1(config)#int s1/1
r1(config-if)#ipv6 rip a summary-address 1::/63
缺省路由:在边界路由器上所有同内网相连的接口上配置,使其向内网所有邻居发出一条缺省信息
r3(config)#int s1/0
r3(config-if)#ipv6 rip a default-information ?
only Advertise only the default route
originate Originate the default route
选择only将发出缺省路由,同时其他的路由不会被转发
选择originate 缺省和明细均发送