From owner-freebsd-net@FreeBSD.ORG Tue May 9 20:25:22 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 1785C16A6F9 for ; Tue, 9 May 2006 20:25:22 +0000 (UTC) (envelope-from ray.mihm@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB8D343D58 for ; Tue, 9 May 2006 20:25:14 +0000 (GMT) (envelope-from ray.mihm@gmail.com) Received: by wx-out-0102.google.com with SMTP id t13so1109744wxc for ; Tue, 09 May 2006 13:25:14 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b+X1lkhQTTRIIY74D1jt13khDddKRAKTiD54TG85DJNgYiln2UtPH77w3+yv74PT6gXYmdsskaUiZmhtsihtH9WKD2K0r+ZK21NTD8GxMxxM/nuuKS99D8iubefHSHJtfsqaIIxARIEwC5VIYW/bBqvy/QIi8B8gSyMvAt904+c= Received: by 10.70.47.3 with SMTP id u3mr4446861wxu; Tue, 09 May 2006 13:25:13 -0700 (PDT) Received: by 10.70.46.9 with HTTP; Tue, 9 May 2006 13:25:13 -0700 (PDT) Message-ID: <1aa142960605091325j151df1f6j909ee9ca3ae0ed75@mail.gmail.com> Date: Tue, 9 May 2006 13:25:13 -0700 From: "Ray Mihm" To: "Julian Elischer" In-Reply-To: <4460D595.8000408@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <5EB31780BD297F46812C8F495FA08F620438CAE3@electron.jnpr.net> <4460207A.9050505@elischer.org> <200605090825.28337.net@dino.sk> <4460D595.8000408@elischer.org> Cc: freebsd-net@freebsd.org, Milan Obuch 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 20:25:22 -0000 Can't you just incorporate Marko's work at http://www.tel.fer.hr/zec/BSD/vimage/index.html? The design looks pretty clean too. And, XORP which probably is multiple tables aware, would make FreeBSD a really kick-ass routing platform. Just my $.02 Ray. On 5/9/06, Julian Elischer wrote: > 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 wo= uld > >like to help, however, I have no real kernel knowledge in this area, sor= ry. > > > > > > > >>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 li= ne, > >however, I have no internal knowledge of IOS). Somewhat later I discover= ed > >Marco Zec's vimage patch, which enhances jails for this. This makes rout= ing > >tables management and understanding simpler - at least for me. I would l= ike > >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" > > > > > _______________________________________________ > 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" >