Configuring default router per NIC!

Mel fbsd.questions at
Tue Mar 3 12:09:46 PST 2009

On Tuesday 03 March 2009 10:33:55 Leslie Jensen wrote:
> I'm considering a Squid box serving two different networks, both with
> their own Internet access.
> Access from network 1 to default router on network 1
> and
> Access from network 2 to default router on network 2
> How do one set default router per NIC?

One can't as the default router is per IP stack (per machine). One can however 
use different routing tables per process, using setfib(1) on FreeBSD 7.1 and 


Problem with today's modular software: they start with the modules
    and never get to the software part.

More information about the freebsd-questions mailing list