• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Error while adding ipv6 Address

Ras Alghul

New Pleskian
Server operating system version
Ubuntu 22.04.4 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.62_build1800240724.11 os_Ubuntu 22.04
Hi I wanted to add an ipv6 address.

2024-09-10 15_42_40-IP Addresses - Plesk Obsidian 18.0.62 – Mozilla Firefox.png
But I get
2024-09-10 15_43_45-IP Addresses - Plesk Obsidian 18.0.62 – Mozilla Firefox.png
When I look in my ifconfig it doesn't show the IP Adress. What did I do wrong ?

My 10-plesk.yaml sais:

Code:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      addresses:
        - 2aXX:XXX:XXXX:XXXX::1/64


My ifocnfig:

Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet XXX.XXX.XXX.XXX  netmask XXXXXXXXXX  broadcast XXX.XXX.XXX.XXX
        inet6 XXX.XXX.XXX.XXX  prefixlen 64  scopeid 0x20<link>
        etherXXXXXXXXXX  txqueuelen 1000  (Ethernet)
        RX packets 40252  bytes 11520125 (11.5 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15332  bytes 3839816 (3.8 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0



So no ipv6 Address. I got the IPv6 Address from my VPS Server Hoster.
 
Did you get this sorted?

Is that the complete 10-plesk.yaml contents? Because there should be a route and nameserver section.


here's an example...
YAML:
network:
  version: 2
  ethernets:
    eth0:
      addresses:
        - your-ipv4/subnet # eg 192.168.2.22/24
        - your-ipv6/subnet # eg 2aXX:XXX:XXXX:XXXX::1/64
      routes:
        - to: default
          via: "your-ipv4-gateway"
        - to: default
          via: "your-ipv6-gateway"
          on-link: true
      nameservers:
        addresses:
        - 127.0.0.1
        - ::1

You'll probably have to get the gateway addresses to use from your provider.
Once you have updated the file run...

netplan try

To check for any syntax errors. If none appear, press enter.
I hope that helps.

Regards

LD
 
Most VPS providers will assign the IP addresses via DHCP so there shouldn't be a need to manually add yourself within the host and should show up when you do ip a which you just need to reread the IP to get it to show up. If not then make sure you are using the SLAAC IPv6 IP and not the Link Local, this is usually found within your provider's panel (I don't know who you use so I'm just guessing and assuming here)
 
Did you get this sorted?

Is that the complete 10-plesk.yaml contents? Because there should be a route and nameserver section.


here's an example...
YAML:
network:
  version: 2
  ethernets:
    eth0:
      addresses:
        - your-ipv4/subnet # eg 192.168.2.22/24
        - your-ipv6/subnet # eg 2aXX:XXX:XXXX:XXXX::1/64
      routes:
        - to: default
          via: "your-ipv4-gateway"
        - to: default
          via: "your-ipv6-gateway"
          on-link: true
      nameservers:
        addresses:
        - 127.0.0.1
        - ::1

You'll probably have to get the gateway addresses to use from your provider.
Once you have updated the file run...



To check for any syntax errors. If none appear, press enter.
I hope that helps.

Regards

LD
Yes I could get to figure it out.

I had to implement the IPV6 directly in Linux and not within Plesk.

My Provider ist Contabo in Germany, so if anyone has problems here, the look at this:

 
Yes I could get to figure it out.

I had to implement the IPV6 directly in Linux and not within Plesk.

My Provider ist Contabo in Germany, so if anyone has problems here, the look at this:

I had the same issue but the Linux command in this article doesn't work, I mean its invalid command
 
Back
Top