On 01/26/2015 07:09 PM, Ondrej Zajicek wrote:
You cannot. OSPFv3 is expected to always generate routes with link-local gateways.
Interesting, I didn't know that. What I'm trying to do is to allow LXC containers in a host to connect to containers in a different host, having the hosts act as gateways; this is what it looks like: +--------+ fd77:a::1 fd77:a::2 +--------+ | host 1 |---------------------------| host 2 | +--------+ +--------+ | fd77:c::1:1 fd77:c::2:1 | | | | fd77:c::1:2 fd77:c::2:2 | +-------------+ +-------------+ | container 1 | | container 2 | +-------------+ +-------------+ I'd like a web page running in container 1, por example, to be able to access a database running in container 2. I expected to be able to insert the route below via OSPF (everything works as expected when I insert them manually): on host 1: route to network fd77:c:2/80 via fd77:a::2 on host 2: route to network fd77:c:1/80 via fd77:a::1 but with OSPF the routes are added with the link-local addresses as gateways so, a container can't reach the other (actually not even a host can reach a container in another host). Can you see a way to make this work? Thanks in advance, Andre