How to configure another loopback device?

John Dison jdison16 at yahoo.com
Fri Dec 23 14:10:20 UTC 2016


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.


More information about the freebsd-net mailing list