Re: openvpn over ipv6 /65
- Date: Fri, 23 Nov 2018 15:07:01 +0100
- From: tony <lists@xxxxxxxxxxxxxx>
- Subject: Re: openvpn over ipv6 /65
Thanks for your quick response, Reco,
On 23/11/2018 13:33, Reco wrote:
> On Fri, Nov 23, 2018 at 01:18:45PM +0100, tony wrote:
>> I have a Stretch VPServer with a /64 netbloch, of which only the first 2
>> addresses are used. I've been struggling for some time to get the right
>> stanza to split that into two /65s, using the upper half for openvpn.
> I'd check first that some other addresses from this /64 range are routed
> by your VPS provider.
I'm not sure I understand what you mean. As far as I'm aware, my VPS
provider furnishes a full native /64 netblock for my exclusive use.
They'll provide more, at a cost, but I see no point in that.
> Ad-hoc configuration:
> ### check this on your OS!
> # ip a d igb0 2001:db8:0:123::/64
> # ip a a igb0 2001:db8:0:123::/65
> ### re-assign the other aliases previously set under the /64 block
> # ip a a igb0 2001:db8:0:123::dead/128
> # ip a a igb0 2001:db8:0:123::ea:beef/128
I'm not using any addresses other than the ::1 and ::2 in the /64 block,
so presumably the last two lines are redundant.
> As for the persistent configuration, that depends on the contents of
> /etc/network/interfaces. Can be static (it's straightforward then),
> DHCPv6 (you won't be able to do the split) or RA (ditto).
No, it's all static:
iface lo inet loopback
iface eth0 inet static
iface eth0 inet6 static
So what is igb0? What do you mean by ad-hoc and persistent configuration?
Thanks again, Tony