Hi @all,
Good morning.
Is there someone who would like to share an working Debian 11 (bullseye) IPv6 configuration with additional IP addresses. In Ubuntu with netplan it's quite easy, but in Debian (11) I have some issues.
Would be appreciated if someone could share an working configuration.
I took also a look at: https://www.netcup-wiki.de/wik…sse_konfigurieren#IPv6%7C
but looks like, it's a litte bit outdated (not working in my situation).
My config tryings so far, but after an reboot it's not working anymore:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
#iface eth0:1 inet6 static
#address 2a03:4000:6a:3c1::1
#netmask 64
#gateway fe80::1
#IPV6 networking
iface ens3 inet6 static
address 2a03:4000:6a:3c1::1
netmask 64
gateway fe80::1
#iface eth0:1 inet6 static
# address 2a03:4000:6a:3c1::2
# netmask 64
# gateway fe80::1
#auto eth0:0
#iface eth0:0 inet6 static
# address 2a03:4000:6a:3c1::1/64
# address 2a03:4000:6a:3c1::2/64
# gateway fe80::1
# post-up route add -A inet6 default gw fe80::1%eth0:0 true
# pre-down route del -A inet6 default gw fe80::1%eth0:0 true
#Start IPv6 secondary additional IP configuration
#up ip -6 addr add 2a03:4000:6a:3c1::2/64 dev ens3
#up /sbin/ifconfig ens3 inet6 static add 2a03:4000:6a:3c1::2/64
#up /sbin/ifconfig ens3 inet6 static add 2a03:4000:6a:3c1::3/64
#up /sbin/ifconfig ens3 inet6 static add 2a03:4000:6a:3c1::1337/64
#iface eth0:0 inet6 static
#address 2a03:4000:6a:3c1:2:2:2:2
#address 2a03:4000:6a:3c1::3
#address 2a03:4000:6a:3c1::1337
#address 2a03:4000:6a:3c1::1338
#netmask 64
#gateway fe80::1
#iface ens3 inet6 static
# address 2a03:4000:6a:3c1::2
# netmask 64
# up ip -6 route add 2a03:4000:6a:3c1::2 via fe80::1 true
Some actions when it works:
root@gate /etc/network # /etc/init.d/networking restart
Restarting networking (via systemctl): networking.service.
root@gate /etc/network # sudo ifdown ens3 && ifup ens3
ifdown: interface ens3 not configured
Waiting for DAD... Done
root@gate /etc/network # ping6 http://www.unet.nl
PING http://www.unet.nl(purpureus.unet.nl (2a02:120:320:851::49)) 56 data bytes
64 bytes from purpureus.unet.nl (2a02:120:320:851::49): icmp_seq=2 ttl=57 time=203 ms
64 bytes from purpureus.unet.nl (2a02:120:320:851::49): icmp_seq=3 ttl=57 time=25.6 ms
64 bytes from purpureus.unet.nl (2a02:120:320:851::49): icmp_seq=4 ttl=57 time=25.6 ms
PS I'm using an vps-server, new type: G10s.
Grtz,
MekMek