From owner-freebsd-net@freebsd.org Sat Dec 24 18:28:58 2016 Return-Path: Delivered-To: freebsd-net@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 55EACC8FCE5 for ; Sat, 24 Dec 2016 18:28:58 +0000 (UTC) (envelope-from jdison16@yahoo.com) Received: from nm50-vm8.bullet.mail.bf1.yahoo.com (nm50-vm8.bullet.mail.bf1.yahoo.com [216.109.115.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D57BFA9 for ; Sat, 24 Dec 2016 18:28:57 +0000 (UTC) (envelope-from jdison16@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1482604130; bh=wJmcOwg6w8FKHQxf+pDpyv8brbXp7Y3CG4gycm3mZT4=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=MQs4Va2WNOISETqwxcZiNTZeUC+cn0O2sURBFfcUdI5+mjAcQd5zTiIX2VOL3fHqw2p3LDOJzaWd9raiWWq7P0pwygeyPnezaJ0Q1vUilqblbAmcYsD6e7z2tQpi1k4vbxvrJJRQd9AU1Mg1V7DggkjOpiNEeM6tLlrxBOYwDWjscUpe8HEOwMeiFYngz/BpVwIIcW7Y3yfO5TwJMDw+Z63usS2HFVXenfb6VHeh5vYfP6oECC8o2uBx3e4IW3PR4Eq0MyMZQSoOnG0lDRygL91dEHa4v2jyGHK10smBUpeSx+tIFPgGqgMPndoxjpoesmJThHeOpWmct2lR512x3g== Received: from [98.139.170.179] by nm50.bullet.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 18:28:50 -0000 Received: from [98.139.212.229] by tm22.bullet.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 18:28:50 -0000 Received: from [127.0.0.1] by omp1038.mail.bf1.yahoo.com with NNFMP; 24 Dec 2016 18:28:50 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 209868.45854.bm@omp1038.mail.bf1.yahoo.com X-YMail-OSG: ReXB38UVM1mAqMDQ_QPee4rPfL55jIsxqu0Y5Xf3AYcctso14RzO2otoWrqrirU YBfn83xl_F_7yu0uZYdR98zW4IPXBmfjoCFd8aCoMcyVWQTtGRsSy.oZZ_UFLj2jcCAEy7JdP6th _1ToR.koX_8Iuaq5Xb63yb6bHlPFNo7FAr.LC7vT.pBLnAXvWfQ1Wh0qglYYrYScKQw39Gk2XoLr 4O1NTFBVfvh047CD9Ap79AXsDRMXjce87dIfwcFERVeb1teXj.9Bgy8Cfs0YXYsqWPeYKpKbi.7v vYRbGIk5X4gWPlIB7yuj.wk.4K_SiKlkSMl2CYij3dA9F6c7535jROynkVDRZ9mVPPVasseZBz2h Duc.ASEipPCweMGEIUQDEkR66t67Kvvk9xLzgFCUTAFPXUuJsgRAILjTTJRo8F9zijOQuVT7lHMX tlpLCPv4TUx7GRtSOkwVCf25EV1YzB7D75Rz.t6Q8pBDmcZxIr.OIyVRYSkPr3EhEUPAPKGTyaLb 0I80UQIomEoXx37alSnEJtkTPrLbAQvUzDbE- Received: from jws400080.mail.bf2.yahoo.com by sendmailws163.mail.bf1.yahoo.com; Sat, 24 Dec 2016 18:28:49 +0000; 1482604129.822 Date: Sat, 24 Dec 2016 18:28:33 +0000 (UTC) From: John Dison Reply-To: John Dison To: "freebsd-net@freebsd.org" Cc: "hrs@FreeBSD.org" , "mike@sentex.net" Message-ID: <252311393.1502179.1482604113540@mail.yahoo.com> In-Reply-To: <31938292.1421737.1482589536048@mail.yahoo.com> References: <1031105507.1010181.1482502206363@mail.yahoo.com> <1404669989.1370681.1482573468893@mail.yahoo.com> <20161224.205457.537205546150309741.hrs@allbsd.org> <31938292.1421737.1482589536048@mail.yahoo.com> Subject: RE: How to configure another loopback device? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Dec 2016 18:28:58 -0000 Resending, for some reason my reply is not in ML archives... probably everyone hates Yahoo Mail... ----- Forwarded Message ----- From: John Dison To: Hiroki Sato ; "freebsd-net@freebsd.org" Cc: "mike@sentex.net" Sent: Saturday, December 24, 2016 5:25 PM Subject: Re: How to configure another loopback device? fr> > if your first IPs are say 192.168.1.1-2/32 and 2001:550:2:8::1e-f fr> fr> > Try without an alias0 for the first set of IPs fr> fr> > ifconfig_lo1="inet 192.168.1.1/32" fr> > ifconfig_lo1_ipv6="inet6 2001:550:2:8::1e prefixlen 126" fr> > ifconfig_lo1_alias0="inet 192.168.1.2/32" fr> > ifconfig_lo1_ipv6_alias0="inet6 2001:550:2:8::1f prefixlen 126" fr> fr> fr> fr> It does not help: ::1/128 is still on lo1, rather than lo0. > Does adding ifconfig_lo0="inet 127.0.0.1/8" to /etc/rc.conf work? Yes, adding ifconfig_lo0="inet 127.0.0.1/8" helps indeed. Interesting is that if I also add ifconfig_lo0_ipv6="inet6 ::1/128" then ::1/128 will be on lo1. If I do not add that line, it will be on lo0. Looks weird but that workaround work. Thanks.