Date: Sat, 21 Mar 2015 03:23:02 +0900 From: Hajimu UMEMOTO <ume@FreeBSD.org> To: Brendan Inglese <brendan.inglese@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: rc.conf: select fib for dhclient Message-ID: <ygeh9tf5y0p.wl-ume@FreeBSD.org> In-Reply-To: <CAN9SZg_GDXFd7O5oUq3=D3jowY1EaN8Zg0uvh8YE_W77%2BGTnUg@mail.gmail.com> References: <CAN9SZg_GDXFd7O5oUq3=D3jowY1EaN8Zg0uvh8YE_W77%2BGTnUg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
>>>>> On Fri, 20 Mar 2015 11:31:32 +1100
>>>>> Brendan Inglese <brendan.inglese@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@mahoroba.org ume@{,jp.}FreeBSD.org
http://www.mahoroba.org/~ume/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygeh9tf5y0p.wl-ume>
