Does freebsd 7.2 support multi default gateway?

FreeBSD has one default gateway. You can use tools like route(8) or pf(4) (pf.conf(5)) to use different gateways for different destination networks, or to use more than one gateway in e.g. round-robin or random fashion.
 
If I'm not mistaken you can use multiple routing tables and as such have multiple default gateways. IIRC this is available in 7.1 and above.

You will need to compile your kernel with the ROUTINGTABLES option. Then you can use setfib(1) to select a routing table.
 
That's a matter of idiom I guess. I wouldn't call those default (as in: 'lacking other settings') gateways anymore, but 'routing gateways' or 'preferred gateways' ;)
 
phoenix said:
Wasn't multi-fib support added post-7.2, so you'd need to upgrade to 7-STABLE (or 8.0-RC2) to get it?

HISTORY
The setfib utility appeared in FreeBSD 7.1.
What use would setfib be without multi-fib support?
 
Back
Top