Skip to content

IPv4 Over IPv6

字数
183 字
阅读时间
1 分钟

在IPv4发展末期,IPv4如同IPv6前期一样形成信息孤岛,因此需要将IPv4报文封装在IPv6中以实现互访

如上图是实验拓扑

实验IP规划

设备IDG0/0/0G0/0/1
AR12001::1/962002::1/96
AR22001::2/96192.168.1.1/24
AR32002::2/96192.168.2.1/24

代码样例

AR1 AR2 AR3

bash
system
ipv6
int g0/0/0
ipv6 enable
ipv6 add 2001::1 96
int g0/0/1
ipv6 enable
ipv6 add 2002::1 96
quit
ospfv3
router-id 1.1.1.1
int g0/0/0
ospfv3 1 area 0
int g0/0/1
ospfv3 1 area 0
bash
‍system
ipv6
int g0/0/0
ipv6 enable
ipv6 add 2001::2 96
int g0/0/1
ip add 192.168.1.1 24
quit
ospfv3
router-id 2.2.2.2
int g0/0/0
ospfv3 1 area 0
bash
system
ipv6
int g0/0/0
ipv6 enable
ipv6 add 2002::2 96
int g0/0/1
ip add 192.168.2.1 24
quit
ospfv3
router-id 3.3.3.3
int g0/0/0
ospfv3 1 area 0

贡献者

The avatar of contributor named as lishu620 lishu620

文件历史

撰写