rc.conf: select fib for dhclient

Brendan Inglese brendan.inglese at gmail.com
Fri Mar 20 00:31:33 UTC 2015


Hi,

I need some configuration settings for setting up multiple public network
interfaces.

Question one ( Using pf )

How would I set this up using pf on 2 public interfaces and a loopback?

Question two ( Using fibs )

I want to select a particular fib for dhclient to use in rc.conf. I want it
to create a whole new routing table

If I do:

ifconfig_if1="DHCP fib 1"

It will run dhclient but not create a default route in the second table.

If I pop:

setfib 1 dhclient if1

Into rc.local, on reboot it does exactly what I want it to do.

Thanks!
Brendan.


More information about the freebsd-stable mailing list