Date: Sat, 17 Dec 2016 19:38:43 +0300 From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: Anderson Soares Ferreira <anderson.ferreira@gmx.com>, freebsd-net@freebsd.org Cc: "Alexander V. Chernikov" <melifaro@freebsd.org>, "Bjoern A. Zeeb" <bz@FreeBSD.org>, Hiroki Sato <hrs@FreeBSD.org>, Mark Johnston <markj@freebsd.org> Subject: Re: Trouble with ipv6 routing through interface Message-ID: <c5400b5d-a391-c688-f569-d2f129925a89@FreeBSD.org> In-Reply-To: <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com> References: <780FE1FC-EA67-4593-BC0A-259F4B8E7FB5@gmx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <ae@FreeBSD.org> To: Anderson Soares Ferreira <anderson.ferreira@gmx.com>, freebsd-net@freebsd.org Cc: "Alexander V. Chernikov" <melifaro@freebsd.org>, "Bjoern A. Zeeb" <bz@FreeBSD.org>, Hiroki Sato <hrs@FreeBSD.org>, Mark Johnston <markj@freebsd.org> Message-ID: <c5400b5d-a391-c688-f569-d2f129925a89@FreeBSD.org> 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 <net address>/64 -interface <dev> >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c5400b5d-a391-c688-f569-d2f129925a89>