How make the route-to working ?
geoffroy desvernay
dgeo at centrale-marseille.fr
Sat Feb 13 23:37:11 UTC 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20100213/b95f6118/signature.pgp
More information about the freebsd-pf
mailing list