Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2016 16:52:48 +0000 (UTC)
From:      John Dison <jdison16@yahoo.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>,  "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: How to configure another loopback device?
Message-ID:  <301695008.1064517.1482511968553@mail.yahoo.com>
In-Reply-To: <585D4272.2010706@quip.cz>
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> <585D4272.2010706@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?301695008.1064517.1482511968553>