Date: Thu, 22 Jan 2004 00:58:03 +0200 (EET) From: "Georgi Moskov" <moskov@telecoms.bg> To: "Gleb Smirnoff" <glebius@cell.sick.ru> Cc: freebsd-isp@freebsd.org Subject: Re: BGP solution ? Message-ID: <52092.217.79.66.142.1074725883.squirrel@k> In-Reply-To: <20040121115246.GA17996@cell.sick.ru> References: <3446.217.79.79.166.1074685509.squirrel@k> <20040121115246.GA17996@cell.sick.ru>
index | next in thread | previous in thread | raw e-mail
> On Wed, Jan 21, 2004 at 01:45:09PM +0200, Georgi Moskov wrote: > G> I have tha following setup: > G> > G> --- B --- > G> / \ > G> / \ 6802:100 > G> 194.141.24.0/24 -- A C ----------- F > G> \ / 6802:200 > G> \ / > G> --- D --- > G> > G> Router F advertises to router C prefixes marked widh community 6802:100 > G> and prefixes marked with 6802:200. Is it possible to configure the > routers > G> in such a way, that traffic to/from 194.141.24.0/24 and prefixes marked > G> widh 6802:100 to pass through router B and traffic to/from 6802:200 to > G> pass through router D ? (the ruters use zebra) > > To configure incoming traffic to 194.141.24.0/24, you should create > route maps on C, like this: > > match community 6802:(1,2)00 > set as path prepend XXXX XXXX > > and attach this route maps to corresponding neighbor (don't forget "out" > keyword). > > To deal with outgoing traffic, you should create route maps on A, like > this: > > match commnity 6802:(1,2)00 > set localpref 110 > > and attach them to corresponding neighbors, with "in" keyword. > > -- > Totus tuus, Glebius. > GLEBIUS-RIPN GLEB-RIPE > > Correct me if I'm wrong but in my understanding router C can have only 1 active path for 194.141.24.0/24 (the best one) and if so, then it will route traffic to it just through one of the interfaces. Respectfully, Georgi Moskovhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52092.217.79.66.142.1074725883.squirrel>
