How to configure another loopback device?
Mike Tancsa
mike at sentex.net
Fri Dec 23 17:06:51 UTC 2016
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 at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada http://www.tancsa.com/
More information about the freebsd-net
mailing list