MSR路由器IPv6孤岛通过GRE隧道互连功能的配置
关键词:MSR;IPv6;GRE;隧道
一、组网需求:
IPv6网络通过GRE隧道实现穿越IPv4网络互通。IPv4网络运行OSPF实现互通,IPv6网络运行静态路由实现互联。
设备清单:PC两台、MSR路由器3台
二、组网图:
三、配置步骤:
适用设备和版本:MSR、Version 5.20, Beta 1105后所有版本。
RTA配置:
#
ipv6
#
interface Ethernet0/0
port link-mode route
ipv6 address 1::1/64
#
interface Ethernet0/1
port link-mode route
ip address 1.1.1.1 255.255.255.0
#
interface Tunnel0
ipv6 address 3::1/64
source 1.1.1.1
destination 2.2.2.2
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
#
ipv6 route-static 2:: 64 Tunnel0
#
RTB配置:
interface Ethernet0/0
port link-mode route
ip address 1.1.1.2 255.255.255.0
#
interface Ethernet0/1
port link-mode route
ip address 2.2.2.1 255.255.255.0
#
ospf 1
area 0.0.0.0
network 1.1.1.0 0.0.0.255
network 2.2.2.0 0.0.0.255
#
RTC配置:
#
ipv6
#
interface Ethernet0/0
port link-mode route
ip address 2.2.2.2 255.255.255.0
#
interface Ethernet0/1
port link-mode route
ipv6 address 2::1/64
#
interface Tunnel0
ipv6 address 3::2/64
source 2.2.2.2
destination 1.1.1.1
#
ospf 1
area 0.0.0.0
network 2.2.2.0 0.0.0.255
#
ipv6 route-static 1:: 64 Tunnel0
#
四、配置关键点:
首先保证隧道的源和目的的连通性。
默认隧道的封装模式是GRE,所以可以不需要指定隧道协议类型。
五、实验分析
无
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作