setfib with jail

Albert Shih Albert.Shih at obspm.fr
Fri Feb 5 15:39:21 UTC 2010


Hi all.

I'm trying to make setfib working with jail. I'm not sure to do correctly,
but I'm sure it's not working.

So this is what I do : 

	- Rebuild kernel with 

		option          ROUTETABLES=4

	- Re-install the kernel, reboot

	- Stop the jail

	- flush all route (not default) on 0 fib

	- create route in 1 fib

		setfib 1 route add default xxx.yyy.zzz.ttt

	- add 

		jail_name_fib="1"

	in my rc.conf

	- start the jail with

		/etc/rc.d/jail start name


---> and it's not working because when I do 

	jexec Jail_ID bash
	netstat -rn

I see the 0 fib.

What's wrong ? 

Thanks for your help

Regards.

JAS

-- 
Albert SHIH
SIO batiment 15
Observatoire de Paris Meudon
5 Place Jules Janssen
92195 Meudon Cedex
Téléphone : 01 45 07 76 26/06 86 69 95 71
Heure local/Local time:
Ven 5 fév 2010 16:34:51 CET


More information about the freebsd-jail mailing list