From owner-freebsd-isp@FreeBSD.ORG Wed Jan 21 03:52:54 2004 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E5E216A4CE for ; Wed, 21 Jan 2004 03:52:54 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED6D443D1D for ; Wed, 21 Jan 2004 03:52:48 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i0LBqkAB018048 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 21 Jan 2004 14:52:47 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i0LBqkvr018047; Wed, 21 Jan 2004 14:52:46 +0300 (MSK) Date: Wed, 21 Jan 2004 14:52:46 +0300 From: Gleb Smirnoff To: Georgi Moskov Message-ID: <20040121115246.GA17996@cell.sick.ru> References: <3446.217.79.79.166.1074685509.squirrel@k> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <3446.217.79.79.166.1074685509.squirrel@k> User-Agent: Mutt/1.5.4i cc: freebsd-isp@freebsd.org Subject: Re: BGP solution ? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2004 11:52:54 -0000 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