IPV6协议(RIPNG、OSPFV3、ISIS 、BGP for IPV6)

 AR1:interface GigabitEthernet0/0/1
 ipv6 enable 
 ipv6 address 2016::2/64 
 ripng 1 enable
interface GigabitEthernet0/0/2
 ipv6 enable 
 ipv6 address 2013::1/64 
 ripng 1 enable
interface LoopBack0
 ipv6 enable 
 ipv6 address 2011::1/64 
 ripng 1 enable
ripng 1

其余类似

查看路由

报文结构

 

 请求报文和回应报文

请求报文使用组播获取

回应使用单播用的link-local地址,会带有路由信息,让R1获取路由

在接口上更改path MTU可通过的数量

可以看到虽然将接口的可通过的MTU降低,但是IPv6会进行分片处理

到最后会由分片的ping进行测试,会分出包来为通过接口的MTU

OSPFV3

和ripng配置基本相同

区域划分

AR1命令:

 interface GigabitEthernet0/0/1
 ipv6 enable 
 ipv6 address 2016::1/64 
 ospfv3 1 area 0.0.0.3

interface GigabitEthernet0/0/2
 ipv6 enable 
 ipv6 address 2013::1/64 
 ospfv3 1 area 0.0.0.0

interface LoopBack0
 ipv6 enable 
 ipv6 address 2011::1/64 
 ospfv3 1 area 0.0.0.0

ospfv3 1
 router-id 10.1.1.1

其余路由器和R1类似

查看R6的路由表,进行PING测试

 

但是没有R4的环回路由,是因为没有和核心区域对接,所以需要配置虚链路

在R3和R4配置虚链路

ospfv3 1
 router-id 10.1.3.3
 area 0.0.0.1
  vlink-peer 10.1.4.4

#
ospfv3 1
 router-id 10.1.4.4
 area 0.0.0.1
  vlink-peer 10.1.3.3

R6有了2044的路由

查看虚链路状态

 UP源ip和对端ip还有创建虚链路的接口

配置ISIS和BGP for IPV6

R1和R6在isis区域49.0001 R3 R4 和R5在isis区域49.0002

依旧是以R1为例

 sysname AR1
ipv6 
isis 1
 network-entity 49.0001.0000.0000.1111.00
 ipv6 enable topology standard
interface GigabitEthernet0/0/1
 ipv6 enable 
 ipv6 address 2016::1/64 
 isis ipv6 enable 1

interface GigabitEthernet0/0/2
 ipv6 enable 
 ipv6 address 2013::1/64 
 isis ipv6 enable 1

interface LoopBack0
 ipv6 enable 
 ipv6 address 2011::1/64 
 isis ipv6 enable 1

 在查看R6的isis邻居和路由

L1

L2

 修改AR6的的isis路由为L1,修改AR3和AR4和AR5的isis路由器类型为L2

然后R6的路由表就只有L1的 R3 R4 R5的路由表只有L2的,但是L2的路由表包含所有路由

L1的路由表只有区域内的,但是有一条通往外界的默认路由

R6:

R5:

配置BGP for IPV6

R1: bgp 100
 router-id 10.1.1.1
 peer 2033::3 as-number 100 
 peer 2033::3 connect-interface LoopBack0

 ipv6-family unicast
  undo synchronization
  network 2066:: 64 
  peer 2033::3 enable

R3:bgp 100
 router-id 10.1.3.3
 peer 2011::1 as-number 100 
 peer 2011::1 connect-interface LoopBack0

 ipv6-family unicast
  undo synchronization
  network 2055:: 64 
  peer 2011::1 enable

查看BGP的邻居关系

查看路由

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值