How to configure another loopback device?

Hiroki Sato hrs at FreeBSD.org
Sat Dec 24 11:57:47 UTC 2016


John Dison via freebsd-net <freebsd-net at freebsd.org> wrote
  in <1404669989.1370681.1482573468893 at mail.yahoo.com>:

fr> > if your first IPs are say 192.168.1.1-2/32 and 2001:550:2:8::1e-f
fr>
fr> > Try without an alias0 for the first set of IPs
fr>
fr> > ifconfig_lo1="inet 192.168.1.1/32"
fr> > ifconfig_lo1_ipv6="inet6 2001:550:2:8::1e prefixlen 126"
fr> > ifconfig_lo1_alias0="inet 192.168.1.2/32"
fr> > ifconfig_lo1_ipv6_alias0="inet6 2001:550:2:8::1f prefixlen 126"
fr>
fr>
fr>
fr> It does not help:  ::1/128 is still on lo1, rather than lo0.

 Does adding ifconfig_lo0="inet 127.0.0.1/8" to /etc/rc.conf work?

-- Hiroki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20161224/5cfc2fe8/attachment.sig>


More information about the freebsd-net mailing list