Date: Tue, 9 May 2006 13:25:13 -0700 From: "Ray Mihm" <ray.mihm@gmail.com> To: "Julian Elischer" <julian@elischer.org> Cc: freebsd-net@freebsd.org, Milan Obuch <net@dino.sk> Subject: Re: vrf support in FreeBSD Message-ID: <1aa142960605091325j151df1f6j909ee9ca3ae0ed75@mail.gmail.com> In-Reply-To: <4460D595.8000408@elischer.org> References: <5EB31780BD297F46812C8F495FA08F620438CAE3@electron.jnpr.net> <4460207A.9050505@elischer.org> <200605090825.28337.net@dino.sk> <4460D595.8000408@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <julian@elischer.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1aa142960605091325j151df1f6j909ee9ca3ae0ed75>