Web lists-archives.com

Re: openvpn over ipv6 /65




	Hi.

On Fri, Nov 23, 2018 at 03:39:16PM +0000, Steve Kemp wrote:
> > with this:
> > 
> > iface eth0 inet6 static
> >            address 2a03:9800:10:54::2
> >            netmask 65
> >            gateway 2a03:9800:10:54::1
> > 
> > Leave all the other entries intact.
> > Then invoke this as root (one-time only):
> > 
> > ip a d dev eth0 2a03:9800:10:54::2/64
> > ip a a dev eth0 2a03:9800:10:54::2/65
> > ip ro d default via 2a03:9800:10:54::1
> 
>   This will need to be repeated at every reboot,

No, it won't. OP has two stanzas regarding eth0 in e/n/i already - one
for inet and another one for inet6.
The whole point of this exercise is to get persistent configuration for
/65 netmask *and* to avoid ifdown/ifup sequence to implement it now.
And, of course, do the thing without the reboot.

Reco