rc.conf: select fib for dhclient

Hajimu UMEMOTO ume at FreeBSD.org
Fri Mar 20 18:23:16 UTC 2015


Hi,

>>>>> On Fri, 20 Mar 2015 11:31:32 +1100
>>>>> Brendan Inglese <brendan.inglese at gmail.com> said:

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

brendan> If I do:

brendan> ifconfig_if1="DHCP fib 1"

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

brendan> If I pop:

brendan> setfib 1 dhclient if1

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

Perhaps, following works for you:

  ifconfig_if1="DHCP"
  dhclient_fib="1"

Sincerely,

--
Hajimu UMEMOTO
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/


More information about the freebsd-stable mailing list