Date: Sun, 14 Feb 2010 00:36:07 +0100 From: geoffroy desvernay <dgeo@centrale-marseille.fr> To: "Sam Fourman Jr." <sfourman@gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: How make the route-to working ? Message-ID: <4B773767.1000909@centrale-marseille.fr> In-Reply-To: <11167f521002130319h42e131bbic432b4122773d383@mail.gmail.com> References: <20100205123254.GN11310@obspm.fr> <4B748700.70409@centrale-marseille.fr> <11167f521002130319h42e131bbic432b4122773d383@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Sam Fourman Jr. a écrit : [...] > I have searched the net high and low and I can not find any good > examples on how to use multiple routing tables. > I agree that it would be cleaner do you have a example of how to do this? > if anyone has links to examples for Multiple routing tables examples > post them please. > I don't have any skills on that theme, nor any (usable) experience, but it seems that you have to: 1. recompile kernel with (for 4 tables): option ROUTETABLES=4 2. modify the '1' table for example (default one is 0), prefixing 'route' commands with 'setfib 1' eg: # setfib 1 route delete default # setfib 1 route add default 10.1.2.3 3. start a jail with 'jail_xxx_fib="1"' in rc.conf This should do the trick (if I understood it correctly) One more time I did not test it, just reading freebsd-jail@ and googling ;) I'll test it myself when i'll have time for it. HTH -- Geoffroy Desvernay [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBCAAGBQJLdzdqAAoJEC0NWrh8JT1SzI0IAIjL/1rGvk5YTyhpsW6g+7Gf o7oPi3FL7/4higuO6rF1lsx/rkMhHbbPvSDRYGfr/ggtaIHgxebHqCfbWctsuFSy XSHCT+dpmmzOI39b1naoSRwgoIKEs15xCZZD2Ng+/MgnJAnWPUzyZibDfiJL7AjA LWT0JWfpdwx9+jjsrECx2hicT/C6mIItoLoNPq8RQejcQtmb2UL5YqMPjCw3+iSh wmrFJCMHvBJ5dO1rb25TuXdmAA1V+ZCNTx9PnGVsbIgGQwZ/dSrVNKmE8ynSmE2R x2SMXG+9KMEoXtJOa+P7EYc9W0leDueu72x+Z54T0STXnHWBb1GHrge70YK89XU= =KcfN -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B773767.1000909>
