How to configure another loopback device?
Miroslav Lachman
000.fbsd at quip.cz
Fri Dec 23 15:27:51 UTC 2016
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
More information about the freebsd-net
mailing list