From owner-freebsd-net@freebsd.org Sun Dec 25 17:51:42 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 26B04C90DD4 for ; Sun, 25 Dec 2016 17:51:42 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.allbsd.org", Issuer "RapidSSL SHA256 CA - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2A641AFD for ; Sun, 25 Dec 2016 17:51:41 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail-d.allbsd.org (p2027-ipbf1605funabasi.chiba.ocn.ne.jp [123.225.191.27]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id uBPHpIAk008033 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) (Client CN "/OU=GT07882699/OU=See+20www.rapidssl.com/resources/cps+20+28c+2915/OU=Domain+20Control+20Validated+20-+20RapidSSL+28R+29/CN=*.allbsd.org", Issuer "/C=US/O=GeoTrust+20Inc./CN=RapidSSL+20SHA256+20CA+20-+20G3"); Mon, 26 Dec 2016 02:51:38 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from alph.allbsd.org (alph.allbsd.org [192.168.0.10]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id uBPHo3XW020057 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 26 Dec 2016 02:50:03 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.15.2/8.15.2) with ESMTPA id uBPHo3gs020054; Mon, 26 Dec 2016 02:50:03 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 26 Dec 2016 02:45:52 +0900 (JST) Message-Id: <20161226.024552.1280870399257773844.hrs@allbsd.org> To: jdison16@yahoo.com Cc: freebsd-net@freebsd.org Subject: Re: How to configure another loopback device? From: Hiroki Sato In-Reply-To: <788296467.1718144.1482676705910@mail.yahoo.com> References: <20161225.065934.1192800130496756773.hrs@allbsd.org> <1821478968.1639587.1482657592713@mail.yahoo.com> <788296467.1718144.1482676705910@mail.yahoo.com> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Mon_Dec_26_02_45_52_2016_750)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.4.3 (mail.allbsd.org [133.31.130.32]); Mon, 26 Dec 2016 02:51:39 +0900 (JST) X-Spam-Status: No, score=-99.9 required=13.0 tests=CONTENT_TYPE_PRESENT, QENCPTR1,USER_IN_WHITELIST autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on gatekeeper.allbsd.org 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: Sun, 25 Dec 2016 17:51:42 -0000 ----Security_Multipart(Mon_Dec_26_02_45_52_2016_750)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit John Dison wrote in <788296467.1718144.1482676705910@mail.yahoo.com>: jd> Also one more thing which looks strange: if I use jd> ifconfig_lo1_ipv6="inet6 auto_linklocal", then ipv6 aliases on lo1 are jd> configured correctly, but there is no link-local address. If I jd> exclude this line from rc.conf, then no ipv6 aliases are configured at jd> all (only ipv4). auto_linklocal does not work on the second loopback interface because multiple loopback interface support for IPv6 is incomplete at this moment. You need to add fe80::1%lo1 (or similar) manually if you want an LLA. The ifconfig_IF_ipv6 line determines whether the interface uses IPv6 or not. So if you drop it, all of inet6 configuration such as ifconfig_IF_aliasN="inet6..." will be ignored. -- Hiroki ----Security_Multipart(Mon_Dec_26_02_45_52_2016_750)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlhgBdAACgkQTyzT2CeTzy1o4wCfRMumL3I2Mq42/e+Cxk8qgaJG xm0An3Y6RtcCgJMNSXE4Nl/Rx3Q99n9N =kLO9 -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Dec_26_02_45_52_2016_750)----