From owner-freebsd-net@FreeBSD.ORG Sun May 11 09:21:39 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86B181065671 for ; Sun, 11 May 2008 09:21:39 +0000 (UTC) (envelope-from is@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id 425C48FC27 for ; Sun, 11 May 2008 09:21:39 +0000 (UTC) (envelope-from is@rambler-co.ru) Received: from localhost (is1.park.rambler.ru [81.19.64.121]) by relay0.rambler.ru (Postfix) with ESMTP id E33CD5C64; Sun, 11 May 2008 13:21:37 +0400 (MSD) Date: Sun, 11 May 2008 13:20:46 +0400 From: Igor Sysoev To: Julian Elischer Message-ID: <20080511092046.GC79358@rambler-co.ru> References: <48134DDE.9010306@elischer.org> <20080429084032.GW71371@stlux503.dsto.defence.gov.au> <48175793.30606@elischer.org> <48175B91.1010202@gtcomm.net> <481766A2.7040809@elischer.org> <48176C65.4080600@gtcomm.net> <481772C7.8090300@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <481772C7.8090300@elischer.org> User-Agent: Mutt/1.5.13 (2006-08-11) Cc: FreeBSD Net Subject: Re: Multiple routing tables in action... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2008 09:21:39 -0000 On Tue, Apr 29, 2008 at 12:11:03PM -0700, Julian Elischer wrote: > >Then you can export RIB entries , say > >you have 5 BGP peers and you want to export 2 or 3 or all of them into > >the 'main' routing instance you can set up a policy to add those learned > >routes into the main instance and v-v. > >Linux behaves a little bit differently as you have to make an 'ip rule' > >entry for it but it doesn't use the firewall. > > for now this code asks you to use a firewall to classify incoming > packets.. > > e.g. > 100 setfib 2 ip from any to any in recv em0 Is is possible to extend ifconfig to classify incoming packets ? -- Igor Sysoev http://sysoev.ru/en/