Routing

last person joined: 4 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.  Import ospf routen in two routing instancen

    Posted 05-18-2019 03:43

    Hi guys,

     

    I have a problem to import ospf routes in my specified init.0 tables.

     

    I have two L3 vrf instances on my Juniper MX router an I must import two virtuell router from my neighboor network.

    We have bgp an the neighboor network have ospf.

    Thr routes from the vr-voip from my neighbour must go in the L3_VoIP.init.0 and the routes from th vr-router wifi must go in the L3_Aerohive.init.0

    I became on my Juniper Interface two vlans from his virtuell routers and i must import them in the init.0 table of my vr-routers.

    Today all routes going in the global init.0 table and one vr router can see the other vr-router.

     

     

    Kopplung BGP OSPF.jpg

     

     



  • 2.  RE: Import ospf routen in two routing instancen

     
    Posted 05-18-2019 07:16

    Hi Thomas,

     

    You can simply configure a policy to match the routes of interest and then use "instance-import" in the respective VRF.

     

    See example here: https://kb.juniper.net/InfoCenter/index?page=content&id=KB19860&pmv=print

     

    Hope this helps.

     

    Regards,
    -r.

    --------------------------------------------------

    If this solves your problem, please mark this post as "Accepted Solution."
    Kudos are always appreciated :).



  • 3.  RE: Import ospf routen in two routing instancen

    Posted 05-18-2019 08:36

    Hello,

    The canonical way to do it is:

    1/ configure 2 VLANs over ge-1/3/8, say, VLAN 100 and VLAN 200

    2/ add IP addresses on each end

    3/ terminate VLAN 100 L3 subinterface (say, ge-1/3/8.100) in "L3_Aerohive" VRF

    4/ terminate VLAN 200 L3 subinterface (say, ge-1/3/8.200) in "L3_Voip" VRF

    5/ configure OSPFv2 over ge-1/3/8.100 and ge-1/3/8.200 inside these VRFs. 

    6/ Redistrubute routes of Your choice (MP-iBGP, static, direct etc) into OSPF with OSPF export policies

    6a/ optionally, You'd need to disable DN bit and VPN route tag if Extreme side does not see routes from Kunde 2 MX

    7/ redistribute routes received from Kunde 1 over OSPF into MP-iBGP on MX side

    If You cannot create 2 VLANs on ge-1/3/8 then it becomes more difficult.

    HTH

    Thx
    Alex 

     



  • 4.  RE: Import ospf routen in two routing instancen

    Posted 05-19-2019 23:27

    Hi Alex.

    i habve a question about  your help

    When I read your answer on point 3 and 4 I thinks the routes from the two vlan going directly in the L3-Aerohive.init.0 and wifi.init.0

    Is this richt or false.

     

    I want do not work without policies, i this possible?

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     



  • 5.  RE: Import ospf routen in two routing instancen
    Best Answer

    Posted 05-19-2019 23:31

    Hello,


    thomas.block@esh.essen.de wrote:

     

    When I read your answer on point 3 and 4 I thinks the routes from the two vlan going directly in the L3-Aerohive.init.0 and wifi.init.0

    Is this richt or false.

     

     

    Das ist richtig

     


    thomas.block@esh.essen.de wrote:

     

    I want do not work without policies, i this possible?

     

     

    In JUNOS, redistributing between OSPF and BGP requires policies.

    HTH

    Thx

    Alex



  • 6.  RE: Import ospf routen in two routing instancen

    Posted 05-20-2019 03:10

    Thank you very mutch for your help in this topic.

    The first vive points we have done and it works very fine.

    We do not need  to use a policie and it works exelent.

     

     

    Thank you very mutch and it is very important for us that we have understood this way...

     

    I am proud of you..

     

    THX

     

    Thomas