From owner-freebsd-net@freebsd.org Sat Dec 17 16:39:35 2016 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 21068C84C19 for ; Sat, 17 Dec 2016 16:39:35 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from butcher-nb.yandex.net (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 44D25153F; Sat, 17 Dec 2016 16:39:33 +0000 (UTC) (envelope-from ae@FreeBSD.org) Subject: Re: Trouble with ipv6 routing through interface To: Anderson Soares Ferreira , freebsd-net@freebsd.org References: <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com> From: "Andrey V. Elsukov" Cc: "Alexander V. Chernikov" , "Bjoern A. Zeeb" , Hiroki Sato , Mark Johnston Message-ID: Date: Sat, 17 Dec 2016 19:38:43 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0Ci9LEN5KmsP3q2STjP8HIimuMqB1oVP5" 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: Sat, 17 Dec 2016 16:39:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0Ci9LEN5KmsP3q2STjP8HIimuMqB1oVP5 Content-Type: multipart/mixed; boundary="raF9pboL6PTqJ5GWwSTKfNsx5O7b9Usqa"; protected-headers="v1" From: "Andrey V. Elsukov" To: Anderson Soares Ferreira , freebsd-net@freebsd.org Cc: "Alexander V. Chernikov" , "Bjoern A. Zeeb" , Hiroki Sato , Mark Johnston Message-ID: Subject: Re: Trouble with ipv6 routing through interface References: <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com> In-Reply-To: <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com> --raF9pboL6PTqJ5GWwSTKfNsx5O7b9Usqa Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 16.12.2016 03:24, Anderson Soares Ferreira wrote: > I have a freebsd 11 box running as my network gateway and I=E2=80=99m h= aving > some trouble trying to route ipv6 packets through an interface with > only linklocal address. In short, what I=E2=80=99m doing is: >=20 > My freebsd gateway has one global scope address on lo0 interface, > each other interface has only a link local address fe80::1. Static > routes for the global scope subnets have been created, Each route was > created using the command: >=20 > # route -6 add -net /64 -interface >=20 > The clients on each subnet have a global scope address and fe80::1 as > default gateway. >=20 > What is happening with this approach is that my gateway can=E2=80=99t r= each > the clients on the subnets. Ping tests from the gateway to the client > return the error "ping6: sendmsg: No buffer space available=E2=80=9D. O= n the Hi, this ENOBUFS error is returned from ND6 code. Due to the lack of prefixes, layer2 doesn't consider that destination address is a neighbor.= > other hand, when I try to do a ping from client to gateway, the > packets from the client are received by the gateway but no response > is sent. In my tests using a linux gateway with the same approach, > everything worked fine . I'm not sure how this should be fixed. --=20 WBR, Andrey V. Elsukov --raF9pboL6PTqJ5GWwSTKfNsx5O7b9Usqa-- --0Ci9LEN5KmsP3q2STjP8HIimuMqB1oVP5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEsBAEBCAAWBQJYVWoUDxxhZUBmcmVlYnNkLm9yZwAKCRABxeoEEMihevVsCACF KmcJOX/jVbbs9bU7XeckpLEpYvn+Cr1tBzfXI/dgO4OhKYCeagv+EvTXptFJl0w3 T2kMvtfP53kCxsJSwMFOK0oz+HLnnNiY6HuZiUDeU6tVrgl+lEgv/NKOyPGbBa8i wcPKlZj4n1vMhwbQVeIlAJzltgfFvWfcEA96sXyi+GKT8Is2xrKFPrkYBsG92/v/ PUTwy8X6JLiHCLJqh/NhYs9Lf9qzTsn923eD7sVUeg+PbxJ2QG93ckSjHbn5TjiX /nfGBkZ2zCj9byulOcrHgqZbRv8Hr2M6//kaoN+oeR2RqrqAIm+JJ1XXFSaD6YUS mZQd4jJHZiCZcsLEtHWZ =ABgl -----END PGP SIGNATURE----- --0Ci9LEN5KmsP3q2STjP8HIimuMqB1oVP5--