[j-nsp] source-based routing/vrf

Jonas Frey jf at probe-networks.de
Wed Jun 28 20:08:29 EDT 2006


Hello,

thanks everyone, i think i got it working almost just like Alex said.

Regards,
Jonas

On Thu, 2006-06-29 at 01:14, Alex wrote:
> Then I guess You can use the method described in JNCIS Study Guide by Joe 
> Soricelli, pages 647-648, with slight modification.
> Take BGP feeds from A, B, C into separate routing instances of type vrf and 
> configure one static default route per instance pointing to next-table:
> routing-options {
> static {
> route 0.0.0.0/0 next-table carrier-A.inet.0
> }
> }
> Configure rib-groups to copy customer prefixes (10.0.0.0/24 and 10.0.1.0/24) 
> into inet.0 and carrier-[ABC].inet.0 tables.
> Configure firewall filters on customer-facing interfaces to match on source 
> IP and with action "routing-instance carrier-[ABC]".
> In this manner You can build a chain of lookups (first on source IP, then on 
> dest IP/specific prefix coming from carrier A , if that prefix is not 
> available then on
> specific prefix coming from Carrier B and so on.
> Disclaimer - I never tested this myself...
> HTH
> Cheers
> Alex
> 
> ----- Original Message ----- 
> From: "Jonas Frey" <jf at probe-networks.de>
> To: "Alex" <alex.arseniev at gmail.com>
> Cc: <juniper-nsp at puck.nether.net>
> Sent: Wednesday, June 28, 2006 2:36 PM
> Subject: Re: [j-nsp] source-based routing/vrf
> 
> 
> > Yes, BGP is used (to A,B,C). The given prefixes are connected locally
> > (static). There are no other prefixes thus no other source IPs to be
> > taken care of.
> >
> > Regards,
> > Jonas
> >
> > On Wed, 2006-06-28 at 15:25, Alex wrote:
> >> Not enough information.
> >> Is BGP used? What about packets with other source IPs?
> >> Cheers
> >> Alex



More information about the juniper-nsp mailing list