手机站
网通分站
电信主站
密 码:
用户名:
当前位置 : 主页>网络知识>Cisco技术>列表

ipv6 6to4

来源:互联网 作者:west263.com 时间:2008-02-23
西部数码-全国虚拟主机10强!40余项虚拟主机管理功能,全国领先!双线多线虚拟主机南北访问畅通无阻!免费赠送企业邮局,.CN域名,自助建站480元起,免费试用7天,满意再付款! P4主机租用799元/月.月付免压金!

point-to-multipoint的tunnel来实现6to4,但必须要求使用6to4的ipv6地址(2002::/16)。
R1

hostname R1
!
ipv6 unicast-routing
!
interface Ethernet1/4
no ip address
duplex full
ipv6 address 2002:404:404:104::1/64
ipv6 enable
!
ipv6 route ::/0 2002:404:404:104::4
R2 hostname R2
!
ipv6 unicast-routing
!
interface Ethernet1/5
no ip address
duplex full
ipv6 address 2002:505:505:205::2/64
ipv6 enable
!
ipv6 route ::/0 2002:505:505:205::5
R3 hostname R3
!
ipv6 unicast-routing
!
interface Ethernet1/6
no ip address
duplex full
ipv6 address 2002:606:606:306::3/64
ipv6 enable
!
ipv6 route ::/0 2002:606:606:306::6
R4 hostname R4
!
ipv6 unicast-routing
!
interface Loopback0
ip address 4.4.4.4 255.255.255.255
!
interface Tunnel0
no ip address
no ip redirects
ipv6 address 2002:404:404::4/128
ipv6 enable
tunnel source 4.4.4.4
tunnel mode ipv6ip 6to4
!
interface Ethernet1/1
no ip address
duplex full
ipv6 address 2002:404:404:104::4/64
!
interface Ethernet1/7
ip address 192.168.47.4 255.255.255.0
duplex full
!
router ospf 100
router-id 4.4.4.4
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 192.168.0.0 0.0.255.255 area 0
!
ipv6 route 2002::/16 Tunnel0
ipv6 route ::/0 2002:404:404:104::1
R5 hostname R5
!
ipv6 unicast-routing
!
interface Loopback0
ip address 5.5.5.5 255.255.255.255
!
interface Tunnel0
no ip address
no ip redirects
ipv6 address 2002:505:505::5/128
ipv6 enable
tunnel source 5.5.5.5
tunnel mode ipv6ip 6to4
!
interface Ethernet1/2
no ip address
duplex full
ipv6 address 2002:505:505:205::5/64
ipv6 enable
!
interface Ethernet1/7
ip address 192.168.57.5 255.255.255.0
duplex full
!
router ospf 100
router-id 5.5.5.5
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 192.168.0.0 0.0.255.255 area 0
!
ipv6 route 2002::/16 Tunnel0
ipv6 route ::/0 2002:505:505:205::2
R6 hostname R6
!
ipv6 unicast-routing
!
interface Loopback0
ip address 6.6.6.6 255.255.255.255
!
interface Tunnel0
no ip address
no ip redirects
ipv6 address 2002:606:606::6/128
ipv6 enable
tunnel source 6.6.6.6
tunnel mode ipv6ip 6to4
!
interface Ethernet1/3
no ip address
duplex full
ipv6 address 2002:606:606:306::6/64
ipv6 enable
!
interface Ethernet1/7
ip address 192.168.67.6 255.255.255.0
duplex full
!
router ospf 100
router-id 6.6.6.6
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 192.168.0.0 0.0.255.255 area 0
!
ipv6 route 2002::/16 Tunnel0
ipv6 route ::/0 2002:606:606:306::3
R7 hostname R7
!
interface Loopback0
ip address 7.7.7.7 255.255.255.255
!
interface Ethernet1/4
ip address 192.168.47.7 255.255.255.0
duplex full
!
interface Ethernet1/5
ip address 192.168.57.7 255.255.255.0
duplex full
!
interface Ethernet1/6
ip address 192.168.67.7 255.255.255.0
duplex full
!
router ospf 100
router-id 7.7.7.7
log-adjacency-changes
redistribute connected subnets
redistribute static subnets
network 192.168.0.0 0.0.255.255 area 0

文章整理:西部数码--专业提供域名注册虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!