Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0782FE21E50FA6DCC8FC0700
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Sam Fourman Jr. a =E9crit :
[...]
> 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 thi=
s?
> if anyone has links to examples for Multiple routing tables examples
> post them please.
>=20
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=3D4
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=3D"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
--=20
Geoffroy Desvernay



--------------enig0782FE21E50FA6DCC8FC0700
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig0782FE21E50FA6DCC8FC0700--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B773767.1000909>