From owner-freebsd-net@freebsd.org Thu Mar 30 02:50:15 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7523ED25BA1 for ; Thu, 30 Mar 2017 02:50:15 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from mr11p00im-asmtp003.me.com (mr11p00im-asmtp003.me.com [17.110.69.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A3BBF9B; Thu, 30 Mar 2017 02:50:15 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from process-dkim-sign-daemon.mr11p00im-asmtp003.me.com by mr11p00im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) id <0ONL00600WQO1C00@mr11p00im-asmtp003.me.com>; Thu, 30 Mar 2017 02:49:59 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=4d515a; t=1490842199; bh=CRTnuyKveqEF0TCgNyVEsXYXzoYR3EcnqF1BRrpmy2w=; h=MIME-version:Content-type:Message-id:Subject:From:To:Date; b=iQT0MkW+D+UteOM7K0J5OGJg2l8sgPAFL04O9VwAIWHexs+9PWJNxcnTCeu6j2O2g sPFfSjgcBXqaOG9pzoohzg0Q4eQdVjHPuhlr98Y50eUY8khStHFdcVOy/tZDzPgTBs WChsMr3tTSOMs+m9i/dn4e3mtYVKGrjNyJdEKpe4p5kGCgsMlD8bfk6XJs2F0UPPnI S02UBini/7JC2geKwbGNFyPIxn0tFxZs4nzwnu655KZTHH26Ats33lgflSpRyrO8lZ 8+XmEGSZzR106PhN+SPqYDeVR0mvzzYmYqDdcu4tZcYejzhqmF9FTtCewHAV1qy8Ko iSlCWzYjIJXfw== MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; charset=UTF-8 Received: from icloud.com ([127.0.0.1]) by mr11p00im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.38.0 64bit (built Feb 26 2016)) with ESMTPSA id <0ONL00M9RX77XY30@mr11p00im-asmtp003.me.com>; Thu, 30 Mar 2017 02:49:56 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-30_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1034 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1701120000 definitions=main-1703300025 Message-id: <1490842195.3260.35.camel@me.com> Subject: Re: IPv6: "xxx::x already configured" in logs... why? From: Rui Paulo To: Lawrence Stewart , freebsd-net@freebsd.org Cc: Hiroki Sato , ler@lerctr.org Date: Wed, 29 Mar 2017 19:49:55 -0700 In-reply-to: References: <20140612202349.GA65079@thebighonker.lerctr.org> <20140619.181129.1279477227287764712.hrs@allbsd.org> <20140619140801.GA65420@thebighonker.lerctr.org> <20140620.130812.1612764660960146940.hrs@allbsd.org> X-Mailer: Evolution 3.22.5-1 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2017 02:50:15 -0000 On Wed, 2017-03-29 at 21:46 -0500, Lawrence Stewart wrote: > [resurrecting an old thread] > > On 19/06/2014 23:08, Hiroki Sato wrote: > > Larry Rosenman 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. > > I've recently set up a VPS with v6 and am seeing the same "in6_ifadd: > is already configured" messages in response to periodically > received router advertisements every 5-10 mins. The host is a KVM- > based > virtual machine with vtnet-based NIC. v6 is fully functional with the > statically assigned v6 address, but the spam in /var/log/messages is > annoying. > > > FreeBSD revision: >   FreeBSD lauren 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r315059: Sun > Mar > 12 20:44:50 AEDT 2017 > root@builder-head-amd64:/usr/obj/lauren/usr/src/sys/GENERIC- > NODEBUG  amd64 > > > Relevant bits from /etc/rc.conf: >   rtsold_enable="YES" >   ipv6_activate_all_interfaces="YES" >   rtsold_flags="-aF" >   ifconfig_vtnet0_ipv6="inet6 prefixlen 64" > > > Interface: >   vtnet0: flags=8843 metric 0 > mtu 1500 > > options=6c07bb WCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> >         ether >         inet netmask 0xfffffe00 broadcast >         inet6 %vtnet0 prefixlen 64 scopeid 0x1 >         inet6 prefixlen 64 >         nd6 options=23 >         media: Ethernet 10Gbase-T >         status: active > > > I would have thought rtsold should be able to play nice with > statically > assigned v6 addresses... any ideas? Hmm, why would it? If you setup an IPv6 address and then there's a router solicitation advertising the same address, the log message makes sense. I don't think you should run rtsold if you have a static IPv6 address. -- Rui Paulo