Date: Fri, 23 Dec 2016 12:06:43 -0500 From: Mike Tancsa <mike@sentex.net> To: John Dison <jdison16@yahoo.com>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: How to configure another loopback device? Message-ID: <f05aaf0b-0066-2f1b-8fe1-7fd826b3f6c6@sentex.net> 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
On 12/23/2016 9:10 AM, John Dison via freebsd-net wrote: > 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: > ifconfig_lo1_alias0="inet IP4/32" > ifconfig_lo1_alias1="inet6 IP6/128" > cloned_interfaces="lo1" > create_args_lo1="inet6 auto_linklocal" > if your first IPs are say 192.168.1.1-2/32 and 2001:550:2:8::1e-f Try without an alias0 for the first set of IPs ifconfig_lo1="inet 192.168.1.1/32" ifconfig_lo1_ipv6="inet6 2001:550:2:8::1e prefixlen 126" ifconfig_lo1_alias0="inet 192.168.1.2/32" ifconfig_lo1_ipv6_alias0="inet6 2001:550:2:8::1f prefixlen 126" ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f05aaf0b-0066-2f1b-8fe1-7fd826b3f6c6>