tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ipv6 gateway on different subnet



On Fri, 17 Jan 2025 12:00:11 -0600, Peter Miller wrote:
> I cannot get ipv6 working on a vps server. The gateway is on a /48 and
> my ip block is on a /64.
> Gateway: 2602:fed2:7116::1
> My block: 2602:fed2:7116:d82c::/64

Most VPS providers seem to do it that way.

This is how I have it set up (IPv6 part of ifconfig.vioif0 adjusted
with your IPv6 addresses):

inet6 2602:fed2:7116:d82c::1/64
!route add -inet6 -net 2602:fed2:7116::1/128 -connected -link -iface $int

Seems to work absolutely fine.

BTW, you appear to be in the same datacentre as my VPS, but different
provider - I have a VPS with linveo.com there (and I have actually
sent them a NetBSD image that automatically sets up the network
configuration).


Christof

-- 
https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org


Home | Main Index | Thread Index | Old Index