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