Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2016 14:10:06 +0000 (UTC)
From:      John Dison <jdison16@yahoo.com>
To:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: How to configure another loopback device?
Message-ID:  <1031105507.1010181.1482502206363@mail.yahoo.com>
In-Reply-To: <1799694948.900229.1482490080295@mail.yahoo.com>
References:  <484245134.901856.1482481724608.ref@mail.yahoo.com> <484245134.901856.1482481724608@mail.yahoo.com> <1799694948.900229.1482490080295@mail.yahoo.com>

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

Any suggestions?

Thanks.



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