From owner-freebsd-net@FreeBSD.ORG Wed Jul 30 00:01:40 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FB90F3D for ; Wed, 30 Jul 2014 00:01:40 +0000 (UTC) Received: from mail-qg0-x235.google.com (mail-qg0-x235.google.com [IPv6:2607:f8b0:400d:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2F4D28E1 for ; Wed, 30 Jul 2014 00:01:39 +0000 (UTC) Received: by mail-qg0-f53.google.com with SMTP id q107so561577qgd.26 for ; Tue, 29 Jul 2014 17:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clintarmstrong.net; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=yVz7LSmeH/z/IQPON1bbVZmCRAaiXgbr0jjzi+4bNpM=; b=gJ3aUUHpLZrB1JIfghGXSRoDV+wb2ZF1lazDqEt9FYXXFCF3G50iKbCegKJIDJiPMv y9KHLD4H7QG6XegpvmRWRud0W7kakTVPYrVSdGYp4ojub59JY1DfiSAt6ffx6FbLUk8P KcePK3P+LvfFQE2oL2Yfyz0+vnmIYwAwn99aI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=yVz7LSmeH/z/IQPON1bbVZmCRAaiXgbr0jjzi+4bNpM=; b=PF13iqa+EPsG15Vsd6vPkmiZ/y99AWZUQCsb1cFn8OMnDkEeYkqAyMSb0SOpAFMzyU aaAEd5PcOrpwym7X+2+2UPhl9460FgWWEv8MPDd03JiRJi9QIGxiseCYorcNFah+NtdU of4O8PcZXR0kFzMX+kRSQsnwyBaqXhVDbfz7wCdlqAo9JAq2YUVHX0xKG42SPHgTnGk6 lqdIp5vvKNoFolnyNT/zbnVoo1JqGcDF8oqaTx00oSZmFnG+JElngngemIfDTl3orD0q 1+oNDSI4twFOa1LU6yyuL7C3Y57/KvS2pTMrTKFCsio41X8xk5HuGu9sBBmZcVaELJLr pSkw== X-Gm-Message-State: ALoCoQl0yy5WBpsNFn1ncj+X+ypb7aoCKcnAmFm/REORYpiM9gPUqSOV2R6yYcpg96Jg+UKSJoHi MIME-Version: 1.0 X-Received: by 10.224.86.5 with SMTP id q5mr814861qal.36.1406678499080; Tue, 29 Jul 2014 17:01:39 -0700 (PDT) Received: by 10.140.84.37 with HTTP; Tue, 29 Jul 2014 17:01:39 -0700 (PDT) X-Originating-IP: [2601:4:2a80:2e5:199b:8a33:c335:bff2] Date: Tue, 29 Jul 2014 20:01:39 -0400 Message-ID: Subject: Cannot disable link local addresses on bridge or lagg members From: Clint Armstrong To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 00:01:40 -0000 Is there any known issue that prevents disabling ipv6 and auto_linklocal on members of a lagg or bridge that is using ipv6? I have em0 and em1 which are members of lagg0 and lagg0 is a member of bridge0. This is for a server that runs man jails, including some vnet jails that have tap devices that are a member of the bridge. The handbook says that the host IP address should be on the bridge device itself, which I'm doing, but I can't seem to stop the other interfaces from getting link_local addresses. I have "inet6 ifdisabled -auto_linklocal" set in rc.conf for em0, em1 and lagg0, but all of them get link local addresses regardless. This isn't really causing a problem, because bridge0 is the only one that accepts RAs and ends up being used for IPV6. But I'd still like to clean it up if possible. I've anonymized the mac addresses, but the em0, em1 and lagg0 interfaces all show the same mac address, which I believe is expected. The bridge0 device has a mac address. # rc.conf ifconfig_em0="up" ifconfig_em0_ipv6="inet6 ifdisabled -auto_linklocal" ifconfig_em1="up" ifconfig_em1_ipv6="inet6 ifdisabled -auto_linklocal" ifconfig_lagg0="up laggport em0 laggport em1 laggproto roundrobin" ifconfig_lagg0_ipv6="inet6 ifdisabled -auto_linklocal" ifconfig_bridge0="up addm lagg0 192.168.10.10/24" ifconfig_bridge0_ipv6="inet6 auto_linklocal accept_rtadv" # ifconfig em0: flags=8943 metric 0 mtu 1500 options=4019b ether 00:15:17:XX:XX:XX inet6 fe80::XXXXX:XXXX:XXXX:XXXX%em0 prefixlen 64 scopeid 0x2 nd6 options=9 media: Ethernet autoselect (1000baseT ) status: active em1: flags=8943 metric 0 mtu 1500 options=4019b ether 00:15:17:XX:XX:XX inet6 fe80::XXXX:XXXX:XXXX:XXXX%em1 prefixlen 64 scopeid 0x3 nd6 options=9 media: Ethernet autoselect (1000baseT ) status: active lagg0: flags=8943 metric 0 mtu 1500 options=4019b ether 00:15:17:XX:XX:XX inet6 fe80::XXXX:XXXX:XXXX:XXXX%lagg0 prefixlen 64 scopeid 0x5 nd6 options=9 media: Ethernet autoselect status: active laggproto roundrobin lagghash l2,l3,l4 laggport: em1 flags=4 laggport: em0 flags=4 bridge0: flags=8843 metric 0 mtu 1500 ether 02:34:2f:XX:XX:XX inet 192.168.10.10 netmask 0xffffff00 broadcast 192.168.10.255 inet6 fe80::XXXX:XXXX:XXXX:XXXX%bridge0 prefixlen 64 scopeid 0x6 inet6 2601:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX prefixlen 64 autoconf inet6 fdc3:XXXX:XXXX:XXXX:XXXX:XXXX:XXXX prefixlen 64 autoconf nd6 options=23 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: lagg0 flags=143 ifmaxaddr 0 port 5 priority 128 path cost 55