From owner-freebsd-stable@FreeBSD.ORG Fri Mar 20 20:34:23 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D4EEE58; Fri, 20 Mar 2015 20:34:23 +0000 (UTC) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1DC4854; Fri, 20 Mar 2015 20:34:22 +0000 (UTC) Received: by oigv203 with SMTP id v203so100770326oig.3; Fri, 20 Mar 2015 13:34:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=om3HNUifwZ87jMlinfRGG/zctUZsmdok6/NfgIuQo+E=; b=o1lYKUdbkv3a8mOnRdZup1kaEFf1413ORZBMHw9yY2bLzN21czl1MU0XwDsnBmedMa Xc6yMmcxjlLs7yLX8Dgvi7quGXnbKuOH5KZqdmjc4TtQRecp2AORsIrK7lVAqp/AhFWV J9HWxVqqj9uzHytVgZ/EiRtqPAJ5yKSI/2i82Ay7VXzNmXH63JKDLAWH8JZ7xhRgpdJQ rvTiXJzOfpWc8M43NOF9ZEst6VHV/DeHQP3bBKEomR10fWeEdku1PC5WR+rW+JxWGO4C gct2mR8eiGJuFbSVAdD1pvj4Mb/kaDH/MOktQTG3aHOdx4lDRdekC2rxhaThkW2hcIjE CBtg== MIME-Version: 1.0 X-Received: by 10.202.215.131 with SMTP id o125mr10056636oig.109.1426883662142; Fri, 20 Mar 2015 13:34:22 -0700 (PDT) Sender: asomers@gmail.com Received: by 10.202.215.7 with HTTP; Fri, 20 Mar 2015 13:34:22 -0700 (PDT) In-Reply-To: References: Date: Fri, 20 Mar 2015 14:34:22 -0600 X-Google-Sender-Auth: BozMv2ThOS0VgeEpVv6T2rnf4kc Message-ID: Subject: Re: rc.conf: select fib for dhclient From: Alan Somers To: Brendan Inglese Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD , Hajimu UMEMOTO X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2015 20:34:23 -0000 I do this: ifconfig_em0="SYNCDHCP fib 0" ifconfig_ix0="SYNCDHCP fib 1" -Alan On Fri, Mar 20, 2015 at 2:30 PM, Brendan Inglese wrote: > Hi, > > I've tried that actually and it seemed to run dhclient on fib 1 for all > interfaces. > > I gave up on the fib option I've recently just found a solution using pf. > > Cheers, > Brendan. > > On Sat, Mar 21, 2015 at 5:23 AM, Hajimu UMEMOTO wrote: > >> Hi, >> >> >>>>> On Fri, 20 Mar 2015 11:31:32 +1100 >> >>>>> Brendan Inglese 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/ >> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"