手动添加ipv6隧道配置--隧道两端ipv6地址在同一网段

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

手动添加ipv6隧道--隧道两端ipv6地址在同一网段配置实例
R1:
r1#show running-config
Building configuration...
Current configuration : 1095 bytes
!
version 12.3
service timestamps debug datetimemsec
service timestamps log datetimemsec
no service password-encryption
!
hostname r1
!
boot-start-marker
boot-end-marker
!
enable password ccit
!
no network-clock-participate slot 1
no network-clock-participate wic 0
noaaa new-model
ip subnet-zero
ipcef
!
!
!
ip audit po max-events 100
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Tunnel0
noip address
noip redirects
ipv6 address FEC0:2008::1/120
ipv6 enable
tunnel source 19.1.1.1
tunnel destination 19.1.2.2
!
interface FastEthernet0/0
ip address 19.1.1.1 255.255.255.0 duplex auto
speed auto
!
interface Serial0/0
noip address
shutdown
no fair-queue
!
interface FastEthernet0/1
noip address
loopback
duplex auto
speed auto
ipv6 address 2009:1301:101:20::1/64 ipv6 enable
!
interface Serial0/1
noip address
shutdown
!
ip http server
noip http secure-server
ip classless
ip route 0.0.0.0 0.0.0.0 19.1.1.2 !
!
ipv6 route 2010::/64 FEC0:2008::2 !
!
!
!
!
!
line con 0
line aux 0
linevty 0
passwordccit
login
linevty 1 4
login
!
!
end
r1#
R2:
r2#show running-config
Building configuration...
Current configuration : 619 bytes
!
version 12.3
service timestamps debug datetimemsec service timestamps log datetimemsec no service password-encryption
!
hostname r2
!
boot-start-marker
boot-end-marker
!
enable password ccit
!
no network-clock-participate slot 1 no network-clock-participate wic 0 noaaa new-model
ip subnet-zero
ipcef
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 19.1.1.2 255.255.255.0 duplex auto
speed auto
!
interface FastEthernet0/1
ip address 19.1.2.1 255.255.255.0 duplex auto
speed auto
!
ip http server
ip classless
!
!
!
line con 0
line aux 0
linevty 0
passwordccit
login
linevty 1 4
login
!
!
!
end
r2#
R3:
r3#show running-config
Building configuration...
Current configuration : 963 bytes
!
version 12.3
service timestamps debug datetimemsec service timestamps log datetimemsec no service password-encryption
!
hostname r3
!
boot-start-marker
boot-end-marker
!
enable password ccit
!
no network-clock-participate slot 1 no network-clock-participate wic 0 noaaa new-model
ip subnet-zero
ipcef
!
!
!
ip audit po max-events 100
ipv6 unicast-routing
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Tunnel0
noip address
noip redirects
ipv6 address FEC0:2008::2/120
ipv6 enable
tunnel source 19.1.2.2
tunnel destination 19.1.1.1
!
interface FastEthernet0/0
noip address
duplex auto
speed auto
ipv6 address 2010::1/64
!
interface FastEthernet0/1
ip address 19.1.2.2 255.255.255.0
duplex auto
speed auto
!
ip http server
noip http secure-server
ip classless
ip route 0.0.0.0 0.0.0.0 19.1.2.1
!
!
ipv6 route 2009:1301:101:20::/64 FEC0:2008::1 !
!
!
!
!
line con 0
line aux 0
linevty 0
passwordccit
login
linevty 1 4
login
!
!
end
r3#
小结:
手动添加添加ipv6隧道支持ipv6动态路由协议的信息交互。

建立通道后,两路由器接的隧道部分可看作为一条链路,等同于两路由器直接相连,在这种理解下配置ipv6静态路由信息。

相关文档
最新文档