From owner-freebsd-net@freebsd.org Fri Dec 23 15:27:51 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 896B3C8EE40 for ; Fri, 23 Dec 2016 15:27:51 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F0D41252 for ; Fri, 23 Dec 2016 15:27:50 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 9BB1328489; Fri, 23 Dec 2016 16:27:47 +0100 (CET) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id E936028471; Fri, 23 Dec 2016 16:27:46 +0100 (CET) Subject: Re: How to configure another loopback device? To: John Dison , "freebsd-net@freebsd.org" References: <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> <1799694948.900229.1482490080295@mail.yahoo.com> <1031105507.1010181.1482502206363@mail.yahoo.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <585D4272.2010706@quip.cz> Date: Fri, 23 Dec 2016 16:27:46 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: <1031105507.1010181.1482502206363@mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Fri, 23 Dec 2016 15:27:51 -0000 John Dison via freebsd-net wrote on 2016/12/23 15:10: > Sorry, just noticed damn yahoo mailer eat all line breaks. Resending in plain text (I hope): > > I want to configure lo1 loopback device and assign aliases to it via rc.conf system (at boot). > I also want loopback addresses to remain on lo0. > > What I have: > ipv6_activate_all_interfaces="YES" > ifconfig_lo1_alias0="inet IP4/32" > ifconfig_lo1_alias1="inet6 IP6/128" > cloned_interfaces="lo1" > create_args_lo1="inet6 auto_linklocal" > > > As a result I have: > > 1) inet6 ::1 prefixlen 128 is configured on lo1 (I want it to stay at lo0) > 2) IP6 alias is missing from lo1 at all > > I can achieve the desired configuration from command line, but I am unable to do the same via rc.conf. I don't have much experiences with IPv6. Can you post 'ifconfig' output with right (manual) settings and the second one with the wrong settings you have from rc.conf? Miroslav Lachman