Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2016 16:27:46 +0100
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        John Dison <jdison16@yahoo.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: How to configure another loopback device?
Message-ID:  <585D4272.2010706@quip.cz>
In-Reply-To: <1031105507.1010181.1482502206363@mail.yahoo.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?585D4272.2010706>