Trouble with ipv6 routing through interface

Anderson Soares Ferreira anderson.ferreira at gmx.com
Fri Dec 16 00:24:20 UTC 2016


Hello,

I have a freebsd 11 box running as my network gateway and I’m having some trouble trying to route ipv6 packets through an interface with only linklocal address.
In short, what I’m doing is:

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:

	# route -6 add -net <net address>/64 -interface <dev>
 
The clients on each subnet have a global scope address and fe80::1 as default gateway.

What is happening with this approach is that my gateway can’t reach the clients on the subnets. Ping tests from the gateway to the client return the error "ping6: sendmsg: No buffer space available”. On the 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 .

Is there something wrong with my setup? How can I get that approach working using freebsd ?

Thanks in advanced,

Anderson 




More information about the freebsd-net mailing list