From owner-freebsd-net@FreeBSD.ORG Wed Jan 4 03:19:55 2012 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6EDC106566B for ; Wed, 4 Jan 2012 03:19:55 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper-int.allbsd.org [IPv6:2001:2f0:104:e002::2]) by mx1.freebsd.org (Postfix) with ESMTP id 301698FC12 for ; Wed, 4 Jan 2012 03:19:50 +0000 (UTC) Received: from alph.allbsd.org ([IPv6:2001:2f0:104:e010:862b:2bff:febc:8956]) (authenticated bits=128) by mail.allbsd.org (8.14.4/8.14.4) with ESMTP id q043JbN3068836; Wed, 4 Jan 2012 12:19:47 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.allbsd.org (8.14.4/8.14.4) with ESMTP id q043JX4E020156; Wed, 4 Jan 2012 12:19:36 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Wed, 04 Jan 2012 12:18:29 +0900 (JST) Message-Id: <20120104.121829.822190667587442229.hrs@allbsd.org> To: ptyll@nitronet.pl From: Hiroki Sato In-Reply-To: <1609249417.20120104033600@nitronet.pl> References: <1609249417.20120104033600@nitronet.pl> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.3.51 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart0(Wed_Jan__4_12_18_29_2012_868)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (mail.allbsd.org [IPv6:2001:2f0:104:e001::32]); Wed, 04 Jan 2012 12:19:48 +0900 (JST) X-Spam-Status: No, score=-103.9 required=13.0 tests=BAYES_00, CONTENT_TYPE_PRESENT,FAKEDWORD_ZERO,QENCPTR1,RDNS_NONE,SPF_SOFTFAIL, USER_IN_WHITELIST autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on gatekeeper.allbsd.org Cc: freebsd-ipv6@FreeBSD.org, freebsd-net@FreeBSD.org Subject: Re: NDP Problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 04 Jan 2012 03:19:55 -0000 ----Security_Multipart0(Wed_Jan__4_12_18_29_2012_868)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_Jan__4_12_18_29_2012_152)--" Content-Transfer-Encoding: 7bit ----Next_Part(Wed_Jan__4_12_18_29_2012_152)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Pawel Tyll wrote in <1609249417.20120104033600@nitronet.pl>: pt> Hi lists, pt> pt> I'm observing something strange. pt> pt> ipv6_enable="YES" pt> ipv6_gateway_enable="YES" pt> ipv6_network_interfaces="vlan3901" pt> ipv6_ifconfig_vlan3901="2001:7f8:42::a503:9310:1/64" pt> pt> vlan3901: flags=8943 metric 0 mtu 1500 pt> options=3 pt> ether 00:15:17:38:13:7f pt> inet6 fe80::92e2:baff:fe02:20bc%vlan3901 prefixlen 64 scopeid 0xf pt> inet 195.182.218.230 netmask 0xfffffe00 broadcast 195.182.219.255 pt> inet6 2001:7f8:42::a503:9310:1 prefixlen 64 pt> nd6 options=3 pt> media: Ethernet autoselect (1000baseT ) pt> status: active pt> vlan: 3901 parent interface: igb1 pt> pt> NDP doesn't work. pt> pt> After adding a static entry with ndp -s, communication is possible. pt> net.inet6.ip6.fw.enable: 0 pt> pt> Any ideas? :) Does the attached patch (for 8.x kernel) fix your problem? -- Hiroki ----Next_Part(Wed_Jan__4_12_18_29_2012_152)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="in6_ifattach.c.RELENG_8.20110104-1.diff" Index: sys/netinet6/in6_ifattach.c =================================================================== RCS file: /home/ncvs/src/sys/netinet6/in6_ifattach.c,v retrieving revision 1.74.2.3.4.1 diff -u -r1.74.2.3.4.1 in6_ifattach.c --- sys/netinet6/in6_ifattach.c 21 Dec 2010 17:09:25 -0000 1.74.2.3.4.1 +++ sys/netinet6/in6_ifattach.c 4 Jan 2012 03:17:29 -0000 @@ -267,6 +267,7 @@ /* get EUI64 */ switch (ifp->if_type) { case IFT_ETHER: + case IFT_L2VLAN: case IFT_FDDI: case IFT_ISO88025: case IFT_ATM: ----Next_Part(Wed_Jan__4_12_18_29_2012_152)---- ----Security_Multipart0(Wed_Jan__4_12_18_29_2012_868)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAk8DxQUACgkQTyzT2CeTzy32pwCfSlISPZw1oJWnahHlh68ZvQCW ApcAn2hG1JRa3G9qZByUPWOBRtFP0JLs =Uh9h -----END PGP SIGNATURE----- ----Security_Multipart0(Wed_Jan__4_12_18_29_2012_868)----