Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2014 07:45:54 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        Hiroki Sato <hrs@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: IPv6: "xxx::x already configured" in logs... =?UTF-8?Q?why=3F?=
Message-ID:  <0c5bc901eba87f35e58390b686cee5ab@thebighonker.lerctr.org>
In-Reply-To: <20140620.130812.1612764660960146940.hrs@allbsd.org>
References:  <20140612202349.GA65079@thebighonker.lerctr.org> <20140619.181129.1279477227287764712.hrs@allbsd.org> <20140619140801.GA65420@thebighonker.lerctr.org> <20140620.130812.1612764660960146940.hrs@allbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-06-19 23:08, Hiroki Sato wrote:
> Larry Rosenman <ler@lerctr.org> wrote
>   in <20140619140801.GA65420@thebighonker.lerctr.org>:
> 
> le> > le> Ideas? (I may be an idiot, so any criticism welcomed).
> le> > le>
> le> > le> if you need the 1841's config, I can supply that as well.
> It's using a Hurricane
> le> > le> electric Tunnel.
> le> >
> le> >  How frequent were the log message added into /var/log/messages?  
> And
> le> >  when did it start to happen after boot.  Just after lagg0 is
> le> >  configured?
> le> >
> le> > -- Hiroki
> le> Looks like:
> le>
> le> Jun 12 07:00:01 thebighonker kernel: in6_ifadd:
> 2001:470:1f0f:3ad:223:7dff:fe9e:6e8a is already configured
> 
>  Thank you.  Three more questions:
> 
>  1. output of "ifconfig lagg0", "ifconfig bce0", and "ifconfig bce1".
> 
>  2. output of "netstat -s -i".
> 
>  3. output of "ndp -p".
> 
>  The cause of the message is that the automatically-configured address
>  is not recognized as "configured" one and FreeBSD IPv6 stack is
>  trying to add it every time a Router Advertisement message is
>  received.  I am still not sure why it happened, but the above three
>  would help for further investigation.
> 
> -- Hiroki
I updated the system from r267121M to r267653M and rebooted.  The issue 
does NOT occur at this level.

thebighonker.lerctr.org /etc/rc.d $ ifconfig lagg0
lagg0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
1500
	options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
	ether 00:23:7d:9e:6e:8a
	inet 192.147.25.65 netmask 0xffffff00 broadcast 192.147.25.255
	inet6 fe80::223:7dff:fe9e:6e8a%lagg0 prefixlen 64 scopeid 0x4
	inet 192.147.25.45 netmask 0xffffff00 broadcast 192.147.25.255
	inet 192.147.25.11 netmask 0xffffff00 broadcast 192.147.25.255
	inet 192.147.25.66 netmask 0xffffff00 broadcast 192.147.25.255
	inet6 2001:470:1f0f:3ad:223:7dff:fe9e:6e8a prefixlen 64 autoconf
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
	media: Ethernet autoselect
	status: active
	laggproto loadbalance lagghash l2,l3,l4
	laggport: bce1 flags=4<ACTIVE>
	laggport: bce0 flags=4<ACTIVE>
thebighonker.lerctr.org /etc/rc.d $ ifconfig bce0
bce0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
1500
	options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
	ether 00:23:7d:9e:6e:8a
	inet6 fe80::223:7dff:fe9e:6e8a%bce0 prefixlen 64 tentative scopeid 0x1
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
thebighonker.lerctr.org /etc/rc.d $ ifconfig bce1
bce1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 
1500
	options=c01bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
	ether 00:23:7d:9e:6e:8a
	inet6 fe80::223:7dff:fe9e:6e8a%bce1 prefixlen 64 tentative scopeid 0x2
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
thebighonker.lerctr.org /etc/rc.d $

thebighonker.lerctr.org /etc/rc.d $ netstat -s -i
ip6 on bce0:
	0 total input datagrams
	0 datagrams with invalid header received
	0 datagrams exceeded MTU received
	0 datagrams with no route received
	0 datagrams with invalid dst received
	0 datagrams with unknown proto received
	0 truncated datagrams received
	0 input datagrams discarded
	0 datagrams delivered to an upper layer protocol
	0 datagrams forwarded to this interface
	4 datagrams sent from an upper layer protocol
	0 total discarded output datagrams
	0 output datagrams fragmented
	0 output datagrams failed on fragment
	0 output datagrams succeeded on fragment
	0 incoming datagrams fragmented
	0 datagrams reassembled
	0 datagrams failed on reassembly
	0 multicast datagrams received
	4 multicast datagrams sent
ip6 on bce1:
	0 total input datagrams
	0 datagrams with invalid header received
	0 datagrams exceeded MTU received
	0 datagrams with no route received
	0 datagrams with invalid dst received
	0 datagrams with unknown proto received
	0 truncated datagrams received
	0 input datagrams discarded
	0 datagrams delivered to an upper layer protocol
	0 datagrams forwarded to this interface
	4 datagrams sent from an upper layer protocol
	0 total discarded output datagrams
	0 output datagrams fragmented
	0 output datagrams failed on fragment
	0 output datagrams succeeded on fragment
	0 incoming datagrams fragmented
	0 datagrams reassembled
	0 datagrams failed on reassembly
	0 multicast datagrams received
	4 multicast datagrams sent
ip6 on lo0:
	45224 total input datagrams
	0 datagrams with invalid header received
	0 datagrams exceeded MTU received
	0 datagrams with no route received
	0 datagrams with invalid dst received
	0 datagrams with unknown proto received
	0 truncated datagrams received
	0 input datagrams discarded
	45224 datagrams delivered to an upper layer protocol
	0 datagrams forwarded to this interface
	45224 datagrams sent from an upper layer protocol
	0 total discarded output datagrams
	0 output datagrams fragmented
	0 output datagrams failed on fragment
	0 output datagrams succeeded on fragment
	0 incoming datagrams fragmented
	0 datagrams reassembled
	0 datagrams failed on reassembly
	0 multicast datagrams received
	0 multicast datagrams sent
ip6 on lagg0:
	66698 total input datagrams
	0 datagrams with invalid header received
	0 datagrams exceeded MTU received
	0 datagrams with no route received
	0 datagrams with invalid dst received
	0 datagrams with unknown proto received
	0 truncated datagrams received
	1 input datagram discarded
	66698 datagrams delivered to an upper layer protocol
	0 datagrams forwarded to this interface
	70844 datagrams sent from an upper layer protocol
	0 total discarded output datagrams
	1505 output datagrams fragmented
	0 output datagrams failed on fragment
	3037 output datagrams succeeded on fragment
	477 incoming datagrams fragmented
	224 datagrams reassembled
	0 datagrams failed on reassembly
	498 multicast datagrams received
	3 multicast datagrams sent
icmp6 on bce0:
	0 total input messages
	0 total input error messages
	0 input destination unreachable errors
	0 input administratively prohibited errors
	0 input time exceeded errors
	0 input parameter problem errors
	0 input packet too big errors
	0 input echo requests
	0 input echo replies
	0 input router solicitations
	0 input router advertisements
	0 input neighbor solicitations
	0 input neighbor advertisements
	0 input redirects
	0 input MLD queries
	0 input MLD reports
	0 input MLD dones
	0 total output messages
	0 total output error messages
	0 output destination unreachable errors
	0 output administratively prohibited errors
	0 output time exceeded errors
	0 output parameter problem errors
	0 output packet too big errors
	0 output echo requests
	0 output echo replies
	0 output router solicitations
	0 output router advertisements
	0 output neighbor solicitations
	0 output neighbor advertisements
	0 output redirects
	0 output MLD queries
	0 output MLD reports
	0 output MLD dones
icmp6 on bce1:
	0 total input messages
	0 total input error messages
	0 input destination unreachable errors
	0 input administratively prohibited errors
	0 input time exceeded errors
	0 input parameter problem errors
	0 input packet too big errors
	0 input echo requests
	0 input echo replies
	0 input router solicitations
	0 input router advertisements
	0 input neighbor solicitations
	0 input neighbor advertisements
	0 input redirects
	0 input MLD queries
	0 input MLD reports
	0 input MLD dones
	0 total output messages
	0 total output error messages
	0 output destination unreachable errors
	0 output administratively prohibited errors
	0 output time exceeded errors
	0 output parameter problem errors
	0 output packet too big errors
	0 output echo requests
	0 output echo replies
	0 output router solicitations
	0 output router advertisements
	0 output neighbor solicitations
	0 output neighbor advertisements
	0 output redirects
	0 output MLD queries
	0 output MLD reports
	0 output MLD dones
icmp6 on lo0:
	4 total input messages
	4 total input error messages
	4 input destination unreachable errors
	0 input administratively prohibited errors
	0 input time exceeded errors
	0 input parameter problem errors
	0 input packet too big errors
	0 input echo requests
	0 input echo replies
	0 input router solicitations
	0 input router advertisements
	0 input neighbor solicitations
	0 input neighbor advertisements
	0 input redirects
	0 input MLD queries
	0 input MLD reports
	0 input MLD dones
	4 total output messages
	4 total output error messages
	4 output destination unreachable errors
	0 output administratively prohibited errors
	0 output time exceeded errors
	0 output parameter problem errors
	0 output packet too big errors
	0 output echo requests
	0 output echo replies
	0 output router solicitations
	0 output router advertisements
	0 output neighbor solicitations
	0 output neighbor advertisements
	0 output redirects
	0 output MLD queries
	0 output MLD reports
	0 output MLD dones
icmp6 on lagg0:
	3475 total input messages
	10 total input error messages
	0 input destination unreachable errors
	0 input administratively prohibited errors
	0 input time exceeded errors
	0 input parameter problem errors
	10 input packet too big errors
	0 input echo requests
	6 input echo replies
	0 input router solicitations
	495 input router advertisements
	1895 input neighbor solicitations
	1069 input neighbor advertisements
	0 input redirects
	0 input MLD queries
	0 input MLD reports
	0 input MLD dones
	2994 total output messages
	22 total output error messages
	22 output destination unreachable errors
	0 output administratively prohibited errors
	0 output time exceeded errors
	0 output parameter problem errors
	0 output packet too big errors
	6 output echo requests
	0 output echo replies
	1 output router solicitation
	0 output router advertisements
	1069 output neighbor solicitations
	1895 output neighbor advertisements
	0 output redirects
	0 output MLD queries
	1 output MLD report
	0 output MLD dones
thebighonker.lerctr.org /etc/rc.d $

thebighonker.lerctr.org /etc/rc.d $ ndp -p
2001:470:1f0f:3ad::/64 if=lagg0
flags=LAO vltime=2592000, pltime=604800, expire=29d23h57m21s, ref=1
   advertised by
     fe80::218:18ff:fe72:488%lagg0 (reachable)
fe80::%lagg0/64 if=lagg0
flags=LAO vltime=infinity, pltime=infinity, expire=Never, ref=0
   No advertising router
fe80::%bce1/64 if=bce1
flags=LAO vltime=infinity, pltime=infinity, expire=Never, ref=0
   No advertising router
fe80::%bce0/64 if=bce0
flags=LAO vltime=infinity, pltime=infinity, expire=Never, ref=0
   No advertising router
fe80::%lo0/64 if=lo0
flags=LAO vltime=infinity, pltime=infinity, expire=Never, ref=0
   No advertising router
thebighonker.lerctr.org /etc/rc.d $

The local mods are Karl Denninger's ZFS ARC patch.

So, I'm not sure what to say at this point.

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler@lerctr.org
US Mail: 108 Turvey Cove, Hutto, TX 78634-5688



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