6to4隧道(华为eNSP)

您所在的位置:网站首页 华为ensp使用客户机测试IPv6连通性 6to4隧道(华为eNSP)

6to4隧道(华为eNSP)

2023-06-27 03:34| 来源: 网络整理| 查看: 265

1、拓扑如下:

 ipv4地址:1.1.1.1 对应 2002:101:101:ffff::1中0101:0101

2、路由器配置

(1)R1配置

interface GigabitEthernet0/0/0  ip address 10.0.13.1 255.255.255.0  # interface LoopBack0  ip address 1.1.1.1 255.255.255.255  # interface LoopBack1  ipv6 enable   ipv6 address 2002:101:101:FFFF::1/64  # interface Tunnel0/0/0  ipv6 enable   ipv6 address 2001:13::1/64   tunnel-protocol ipv6-ipv4 6to4  source 1.1.1.1 # ospf 1 router-id 1.1.1.1   area 0.0.0.0    network 1.1.1.1 0.0.0.0    network 10.0.13.1 0.0.0.0  # ipv6 route-static 2002:: 16 Tunnel0/0/0

(2)R2配置

interface GigabitEthernet0/0/0  ip address 10.0.13.2 255.255.255.0  # interface LoopBack0  ip address 2.2.2.2 255.255.255.255  # interface LoopBack1  ipv6 enable   ipv6 address 2002:202:202:FFFF::2/64  # interface Tunnel0/0/0  ipv6 enable   ipv6 address 2001:13::2/64   tunnel-protocol ipv6-ipv4 6to4  source 2.2.2.2 # ospf 1 router-id 2.2.2.2   area 0.0.0.0    network 2.2.2.2 0.0.0.0    network 10.0.13.2 0.0.0.0  # ipv6 route-static 2002:: 16 Tunnel0/0/0

(3)R3配置

interface GigabitEthernet0/0/0  ip address 10.0.13.3 255.255.255.0  # interface LoopBack0  ip address 3.3.3.3 255.255.255.255  # interface LoopBack1  ipv6 enable   ipv6 address 2002:303:303:FFFF::3/64  # interface Tunnel0/0/0  ipv6 enable   ipv6 address 2001:13::3/64   tunnel-protocol ipv6-ipv4 6to4  source 3.3.3.3 # ospf 1 router-id 3.3.3.3   area 0.0.0.0    network 3.3.3.3 0.0.0.0    network 10.0.13.3 0.0.0.0  # ipv6 route-static 2002:: 16 Tunnel0/0/0

3、实验结果

 

 SLA:65535 对应 2002:202:202:ffff::2中的 ffff

 

 

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3