Le 2012-08-31 10:52, Remi Locherer a écrit :
Gateway Address: 2001:db8:1:1110::1/64
Subnet I can use: 2001:db8:1:1111/64

For Linux they give these instructions:
linux# ip route add 2001:db8:1:1110::1 dev eth0
linux# ip route add default via 2001:db8:1:1110::1

I would understand this to mean:

a---[You]---b---[Them]---Internet

Right except there is no network a. On [You] there is only one
interface (rl0).

So? It allows you to create such a network a. That's the point.

You don't need a physical interface. There are many kinds of network interfaces that you can create yourself (loopback, tunnels, etc.). Have some imagination.

a = 2001:db8:1:1111::/64
b = 2001:db8:1:1110::/64

You on a = 2001:db8:1:1111::<whatever>
You on b = 2001:db8:1:1110::<whatever except 1>
Them on b = 2001:db8:1:1110::1

If you don't need a, don't configure it.

If I now assign for example 2001:db8:1:1111:1/64 to the interface on my
server it doesn't let me set the default gateway becaus it's not in the
same subnet:

openbsd# ifconfig rl0 inet6 2001:db8:1:1111:/64
openbsd# route add -inet6 default 2001:db8:1:1110::1
route: writing to routing socket: Network is unreachable
add net default: gateway 2001:db8:1:1110::1: Network is unreachable

I tried:
openbsd# route add -inet6 -iface 2001:db8:1:1110::1 2001:db8:1:1111::1
openbsd# route add -inet6 default 2001:db8:1:1110::1

But now it's not possible to ping6 2001:db8:1:1110::1 or any other IPv6
address.

Yeah that's all wrong. Assuming that rl0 is on network b, try:

ifconfig rl0 inet6 2001:db8:1:1110::2
route add -inet6 default 2001:db8:1:1110::1

This works. But I have to figure out (ask Hetzner) if I'm the only
customer they use 2001:db8:1:1110::/64 (I think so).

If not it would mean there are multiple customers on network b. That would be somewhat unusual.

Also over their web interface they only offer me to create DNS entries
for 2001:db8:1:1111::/64.

This make total sense. Just assign yourself an address from that prefix, e.g. on the loopback interface.

Simon

Reply via email to