From owner-freebsd-questions@freebsd.org Sun Oct 8 18:07:07 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 998DCE3C1CE for ; Sun, 8 Oct 2017 18:07:07 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "holgerdanske.com", Issuer "holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E5E84647D3 for ; Sun, 8 Oct 2017 18:07:06 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (ECDHE-RSA-AES128-GCM-SHA256:TLSv1.2:Kx=ECDH:Au=RSA:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Sun, 8 Oct 2017 11:02:01 -0700 Subject: Re: Static IP Addresses To: freebsd-questions@freebsd.org References: <1789B172-648A-418C-838E-94377EDC1C18@mail.sermon-archive.info> From: David Christensen Message-ID: <5c8f65ba-7d76-ccea-28f5-0d9cb7af9300@holgerdanske.com> Date: Sun, 8 Oct 2017 11:02:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <1789B172-648A-418C-838E-94377EDC1C18@mail.sermon-archive.info> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Oct 2017 18:07:07 -0000 On 10/08/17 01:37, Doug Hardie wrote: > I have a remote backup machine that is on a dynamic IP address allocation. The address doesn't seem to change very often. However, after a few days from a boot, the static aliases on the LAN vanish. Since I only have very infrequent access to it I can't say for sure what happened. The logs seem to indicate that the interface went down and then came back up. However, some of the static aliases were gone. This is a bit of a guess as to when it happened. I have dhclient.conf set with entries like: > > alias { > interface "bge0"; > fixed-address 192.168.0.205; > option subnet-mask 255.255.255.255; > } > > > I understood from the man pages that was the way to have dhclient add in the static addresses if it changed anything. Is there something more that I should have done? When building a computer, I normally have the installer create the DHCP client stuff and then I create fixed leases on the DHCP server. David