Been there, done that ...
https://forums.freenas.org/index.ph...s-multi-jails-freenas-routing-question.39047/ - checkout the link to my tutorial on FreeBSD.org
the terms you should research is FIB, setfib
FreeBSD has the capability for multiple routing tables by enabling them in loader.conf. I initially wanted to do that with my FreeNAS 9.3 box and after much research and finally success on a FreeBSD 9.3 devel server I have, I decided changing my file server from FreeNAS to pure FreeBSD and installing Samba is the best solution for me.
The way it was explained to me is FreeNAS is only designed to use one routing table, ergo 1 default route that is used by the whole system. I'm sure you could setup multiple routes on FreeNAS using the same procedure I provided here but I'm not interested in being the first to figure it out, I don't have the time for more experimenting / testing
ideally, in your scenario (like mine), you would run Samba in its own jail using it's own routing table / subnet and use the host for mgmt operations - make sure to checkout ezails or warden too, makes jail admin much easier