• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved ipv6 stops working after 10-15min

KNARZ

New Pleskian
I want to fine tune some server and from my observation I run in a ipv6 Problem.
If reboot the server everything works fine as it should but after 10-15min ipv6 stops working.

I'm not sure if it has to do with the hosting/server, configuration or the webserver (apache, nginx) at all but why does it work in the beginning and than stops?


I tried to rebuild the config and restartet nginx and apache but nothing changed.

I'm testing this with http://ipv6-test.com/validate.php
Results:
s11.jpg


s22.jpg
 
Last edited:
Have you tried to find something useful in logs? Any results of troubleshooting?
 
Yeah I'm pretty basic - there are so many logs, that I don't know which one I should look into.
 
thanks for the info. I found some things in syslog but so fare nothing related (in this 15min timeframe) but I fixed some other minor issues.
I contacted the hoster. They said I should try it within recovery console and than check if ipv6 is working.
 
I guessed it's about psa-firewall rules. But now after a while (like 30min) all ping request timed out. - I will investigate further. - Nothing in particular in the syslog
 
Last edited:
Okay.
So there were two things.

1) Testing with ping was blocked by PSA-Firewall
2) Testing with the Test-Website failed because of DHCP v4 auto config after 30 minutes.

/etc/network/interfaces looks like:
Code:
# The primary network interface
auto eth0
iface eth0 inet dhcp

post-up while ip -6 addr show tentative | grep . > /dev/null ; do sleep 1 ; done

iface eth0 inet6 static
       address X
       netmask Y
       gateway Z

post-up while ip -6 addr show tentative | grep . > /dev/null ; do sleep 1 ; done

After exactly 30min IPv6 will fail. That is caused by not configured:
Code:
net.ipv6.conf.eth0.accept_ra=0

So I placed a /etc/sysctl.d/ipv6.conf
with the above line of code and restarted.
Now IPv6 works fine.

Sources that helped me by this issue:
https://www.gibts-doch-garnicht.de/ipv6-bei-manitu-und-netcup/
https://debianforum.de/forum/viewtopic.php?f=30&t=155189
 
Thank you KNARZ, this worked for me as well using a CentOS 7 LXC container for plesk. Much appreciated, hopefully others will find this.
 
Back
Top