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
signature.asc
Description: OpenPGP digital signature
