IPv6-over-IPv4 GRE隧道

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 11:59   439   0

某单位的两个分支机构各有1台采用IM的主机,计划采用IPv6-over-IPv4 GRE隧道技术实现两个分支机构的IM主机通信,其网络拓扑结构如图5-1所示。

【问题1】(2分)
  使用IPv6-over-IPv4 GRE隧道技术,可在IPv4的GRE隧道上承载IM数据报文。此时 (1) 作为乘客协议, (2) 作为承载协议。
参考答案:

  (1)IPv6(2)IPv4

【问题2】(6分)
  根据网络拓扑和需求说明,完成(或解释)路由器R1的配置。
  Router(config)# ipv6 unicast-routing  (3) 
  Rl(config)# interface Serial 1/0
  R1(config-if)#  (4)  address  (5)   (6)  (设置串口地址)
  R1(config-if)#no shutdown(开启串口)
  R1(config)#interface FastEthemet0/0
  R1(config-if)#  (7)  address  (8)  (设置以太口地址)
  R1(config-if)#exit

参考答案:

  (3)启动IPv6单播路由配置
  (4)ip(5)200.100.1.1(6)255.255.255.0
  (7)ipv6(8)2000:2fcc::1/64

【问题3】(6分)
  根据网络拓扑和需求说明,解释路由器R2的GRE隧道配置。
  ……
  R2(config)#interface tunnel 0 (启用tunnel 0 )
  R2(config-if)#tunnel source sl/0    (9) 
  R2(config-if)#tunnel destination 200.100.1.1  (10) 
  R2(config-if)#ipv6 address 2000:2fcc::2/64(为tunnel配置IM地址)
  R2(config-if)#tunnel mode gre ipv6  (11) 
参考答案:

  (9)设置隧道源端口为s1/0
  (10)设置隧道目标地址为200.100.1.1
  (11)设置IPv6隧道封装模式为GRE

【问题4】(1分)
  IPv6主机PC1的IP地址为2000:2fcc::2/64,在这种配置环境下,其网关地址应为 (12) 。
参考答案:

  (12)2000:2fcc::1/64


IPv6-over-IPv4 GRE隧道实例:



下面给出路由器R2和R3上的配置:
R2#sh run
ipv6 unicast-routing
!
interface Tunnel0
no ip address
ipv6 address 2006:CCCC::1/64
ipv6 rip xuhui enable
tunnel source Serial1/2
tunnel destination 202.100.2.2
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address 2005:CCCC::1/64
ipv6 rip xuhui enable
!
interface Serial1/2
ip address 202.100.2.1 255.255.255.0
serial restart-delay 0
!
ipv6 router rip xuhui
!
R3#sh run
ipv6 unicast-routing
!
interface Tunnel0
no ip address
ipv6 address 2006:CCCC::2/64
ipv6 rip xuhui enable
tunnel source Serial1/3
tunnel destination 202.100.2.1
!
interface Ethernet0/0
no ip address
full-duplex
ipv6 address 2004:CCCC::1/64
ipv6 rip xuhui enable
!
interface Serial1/3
ip address 202.100.2.2 255.255.255.0
serial restart-delay 0
!
ipv6 router rip xuhui
!

本文出自 “IT里的浪客” 博客,请务必保留此出处http://xuhuihihi.blog.51cto.com/777172/293168


分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP