Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jan 2012 12:18:29 +0900 (JST)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ptyll@nitronet.pl
Cc:        freebsd-ipv6@FreeBSD.org, freebsd-net@FreeBSD.org
Subject:   Re: NDP Problem
Message-ID:  <20120104.121829.822190667587442229.hrs@allbsd.org>
In-Reply-To: <1609249417.20120104033600@nitronet.pl>
References:  <1609249417.20120104033600@nitronet.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
----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 <ptyll@nitronet.pl> 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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
pt>         options=3<RXCSUM,TXCSUM>
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<PERFORMNUD,ACCEPT_RTADV>
pt>         media: Ethernet autoselect (1000baseT <full-duplex>)
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)----



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