实验目的:
使用ipv6 isatap隧道使其vpc3与vpc4通信。
拓扑图:
设备信息表:
设备 | 接口 | IP地址 |
---|---|---|
R1 | Gi0/0 | 20.0.0.1/30 |
Gi0/1 | 2002:192:10::1/64 | |
tu1 | 2001::/64 | |
R2 | Gi0/0 | 20.0.0.2/30 |
Gi0/1 | 2002:192:20::1/64 | |
tu1 | 2001::/64 | |
PC3 | eth0 | 2002:192:10::2/64 |
PC4 | eth0 | 2002:192:20::2/64 |
R1基础配置:
Router(config)#hostname R1
R1(config)#ipv6 unicast-routing
R1(config)#int gigabitEthernet 0/0
R1(config-if)#ip add 20.0.0.1 255.255.255.252
R1(config-if)#no shutdown
R1(config)#int gigabitEthernet 0/1
R1(config-if)#ipv6 enable
R1(config-if)#ipv6 add 2002:192:10::1/64
R1(config-if)#no shutdown
R2基础配置:
Router(config)#hostname R2
R2(config)#ipv6 unicast-routing
R2(config)#interface gigabitEthernet 0/0
R2(config-if)#ip add 20.0.0.2 255.255.255.252
R2(config-if)#no shutdown
R2(config)#int gigabitEthernet 0/1
R2(config-if)#ipv6 enable
R2(config-if)#ipv6 address 2002:192:20::1/64
R2(config-if)#no shutdown
R1配置isatap隧道
R1(config)#interface Tunnel1
R1(config-if)# ipv6 address 2001::/64 eui-64
R1(config-if)# ipv6 enable
R1(config-if)# tunnel source g0/0
R1(config-if)# tunnel mode ipv6ip isatap
R2配置isatap隧道
R2(config)#interface Tunnel1
R2(config-if)# ipv6 address 2001::/64 eui-64
R2(config-if)# ipv6 enable
R2(config-if)# tunnel source g0/0
R2(config-if)# tunnel mode ipv6ip isatap
查看隧道实际地址
R1:
R2:
验证隧道联通性:
配置静态路由,使其能与对端子网通信
R1:
R1(config)#ipv6 route 2002:192:20::/64 2001::5EFE:1400:2
R2:
R2(config)#ipv6 route 2002:192:10::/64 2001::5EFE:1400:1
vpc配置ipv6地址
vpc3:
vpc4:
vpc3 ping vpc4: