SRX

Expand all | Collapse all

Default Route on RIP

Jump to Best Answer
  • 1.  Default Route on RIP

    Posted 03-31-2019 08:13

    I,

    I configured RIP onMy Juniper SRX300 series, but my brach site cannot have defaut route from HQ.

    waiting for your advise.

    ===================RIP CONFIGURATION=================
    protocols {
    rip {
    group RIP-MPLS {
    export advertise-routes-through-rip;
    import advertise-routes-through-rip;
    neighbor ge-0/0/0.0 {
    send broadcast;
    receive version-2;
    check-zero;
    }
    neighbor ge-0/0/3.0;
    neighbor ge-0/0/3.1;
    neighbor ge-0/0/3.2;
    neighbor ge-0/0/3.3;
    neighbor ge-0/0/3.4;
    neighbor ge-0/0/3.5;
    neighbor ge-0/0/3.6;
    neighbor ge-0/0/1.1;
    }
    }
    =======================================================



  • 2.  RE: Default Route on RIP

    Posted 03-31-2019 18:38

    Hope rip neighborship is up and you allowed rip in zone host-inbound-traffic. Please check neighbor status and the advertised routes and  share the export policy config

     

    show rip neighbor

    show route advertising-protocol rip ge-0/0/3.0

     

     



  • 3.  RE: Default Route on RIP

     
    Posted 03-31-2019 19:50

    Hello,

     

    > I see you are peering over MPLS and using the same policy statement for both exporting and importing routes.

    > Could you please share details of the policy-statement "advertise-routes-through-rip"

    > Are we sure it is advertised from HQ? Are other branches receving the same

     

    Regards,

     

    Vikas



  • 4.  RE: Default Route on RIP

    Posted 03-31-2019 23:29

    Hi, This is the policy statement

    ===========

    }
    policy-options {
    policy-statement advertise-routes-through-rip {
    term 1 {
    from protocol [ direct rip ];
    then accept;
    }

    ============================

     

    Please i JUST WANT TO ADVERTISE THE DEFAULT ROUTE OF HQ to branch Office, HQ and Branch Offices are receiving others routes.



  • 5.  RE: Default Route on RIP

    Posted 03-31-2019 23:42

    Please share the output of below mentioned command from the device you want to advertise the default route. Hope you have a active rip default route in the routing table.

     

    show route 0/0 exact 

     

     



  • 6.  RE: Default Route on RIP

     
    Posted 04-01-2019 00:20

    Hello,

     

    Thanks for sharing this. 

     

    I am assuming this is the output from the branch and I see you are accepting routes learnt via RIP. Since you say other RIP routes are learnt looks HQ is not advertising the default route via RIP. I would focus on the config in HQ.

     

    Could you share the RIP config and policy statement outputs from HQ?

     

    Regards,

     

    Vikas



  • 7.  RE: Default Route on RIP
    Best Answer

     
    Posted 04-01-2019 00:39

    Hello,

     

    You can advertise the default route from HQ by adding an additional term in HQ export statement.

     

    set policy-options policy-statement advertise-routes-through-rip term 2 from protocol static
    set policy-options policy-statement advertise-routes-through-rip term 2 from route-filter 0.0.0.0/0 exact
    set policy-options policy-statement advertise-routes-through-rip term 2 then accept

     

    Your eventual policy statement should look like this:

    policy-options {
    policy-statement advertise-routes-through-rip {
    term 1 {
    from protocol [ direct rip ];
    then accept;
    }
    term 2 {
    from {
    protocol static;
    route-filter 0.0.0.0/0 exact;
    }
    then accept;
    }

     

    Hope this helps.

     

    Regards,

     

    Vikas