Run it in a jail and assign the IP to it.
jail -c path=/ host.hostname=blablabla name=foobar ip4.addr=$IP command=/path/to/your/command
It seems to work
I don't understand how to close the jails
If I run the command, it works, but if I do
jls
I see that the jail number 1 is still open
so If I run 100 commands, I'll have 100 running jails
questions:
1. Would be it possibile to kill the jail, when the command is closed?
2. if I have to close manually the jails, after command is ended, is there a way to close all jails? something like:
jail -r ANY
Multiple FIBs is already enabled in the GENERIC kernel, as
tobik@ already pointed out. However, to use multiple FIBs one has to increase the value of
Ok FIBs work also wihout having to recompile kernel
I'd like to understand one thing: I have 8 network cards
can I use ethernet card 1 in setfib 1, ethernet card 2 in setfib 2, ethernet card 3 in setfib 3, so that if I do
setfib3 iconfig
, I see ONLY ethernet card 3 ?