Skip site navigation (1)Skip section navigation (2)


| raw e-mail | index | archive | help
> It's also possible to set and use non-default FIB for DNS lookups and
> maintenance tasks like pkg upgrade (setfib -1 pkg ....). This approach is
> probably more straightforward to conduct.

Until you consider that not all work is done from the command line such that
'setfib' can proceed every command.  What if cron wants to send a message
with output from a cron job?  What if a system service needs to connect to
another host (e.g., ntpd)?  Even to ssh into the system, sshd needs DNS
for PTR lookups.

I really think this isn't an issue with routing (and therefore can't be
fixed elegantly by changing routing).  It is an issue with source IP
selection (one that has been addressed for IPv6, just not IPv4).

I'll try to dig into how FreeBSD does source IP selection and see if I
can add code to tune that process.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>