[j-nsp] routing instances - ospf - summarization

2013-06-05 Thread n f
Hi all, 


I'm running junos 11.4 on a cluster of srx devices. 


I'm using two virtual instances, one for my internal networks and internet, and 
another one for a private network. 


OSPF is configured on routing instance1 (RI1) and routing instance 2 (RI2).

I can export between routing instances, but I'd like to know if it was possible 
to export via ospf from RI2 to other physical routers
a single route that summarizes all the local routes I have. (like 10.10.0.0/16, 
as all the routes I receive via ospf on RI2 from RI1 

are included within this subnet). 


Does anyone know if it is possible to do so ? (maybe OSPF doesn't allow that at 
all). 


thanks

___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] routing instances - ospf - summarization

2013-06-05 Thread Pavel Lunin
05.06.2013 09:57, n f wrote:
 I can export between routing instances, but I'd like to know if it was 
 possible to export via ospf from RI2 to other physical routers
 a single route that summarizes all the local routes I have. (like 
 10.10.0.0/16, as all the routes I receive via ospf on RI2 from RI1 

This is rather about protocol-independent policies, not OSPF.

You can use a static route like this: set routing-instances RI2
routing-options static route 10.10/16 next-table RI1.inet.0;

But in one direction only, so you can't add a static route in the
backward direction as JUNOS will reject to commit claiming a possible
RI1-RI2 loop.

Depending on your needs, you can have a static default from the internal
RI to external RI (or master instance) and exported local/OSPF routes
from the internal RI's to external/master RI for the backward connectivity.

--
Pavel
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] routing instances - ospf - summarization

2013-06-05 Thread Alex Arseniev
To export a summarized route, having at least 1 more-specific contributing 
route is necessary and sufficient.
I.e. if You have 10.10.10.1/32 as Type-1 in OSPF area X, then creating a 
Type-3 summary (to announce from area X to any other area including 0) is 
easy:


set routing-instances RIX protocols ospf area X range 10.10.0.0/16

Of course, if You have disparate address blocks in RI1 and RI2, then You 
cannot export Type-3 all-RI2-prefixes-summary from RI1  if a more specific 
does not exist in RI1.


And external/Type5|7 OSPF routes can be only summarized on ASBR (the place 
where Type-5|7 are created in 1st place).

HTH
Thanks
Alex

- Original Message - 
From: n f pkc_...@yahoo.fr

To: juniper-nsp@puck.nether.net
Sent: Wednesday, June 05, 2013 6:57 AM
Subject: [j-nsp] routing instances - ospf - summarization



Hi all,


I'm running junos 11.4 on a cluster of srx devices.


I'm using two virtual instances, one for my internal networks and 
internet, and another one for a private network.



OSPF is configured on routing instance1 (RI1) and routing instance 2 
(RI2).


I can export between routing instances, but I'd like to know if it was 
possible to export via ospf from RI2 to other physical routers
a single route that summarizes all the local routes I have. (like 
10.10.0.0/16, as all the routes I receive via ospf on RI2 from RI1


are included within this subnet).


Does anyone know if it is possible to do so ? (maybe OSPF doesn't allow 
that at all).



thanks

___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp



___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


Re: [j-nsp] routing instances - ospf - summarization

2013-06-05 Thread n f
Hi Pavel, 


This would be the best option, as I can also import the static route to OSPF.


Regarding the loop, I'll check if I can keep the import from ospf RI2 to RI1, 
as I can't summarize the routes I'll learn
from RI2 neighbor routers.

thanks.


- Mail original -
De : Pavel Lunin plu...@senetsy.ru
À : juniper-nsp@puck.nether.net
Cc : 
Envoyé le : Mercredi 5 juin 2013 16h29
Objet : Re: [j-nsp] routing instances - ospf - summarization

05.06.2013 09:57, n f wrote:
 I can export between routing instances, but I'd like to know if it was 
 possible to export via ospf from RI2 to other physical routers
 a single route that summarizes all the local routes I have. (like 
 10.10.0.0/16, as all the routes I receive via ospf on RI2 from RI1 

This is rather about protocol-independent policies, not OSPF.

You can use a static route like this: set routing-instances RI2
routing-options static route 10.10/16 next-table RI1.inet.0;

But in one direction only, so you can't add a static route in the
backward direction as JUNOS will reject to commit claiming a possible
RI1-RI2 loop.

Depending on your needs, you can have a static default from the internal
RI to external RI (or master instance) and exported local/OSPF routes
from the internal RI's to external/master RI for the backward connectivity.

--
Pavel
___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


___
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp