Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  OSPF3 - 1 of 2 neighbor can't be seen from one side

    Posted 07-27-2022 09:44

    Hi team, 

    I would like to resolve the issue OSPF3 stack in init state.
    Here is the topology graph.

    SRX240 - gateway / 12.1X46-D65.4
      *OSPF3 area 0.0.0.0 with vlan.2
      *OSPF3 area 0.0.0.1 with vlan.3
      |
      | trunk vlan 2 and 3
      |
    EX3200 - sw01 / 14.1X53-D49.1
      *VR1 - vlan.2
        *OSPF3 area 0.0.0.0 with vlan.2
      *VR1 - vlan.3
        *OSPF3 area 0.0.0.1 with vlan.3

    On vlan.2, they completed neighbor negotiation, and we can see the state is "Full".

    root@gateway> show ospf3 neighbor
    ID Interface State Pri Dead
    10.0.2.2 vlan.2 Full 128 39
    Neighbor-address fe80::3e94:d5ff:xxxx:xxxx

    root@SW01> show ospf3 neighbor instance VR1
    ID Interface State Pri Dead
    10.0.0.1 vlan.2 Full 128 36
    Neighbor-address fe80::52c5:8dff:yyyy:yyyy

    However, on vlan.3, we can't see any neighbor on SRX240 regarding vlan.3, and EX3200 is stacking in init state.
    root@gateway> show ospf3 neighbor
    ID Interface State Pri Dead
    10.0.2.2 vlan.2 Full 128 39
    Neighbor-address fe80::3e94:d5ff:xxxx:xxxx

    root@SW01> show ospf3 neighbor instance VR2
    ID Interface State Pri Dead
    10.0.0.1 vlan.3 Init 128 32
    Neighbor-address fe80::52c5:8dff:yyyy:yyyy

    In my thought, SRX240 should detect neighbor both on vlan.2 and vlan.3 but it doesn't.
    Do you have any idea to resolve?

    Here is the configuration around ospf3.
    SRX240
    ospf3 {
        traceoptions {
            file debug-ospf size 1m files 5;
            flag all;
        }
        export ospf3-default;
        area 0.0.0.0 {
            interface vlan.2;
            interface lo0.0 {
                passive;
            }
            interface ge-0/0/0.0 {
                passive;
            }
        }
        area 0.0.0.1 {
            interface vlan.3;
        }
    }
    EX3200
    routing-instances {
        VR1 {
            protocols {
                ospf3 {
                    area 0.0.0.0 {
                        interface vlan.2;
                        interface vlan.100 {
                            passive;
                        }
                    }
                }
        }
        VR2 {
            protocols {
                ospf3 {
                    area 0.0.0.1 {
                        interface vlan.3;
                        interface vlan.160 {
                            passive;
                        }
                    }
                }
        }
    }

    Thank you in advance.
    Best,
    Junpei 


  • 2.  RE: OSPF3 - 1 of 2 neighbor can't be seen from one side

    Posted 07-28-2022 06:52
    Edited by spuluka 07-28-2022 06:53
    On the srx is the interface vlan.3 assigned to a security zone where ospf is enabled as a permitted protocol?
    Check the settings under host-inbound-traffic

    And confirm the interface is assigned to a configured zone under interfaces

    If both of these are good, have a look for logs in the trace options files for this interface

    show log debug-ospf



    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------