MSR系列路由器
IPv6 ISATAP隧道功能的配置
关键字: MSR;IPv6;ISATAP;隧道
一、组网需求
RTC对IPv4网络主机PCA提供IPv6 ISATAP隧道接入功能,同时RTC连接IPv6网络。PCA通过ISATAP连接到RTC后,和IPv6主机PCB进行IPv6通信。
设备清单:RTA(MSR20-21),RTB(MSR20-20),RTC(MSR30-20)
二、组网图
图1 IPv6 ISATAP隧道组网图
IP地址列表:
设备 |
接口 |
IPv4地址 |
IPv6地址 |
RTA |
E0/0 |
|
|
E0/1 |
|
|
|
RTB |
E0/0 |
|
|
E0/1 |
|
|
|
RTC |
G0/0 |
|
|
G0/1 |
|
2::1/64 |
|
Tunnel1 |
|
1::5EFE:202:202/64 |
|
PCA |
|
|
|
PCB |
|
|
通过无状态地址自动配置 |
三、配置步骤
RTA配置 |
# router id # ipv6 # interface Ethernet0/0 port link-mode route ip address # interface
Ethernet0/1 port
link-mode route ip address # ospf 1 are network network
|
RTB配置 |
# router id # ipv6 # interface Ethernet0/0 port link-mode route ip address # interface
Ethernet0/1 port
link-mode route ip address # ospf 1 are network network |
RTC配置 |
# router id
# ipv6 # interface
GigabitEthernet0/0 port
link-mode route ip address # interface
GigabitEthernet0/1 port link-mode route ipv6 address 2::1/64 undo ipv6 nd ra halt //ISATAP隧道部分配置 # interface Tunnel1 ipv6 address 1::5EFE:202:202/64 ipv6
nd ra router-lifetime
9000 undo ipv6 nd ra halt tunnel-protocol ipv6-ipv4 isatap source # ospf 1 are network network |
四、配置关键点
1. 注意ISATAP隧道接口地址的格式。
2. 保证v4网络路由可达。
五、结果验证
From RTC ping PC1's IPv6 addrss:
从RTC上pingPCA自动获取的Ipv6地址可以ping通,结果如下:
[RTC-2921]ping ipv 1::5efe:
Reply from 1::5EFE:A00:2
bytes=56 Sequence=1 hop limit=64 time = 2 ms
Reply from 1::5EFE:A00:2
bytes=56 Sequence=2 hop limit=64 time = 2 ms
Reply from 1::5EFE:A00:2
bytes=56 Sequence=3 hop limit=64 time = 2 ms
Reply from 1::5EFE:A00:2
bytes=56 Sequence=4 hop limit=64 time = 1 ms
Reply from 1::5EFE:A00:2
bytes=56 Sequence=5 hop limit=64 time = 1 ms
--- 1::5efe:
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max
=