From owner-freebsd-stable@FreeBSD.ORG Fri Mar 20 00:31:33 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 C469AEA for ; Fri, 20 Mar 2015 00:31:33 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (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 8B891198 for ; Fri, 20 Mar 2015 00:31:33 +0000 (UTC) Received: by ieclw3 with SMTP id lw3so80450689iec.2 for ; Thu, 19 Mar 2015 17:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lGV8CdcV/91rZOl1itWhqi4WpMuCYgPQ/x0dN8pzceM=; b=imfUVaMfsE9SM56lg/ohfCxOvsIEZ1e/mVFiYq8ou7IDQFTsaxcxcWAZPZfdhBGpG+ ZN2JIZEiruUxf0qKr9pAhx9g5Hq6SxCondIJGJgXZ5ragtS3cBgdZ+tic/eVgkh0l5yJ toq9LWw6UMDLTQGrVvH/g4KhqcnYMeVCQUxhTgXV8k6oW66EOToFFpg7jAuQ0vwDqxcO 9qqM8lBRRpxErSIZBrSttYkvc0QMYw+JCtSQdPUV4A36B7MIY/uVOhe/JDKDdfDPdskX nf600pOoyco8Tc209kQq2LyDLLQKAtPYDcQZMbiETOkp5ykTlK/sd1bAdo64hC4n1WT3 x3zg== MIME-Version: 1.0 X-Received: by 10.107.7.18 with SMTP id 18mr119477526ioh.69.1426811492481; Thu, 19 Mar 2015 17:31:32 -0700 (PDT) Received: by 10.36.23.196 with HTTP; Thu, 19 Mar 2015 17:31:32 -0700 (PDT) Date: Fri, 20 Mar 2015 11:31:32 +1100 Message-ID: Subject: rc.conf: select fib for dhclient From: Brendan Inglese To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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 00:31:33 -0000 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.