On Wed, Mar 23, 2016 at 09:40:24PM +0900, stephane Tranchemer wrote: > So the connection should be fine, problem is how to get gateway information > on the hosts behind the router...
> FYI, I have a /56 class assigned. So it sounds like this should work: Make sure your router can ping the IPv6 interface across its pppoe1 interface with the link-local address assigned. BTW, if you set the netmask of pppeo1 to 128, you'll see the peer's address in the output of ifconfig pppoe1. You can use that as default route, or you can use pppoe1's own link-local address as default route. Alternatively just keep using your fe80:: default route. Which option you choose really doesn't matter, it's a point-to-point link so as long as you push packets across it somehow they will reach the other end. As long as you can ping global IPv6 addresses from the router, you're set. Now assign a /64, carved out of your /56, to the internal interface. Pick one (any) address out of this /64 for your router's internal interface. Run rtadvd(8) on the internal interface. Either use IPv6 autoconf on the clients, or statically assign unique addresses from the /64 to them and use the router's address from the /64 as gateway address (default route) on clients. Ensure that sysctl net.inet6.ip6.forwarding=1 is set on your router, and use pf(4) to filter IPv6 traffic as needed.
