From owner-freebsd-questions@freebsd.org Mon Oct 9 03:10:19 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 C21EBE46667 for ; Mon, 9 Oct 2017 03:10:19 +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 9040A7D812 for ; Mon, 9 Oct 2017 03:10:19 +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 20:10:12 -0700 From: David Christensen Subject: Re: Static IP Addresses To: freebsd-questions@freebsd.org References: <1789B172-648A-418C-838E-94377EDC1C18@mail.sermon-archive.info> <5c8f65ba-7d76-ccea-28f5-0d9cb7af9300@holgerdanske.com> <5ADA2DB6-BD27-4AB1-861F-EA70C9174ACD@lafn.org> Message-ID: Date: Sun, 8 Oct 2017 20:10:12 -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: <5ADA2DB6-BD27-4AB1-861F-EA70C9174ACD@lafn.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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: Mon, 09 Oct 2017 03:10:19 -0000 On 10/08/17 12:15, Doug Hardie wrote: >> On Oct 8, 2017, at 11:02, David Christensen >> >>> 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. > > Neat approach. However, in this case, it would raise the cost of > the internet connection and since its not mine, I don’t have that > luxury. Please reply to list. Please configure your mail client to not include e-mail addresses. I have a SOHO LAN and my connection to the Internet is via a modem/ firewall/ router appliance provided by telephone company (AT&T). The firewall/ router functions are fairly limited, and I wonder about its security. So, I put a second NIC into an old computer run a pfSense: https://www.pfsense.org/ pfSense rocks. :-) David