Junos OS

last person joined: 6 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  How to set OSPF3 Router-ID for DR / BDR elections?

    Posted 10-06-2017 12:07

       Hi all,

     

       I've got an "Just out of curisoity..." kind of question.  I have a vSRX currently running OSPF3 with other vSRXs.  My guy has an IPv4 and IPv6 address on Loopback0:

     

     

    root@MYVSRX> show configuration | display set | match lo0
    ...etc...
    set interfaces lo0 unit 0 family inet address 10.10.10.1/32
    set interfaces lo0 unit 0 family inet6 address 1000:1000:10:10::1/128
    ...etc...
    root@MYVSRX>

     

     

    Right now, the IPv4 address is being used for the OSPF3 router-id:

     

     

    root@MYVSRX> show ospf3 overview
    Instance: master
      Router ID: 10.10.10.1
      Route table index: 0
      ...etc...
    
    root@MYVSRX>

    Let's say I wanted all my vSRXs to use their IPv6 loopback address for that OSPF3 Router-ID.  Any idea how to do that?  Do I just set it with this:

     

     

     

    set routing-options router-id 1000:1000:10:10::1/128

    I'm scared to try it on my devices for fear of screwing up other protocols.

     

    BTW, here's my system info:

     

    root@MY-VSRX> show version
    Hostname: MY-VSRX
    Model: vsrx
    Junos: 15.1X49-D64
    JUNOS Software Release [15.1X49-D64]
    root@MY-VSRX>

    Thanks!

     

     

     

     



  • 2.  RE: How to set OSPF3 Router-ID for DR / BDR elections?
    Best Answer

    Posted 10-06-2017 14:17

    From RFC 5340

     

       o  OSPF Router IDs, Area IDs, and LSA Link State IDs remain at the
          IPv4 size of 32 bits.  They can no longer be assigned as (IPv6)
          addresses

     

    so still a 32-bit number. 



  • 3.  RE: How to set OSPF3 Router-ID for DR / BDR elections?

    Posted 10-09-2017 07:17

    Wow, that's pretty cut-and-dry.  Thanks, I appreciate the help!