IPv6和IPv4互通实验 isatap-6to4

Isatap-6to4隧道

R1的配置
ipv u
int f0/0
ip add 192.10.1.1 255.255.255.0
no shut
exit
int f1/0
ip add 172.16.1.1 255.255.255.0
no shut
exit
router ospf 1
router-id 1.1.1.1
net 192.10.1.0 0.0.0.255 a 0
net 172.16.1.0 0.0.0.255 a 0

R2的配置
ipv u
int f1/0
ip add 172.16.1.2 255.255.255.0
no shut
exit
int f0/0
ip add 1.1.1.1 255.255.255.0
no shut

router ospf 1  
router-id 2.2.2.2
net 172.16.1.0 0.0.0.255 a 0
net 1.1.1.0 0.0.0.255 a 0

int tunnel 1
ipv add 2002:0101:0101:2::1/64
tunnel source 172.16.1.2 
tunnel mode ipv6ip isatap 
no ipv nd suppress-ra 

int tunnel 2
ipv add 2002:0101:0101::1/64
tunnel source 1.1.1.1
tunnel mode ipv6ip 6to4 

ipv route 2002::/16 tunnel 2
ipv route ::/0 2002:0101:0102:1::1

R3的配置

ipv unicast-routing 
int f0/0
ip add 1.1.1.2 255.255.255.0
no shut
exit
int lo1
ipv add 3000::1/64
no shut
int lo 2
ipv add 2002:0101:0102:1::1/64
no shut

router ospf 1
router-id 3.3.3.3
net 1.1.1.0 0.0.0.255 a 0

int tunnel 2
ipv add 2002:0101:0102::1/64
tunnel source 1.1.1.2
tunnel mode ipv6ip 6to4 

ipv route 2002::/16 tunnel 2


电脑的配置
netsh
Int ipv
Inatall
Isatap
Set route 172.16.1.2
Exit

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值