How to change default source address?

Vladimir Grebenschikov vova at fbsd.ru
Fri Jul 24 11:37:18 UTC 2009


Hi 

 
> you could set up 2 routing tables and assign different apps to use 
> different tables

Is it possible to select routing table by ipfw setfib X ?

someting like:

ipfw add setfib 1 ip from a.b.c.d to any out xmit em0
setfib 1 route add default 10.10.10.1 


PS:
you may need to compile kernel with 
options ROUTETABLES=2

PPS:
why there is not sysctl way to specify number of routing tables ? 

-- 
Vladimir B. Grebenschikov
vova at fbsd.ru


More information about the freebsd-net mailing list