3.1 主机与路由器间IPv6 手工tunnel 的配置
实验环境:
(1) 路由器2台,PC 1台;
(2) 专用配置电缆1根,网线2根;
实验组网图:

实验步骤:
// 不使用loopback 接口的情况下;
router--B#
!
hostname router--B
!
ipv6 unicast-routing
!
interface Tunnel2
no ip address
ipv6 address 3::2/64
tunnel source 11.1.1.2
tunnel destination 202.112.10.131
tunnel mode ipv6ip
!
interface FastEthernet0/0
ip address 11.1.1.2 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 11.1.1.1
!
ipv6 route ::/0 Tunnel2
!
end //end. router--B
PC 机,使用Windows_XP :
(1)ipv6 ifcr v6v4 202.112.10.131 11.1.1.2 <cr>
屏幕上会出现:Created interface 8. 虚接口不用另外设定;
(2)ipv6 adu 8/2::2 <cr>
(3)ipv6 rtu ::/0 8/3::2 <cr>
router--A#
Building configuration...
Current configuration : 791 bytes
!
hostname router--A
!
interface Ethernet0/0
ip address 11.1.1.1 255.255.255.0
!
interface Ethernet0/1
ip address 202.112.10.130 255.255.255.128
!
ip classless
!
end
//end. //pc-router cisco-router IPv6 手工 – tunnel 配置
|