IPv6手工隧道实验及配置
创始人
2025-05-29 10:43:27

IPv6手工隧道实验及配置

    • 拓扑图
    • 设备配置
      • AR1
      • AR2
      • AR3
      • AR4
      • AR5
    • 实验现象

拓扑图

在这里插入图片描述
其中IPv6区域使用OSPFv3协议进行打通。

设备配置

AR1

ipv6

ospfv3 1
router-id 1.1.1.1

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:12::1/64
ospfv3 1 area 0.0.0.0

interface LoopBack0
ipv6 enable
ipv6 address 1::1/128
ospfv3 1 area 0.0.0.0

AR2

ipv6

ospfv3 1
router-id 2.2.2.2

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:12::2/64
ospfv3 1 area 0.0.0.0

interface GigabitEthernet0/0/1
ip address 23.1.1.2 255.255.255.0

interface LoopBack0
ipv6 enable
ip address 2.2.2.2 255.255.255.255
ipv6 address 2::2/128
ospfv3 1 area 0.0.0.0

interface Tunnel0/0/0
ipv6 enable
ipv6 address 2001:24::2/64
ospfv3 1 area 0.0.0.0
tunnel-protocol gre
source 2.2.2.2
destination 4.4.4.4

ospf 1
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 23.1.1.0 0.0.0.255

AR3

interface GigabitEthernet0/0/0
ip address 23.1.1.3 255.255.255.0

interface GigabitEthernet0/0/1
ip address 34.1.1.3 255.255.255.0

interface LoopBack0
ip address 3.3.3.3 255.255.255.255

ospf 1
area 0.0.0.0
network 3.3.3.3 0.0.0.0
network 23.1.1.0 0.0.0.255
network 34.1.1.0 0.0.0.255

AR4

ipv6

ospfv3 1
router-id 4.4.4.4

interface GigabitEthernet0/0/0
ip address 34.1.1.4 255.255.255.0

interface GigabitEthernet0/0/1
ipv6 enable
ipv6 address 2001:45::4/64
ospfv3 1 area 0.0.0.0

interface LoopBack0
ipv6 enable
ip address 4.4.4.4 255.255.255.255
ipv6 address 4::4/128
ospfv3 1 area 0.0.0.0

interface Tunnel0/0/0
ipv6 enable
ipv6 address 2001:24::4/64
ospfv3 1 area 0.0.0.0
tunnel-protocol gre
source 4.4.4.4
destination 2.2.2.2

ospf 1
area 0.0.0.0
network 4.4.4.4 0.0.0.0
network 34.1.1.0 0.0.0.255

AR5

ipv6

ospfv3 1
router-id 5.5.5.5

ospfv3 2
router-id 5.5.5.5

interface GigabitEthernet0/0/0
ipv6 enable
ipv6 address 2001:45::5/64
ospfv3 1 area 0.0.0.0

interface LoopBack0
ipv6 enable
ipv6 address 5::5/128
ospfv3 1 area 0.0.0.0

实验现象

在这里插入图片描述

相关内容

热门资讯

直线涨停!603956,3连板... 6月29日,A股三大指数开盘涨跌不一。截至发稿,科创50指数涨超4%,继续刷新历史新高,半导体芯片股...
字节跳动考虑采用百度昆仑芯?接... 资料图。本文来源:澎湃新闻字节跳动考虑采用百度昆仑芯?接近人士:字节没有与其合作意向6月29日,有消...
暴涨368%!白鸽在线卡点上市... 出品|达摩财经6月29日,白鸽在线(02672.HK)正式登陆港交所,成为“场景险AI第一股”。截至...
说多了都是泪!牛市刚赚的钱,又... 每一轮行情退潮之后,总有大批投资者面对缩水的账户百思不解:明明在牛市中赚得盆满钵满,为何短短几日震荡...
罕见,今夜54家A股公司提示风... 6月29日晚间,54家A股公司发布股票交易异常波动公告或股票交易风险提示公告,分别是创元科技、五方光...