Technical documentation
发布日期:2023-09-22 浏览次数:1326 来源:WOLF-LAB
CCNP培训EI方向企业基础架构IPv6-RIPng-配置演示含实验拓扑
CCNP培训EI方向-实验拓扑:
IPv6的RIP动态路由协议
IPv6的RIP协议与IPv4的RIP当中的大部分特性相同,例如同样是基于UDP,同样没有邻居表,同样每30s的路由通告.但是在也必定存在某些轻微的区别.例如在IPv4当中RIP是基于UDP的520端口,而在IPv6当中则是基于UDP521,例如IPv4当中RIP的组播地址为224.0.0.9.而在IPv6当中为FF02::9,IPv4当中使用出接口地址为源发送RIP更新,在IPv6中使用Link-Local地址为源发送.且在IPv6当中使得接口运行RIPng的方式与IPv4中不同,在IPv4当中都为进程下集中式宣告,而在IPv6当中则是接口下开启.
R1配置:
Router>enable
Router#configure terminal
Router(config)#hostname R1
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 router rip WOLF
R1(config-rtr)#exit
R1(config)#int g0/0
R1(config-if)#no shutdown
R1(config-if)#ipv6 address 2001:12::1/64
R1(config-if)#ipv6 rip WOLF enable
R2配置:
Router>enable
Router#configure terminal
Router(config)#hostname R2
R2(config)#ipv6 unicast-routing
R2(config)#ipv6 router rip WOLF
R2(config-rtr)#exit
R2(config)#int g0/0
R2(config-if)#no shutdown
R2(config-if)#ipv6 address 2001:12::2/64
R2(config-if)#ipv6 rip WOLF enable
R2(config)#int g0/1
R2(config-if)#no shutdown
R2(config-if)#ipv6 address 2001:23::2/64
R2(config-if)#ipv6 rip WOLF enable
R3配置:
IPv6的RIPng协议可以直接在接口下宣告运行,不需要提前创建进程.
Router>enable
Router#configure terminal
Router(config)#hostname R3
R3(config)#ipv6 unicast-routing
R3(config)#int g0/1
R3(config-if)#no shutdown
R3(config-if)#ipv6 address 2001:23::3/64
R3(config-if)#ipv6 rip WOLF enable
R1的RIPng更新消息
R1的RIPng数据库
R1#show ipv6 rip database
RIP process "WOLF", local RIB
2001:12::/64, metric 2
GigabitEthernet0/0/FE80::5200:FF:FE06:0, expires in 178 secs
2001:23::/64, metric 2, installed
GigabitEthernet0/0/FE80::5200:FF:FE06:0, expires in 178 secs
R2的RIPng数据库
R2#show ipv6 rip database
RIP process "WOLF", local RIB
2001:12::/64, metric 2
GigabitEthernet0/0/FE80::5200:FF:FE05:0, expires in 149 secs
2001:23::/64, metric 2
GigabitEthernet0/1/FE80::5200:FF:FE07:1, expires in 147 secs
R3的RIPng数据库
R3#show ipv6 rip database
RIP process "WOLF", local RIB
2001:12::/64, metric 2, installed
GigabitEthernet0/1/FE80::5200:FF:FE06:1, expires in 176 secs
2001:23::/64, metric 2
GigabitEthernet0/1/FE80::5200:FF:FE06:1, expires in 176 secs
R1的IPv6路由表
R1#show ipv6 route
C 2001:12::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:12::1/128 [0/0]
via GigabitEthernet0/0, receive
R 2001:23::/64 [120/2]
via FE80::5200:FF:FE06:0, GigabitEthernet0/0
L FF00::/8 [0/0]
via Null0, receive
R2的IPv6路由表
R2#show ipv6 route
C 2001:12::/64 [0/0]
via GigabitEthernet0/0, directly connected
L 2001:12::2/128 [0/0]
via GigabitEthernet0/0, receive
C 2001:23::/64 [0/0]
via GigabitEthernet0/1, directly connected
L 2001:23::2/128 [0/0]
via GigabitEthernet0/1, receive
L FF00::/8 [0/0]
via Null0, receive
R3的IPv6路由表
R3#show ipv6 route
R 2001:12::/64 [120/2]
via FE80::5200:FF:FE06:1, GigabitEthernet0/1
C 2001:23::/64 [0/0]
via GigabitEthernet0/1, directly connected
L 2001:23::3/128 [0/0]
via GigabitEthernet0/1, receive
L FF00::/8 [0/0]
via Null0, receive
R1访问R3
R1# ping 2001:23::3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:23::3, timeout is 2 seconds:
!!!!!
WOLFLAB官方微信:17316362402
WOLFLAB官方QQ:2569790740
CCNP培训EI方向课程咨询联系WOLF-LAB网络技术实验室