How to configure another loopback device?

John Dison jdison16 at yahoo.com
Fri Dec 23 16:52:59 UTC 2016



> 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?



With these rc.conf settings I get:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000 
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

(missing ::1/128)

lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo1 prefixlen 64 scopeid 0x4 
inet IP4 netmask 0xffffffff 
inet6 IP6 prefixlen 128
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

(extra ::1, I want it to remain on lo0)

With manual configuration I get:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128 
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
inet 127.0.0.1 netmask 0xff000000 
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

(standard localhost configuration, both 127.0.0.1 and ::1 are here)

lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet IP4 netmask 0xffffffff 
inet6 IP6 prefixlen 128 
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

(Okay, neither 127.0.0.1 nor ::1 are here)


More information about the freebsd-net mailing list