From owner-freebsd-net@FreeBSD.ORG Tue May 9 17:47:16 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E19B16A521 for ; Tue, 9 May 2006 17:47:16 +0000 (UTC) (envelope-from julian@elischer.org) Received: from a50.ironport.com (a50.ironport.com [63.251.108.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A64D43D67 for ; Tue, 9 May 2006 17:47:03 +0000 (GMT) (envelope-from julian@elischer.org) Received: from unknown (HELO [10.251.19.131]) ([10.251.19.131]) by a50.ironport.com with ESMTP; 09 May 2006 10:47:03 -0700 Message-ID: <4460D595.8000408@elischer.org> Date: Tue, 09 May 2006 10:47:01 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Milan Obuch References: <5EB31780BD297F46812C8F495FA08F620438CAE3@electron.jnpr.net> <4460207A.9050505@elischer.org> <200605090825.28337.net@dino.sk> In-Reply-To: <200605090825.28337.net@dino.sk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: vrf support in FreeBSD 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: Tue, 09 May 2006 17:47:18 -0000 Milan Obuch wrote: >On Tuesday 09 May 2006 06:54, Julian Elischer wrote: > > >>Pramod Srinivasan wrote: >> >> >>>Hi Folks, >>> >>>I am curious to know if there is any plans to support multiple routing >>>tables in FreeBSD's official release? >>> >>>There was some discussion on this topic last year, if there is any vrf >>>patch for a latest release of FreeBSD, I would love to give it a try. >>> >>> >>I am doing some small bits of work on this.. >> >> >> > >Do you have anything to show/test? I am really interested in this and would >like to help, however, I have no real kernel knowledge in this area, sorry. > > > >>how do you want to select which table should be used? >>(This is more of a 'survey' as I am trying to work out what I should >>support) >> >> >> > >I saw two approaches on this issue - older one (discovered by me sooner - >spring 2003) was some MPLS patches made by Luigi Iannone uses per-socket >option, somewhat similar to Cisco's method (specifying vrf on command line, >however, I have no internal knowledge of IOS). Somewhat later I discovered >Marco Zec's vimage patch, which enhances jails for this. This makes routing >tables management and understanding simpler - at least for me. I would like >to use second one or something similar. > > I have a rather 'simplistic' solution.. I have alterred ipfw 'table' so that you can do ipfw table 2 add 1.2.3.4/24 2.3.4.5 and you can then use it to do: ipfw add 300 fwd tablearg from myrouter to table(2) out recv fxp2 >Regards, > > >Milan >_______________________________________________ >freebsd-net@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-net >To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > >