• OSPFv3基础配置


    AR配置

    ipv6 
    
    ospfv3 1
     router-id 1.1.1.1
    interface GigabitEthernet0/0/0
     ipv6 enable 
     ipv6 address 2001::1/64 
     ospfv3 1 area 0.0.0.0
    #
    interface GigabitEthernet0/0/1
     ipv6 enable 
     ipv6 address 2002::1/64 
     ospfv3 1 area 0.0.0.1
    
    interface LoopBack0
     ip address 1.1.1.1 255.255.255.255 

    AR2配置

    ipv6
    
    ospfv3 1
     router-id 2.2.2.2
    interface GigabitEthernet0/0/0
     ipv6 enable 
     ipv6 address 2001::2/64 
     ospfv3 1 area 0.0.0.0
    #
    interface GigabitEthernet0/0/1
     ipv6 enable 
     ipv6 address 2003::2/64 
     ospfv3 1 area 0.0.0.2
    interface LoopBack0
     ip address 2.2.2.2 255.255.255.255 

    AR3配置

    ipv6 
    ospfv3 1
     router-id 3.3.3.3
    interface GigabitEthernet0/0/0
     ipv6 enable 
     ipv6 address 3001::E/64 
     ospfv3 1 area 0.0.0.1
    #
    interface GigabitEthernet0/0/1
     ipv6 enable 
     ipv6 address 2002::3/64 
     ospfv3 1 area 0.0.0.1
    interface LoopBack0
     ip address 3.3.3.3 255.255.255.255 

    AR4配置

    ipv6
    ospfv3 1
     router-id 4.4.4.4
    interface GigabitEthernet0/0/0
     ipv6 enable 
     ipv6 address 3002::E/64 
     ospfv3 1 area 0.0.0.2
    #
    interface GigabitEthernet0/0/1
     ipv6 enable 
     ipv6 address 2003::4/64 
     ospfv3 1 area 0.0.0.2
    #
    interface GigabitEthernet0/0/2
     ipv6 enable 
     ipv6 address 3005::E/64 
     ospfv3 1 area 0.0.0.2
    interface LoopBack0
     ip address 4.4.4.4 255.255.255.255 

    测试

     ospfv2是基于IPv4子网运行的,同一链路上所有节点同处于IPv4子网或网络内,邻居关系的建立前提之一是相连接口必须处于同一IPv4子网内,每一条路由的下一跳地址都是和路由器接口处于同一网段的IPv4地址,OSPFv3是基于链路运行的,同一链路上的两个节点不必具有相的前缀也可以直接通信,这一点极大的改变了OSPF的行为,使它独立于网络协议,容易扩展各种协议。

    OSPFv3的Route-ID,Area-ID仍然保留了类似IPv4地址长度的32bit格式,实际上这些字段即不是IPv4地址,也不是IPv6地址,而是一个编号

    另外OSPFv2中对于broadcast、NBMA网络类型邻居路由是以IP地址作为标识,而在OSPFv3中,邻居路由总是以Route-ID作为标识,所以DR和BDR总是用其Route-ID来识别

    OSPFv3不再直接提供验证功能,转而依赖IPv6所提供的IP AH(Authentication Header)和IP ESP(Encapsulating Security Payload)协议进行验证,以确保路由信息的可信性,完整性和机密性。

  • 相关阅读:
    关于tomcat内存检查的错误
    linux fedora19默认没有最大化和最小化按钮解决
    顺序栈
    在NET平台下,操作EXCEL
    【Android】状态栏通知Notification、NotificationManager详解
    Android之BroadcastReceiver
    Android之Broadcast
    Android 之Service
    我的常用网站收集
    arduino
  • 原文地址:https://www.cnblogs.com/liujunjun/p/13032209.html
Copyright © 2020-2023  润新知