Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  BGP route advertisement issues

    Posted 10-08-2013 15:00

    Hello! First post and hoping to get some help which im sure im totally missing something

     

    Cisco guy here trying to get the hang of Juniper and so far ive been enjoying working with the device but I seem to be missing something with my BGP configuration!

     

     I have a SRX 240b (JUNOS Software Release [11.2R4.3]) that I have the basic BGP configuration, the connection to the neighbor has been established and I can see routes from the other side however I for some reason cant advertise my internal routes even after going over the Juniper documentation!

    http://www.juniper.net/techpubs/en_US/junos/topics/topic-map/bgp-peering.html

     

    [edit protocols bgp group external-peers]

    type external;
    authentication-key SOMETHING SECRET HERE
    export ebgp-export;
    peer-as xxx;
    local-as xxxxx;
    neighbor x.x.x.x;

     

    policy-statement ebgp-export {
    from protocol [ direct local static ];
    then accept;

     

    As you can see I created the policy and created an export (which from my reading should advertise my local network routes into BGP correct?)

     

    I have two networks on the router 10.2.6.x assigned to GE-0/0/0 and 192.168.1.1/24 to vlan0.  The wan interface is GE-2/0/0

     

    root> show route

    inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    10.x.x.0/23 *[BGP/170] 00:19:14, localpref 100
    AS path: xxxx I
    > to x.x.x.x via ge-2/0/0.0
    10.2.6.0/30 *[Direct/0] 03:03:21
    > via ge-0/0/0.0
    10.2.6.1/32 *[Local/0] 03:15:44
    Local via ge-0/0/0.0
    x.x.x.x*[Direct/0] 1d 01:02:35

    > via ge-2/0/0.0
    x.x.xx *[Local/0] 1d 01:02:38

    Local via ge-2/0/0.0
    192.168.1.1/32 *[Local/0] 03:25:12
    Reject

     

    Im pretty sure im missing something really stupid and im sure im gonna laugh when we get it working!  

    Thank you so much!!

     

     

     



  • 2.  RE: BGP route advertisement issues
    Best Answer

    Posted 10-08-2013 16:16

    Here is a possible solution:

    http://forums.juniper.net/t5/Routing/Adding-a-BGP-Community-to-Routes/m-p/209173#U209173

     

    >>
    Solution! Re: Adding a BGP Community to Routes [ New ]
    Options
    ‎09-25-2013 07:06 AM

    just saw that you are trying to export a local route in BGP. By default local routes are not advertised, pls try configuring below config as well:

    # show routing-options interface-routes
    family inet {
    export {
    point-to-point;
    lan;
    }
    }<<<

     



  • 3.  RE: BGP route advertisement issues

    Posted 10-08-2013 19:47

    Ill give it a try tomorrow!



  • 4.  RE: BGP route advertisement issues

    Posted 10-09-2013 10:18

    Didnt seem to correct my , what else should I be looking at?



  • 5.  RE: BGP route advertisement issues

    Posted 10-10-2013 03:05

    show us the routing options output
    also >show route advertising-protocol bgp <neighbor_ip>
    delete the export policy and recreate it this time using three separate terms for each of the protocols with the action of accept and one final term that rejects everything else. Don't know if there is a bug. After committing the configuration

     

    x.x.x.x = IP address of the interface you are trying to advertise


    >show route x.x.x.x extensive

     

    >show route protocol bgp

    >show bgp neighbors


    Mind sharing why you want to advertise internal and interface routes to ebgp?

     

    http://kb.juniper.net/InfoCenter/index?page=content&id=KB16724&actp=RSS&smlogin=true



  • 6.  RE: BGP route advertisement issues

    Posted 10-19-2013 07:43

    Maybe I wasnt patient or I wasnt paying attention but your command worked.  I kind of let it go for a day or two and came back and it was up.  I chalked it up to me not paying attention.  thanks for your help!



  • 7.  RE: BGP route advertisement issues

    Posted 10-19-2013 21:39

    Anytime:) kudos are nice too:)