MSR系列路由器
IPv6隧道技术之GRE隧道功能的配置
关键词:MSR;IPv6;GRE;隧道
一、组网需求:
IPv6网络通过GRE隧道实现穿越IPv4网络互通。IPv4网络运行OSPF实现互通,IPv6网络运行静态路由实现互联。
设备清单:PC两台、MSR系列路由器3台
二、组网图:
三、配置步骤:
RTA配置:
#
ipv6
#
interface
Ethernet0/0
port link-mode route
ipv6 address 1::1/64
#
interface Ethernet0/1
port link-mode
route
ip
address
#
interface Tunnel0
ipv6 address
3::1/64
source
destination
#
ospf 1
are
network
#
ipv6
route-static 2:: 64 Tunnel0
#
RTB配置:
interface
Ethernet0/0
port link-mode route
ip address
#
interface Ethernet0/1
port link-mode
route
ip
address
#
ospf 1
are
network
network
#
RTC配置:
#
ipv6
#
interface
Ethernet0/0
port link-mode route
ip address
#
interface Ethernet0/1
port link-mode
route
ipv6 address
2::1/64
#
interface Tunnel0
ipv6 address 3::2/64
source
destination
#
ospf 1
are
network
#
ipv6 route-static 1:: 64 Tunnel0
#
四、配置关键点:
首先保证隧道的源和目的的连通性。
默认隧道的封装模式是GRE,所以可以不需要指定隧道协议类型。
五、实验分析
无