Kation Posted December 10, 2023 Share Posted December 10, 2023 Unrad OS:6.12.4 I'm use SLAAC to get IPv6 address. Sometimes I need to reboot my route then IPv6 prefix will change. Unraid will get new IPv6 address and I can ping to it. But look at network in WebGUI, it's still show old IPv6 address. And use netstat -tulpn to show listening address and port. It will show nginx listening old IPv6 address. Use /etc/rc.d/rc.nginx reload to restart nginx then I can access WebGUI with new IPv6 address. How can it automatically listen new IPv6 address? Quote Link to comment
MAM59 Posted December 10, 2023 Share Posted December 10, 2023 (edited) I think, what you see is not a bug but a feature of ip V6. It is common to have many addresses at the same time and if a new prefix is announced, a new local address is added but the former one is kept too. This is because there maybe still open connections (local ones?) to the old address, like your open web connection. It will time out some (rather long) time ahead once all connections have been closed (or maybe even NEVER if you keep it up). But, new connections can be made to the new address already and offgoing connections will use only the new address from now on (of course, NEW connections only too). So this is a graceful way to change addresses. Try it out, wait for the situation to reappear and try to start a new connection using the new prefix+address. I bet it will work. If not, its a bug of Dockers (they are not really bright with IPV6) or this particular NGinx docker. (I don't know for sure, I have static V6 addresses, no prefix change here) Edited December 10, 2023 by MAM59 Quote Link to comment
Kation Posted December 11, 2023 Author Share Posted December 11, 2023 @MAM59 I ask friend who have 6.11.5 unraid. He disconnect pppoe and reconnect again to get new prefix. I can access his new address and old address. I did same operations but he can't access my new address. Use ifconfig I can see adapter get new IPv6 address. But nginx still listen old IPv6 address. Quote Link to comment
MAM59 Posted December 11, 2023 Share Posted December 11, 2023 1 minute ago, Kation said: I can see adapter get new IPv6 address. But nginx still listen old IPv6 address. you should see that ifconfig gets BOTH addresses. If NGINX does not recognize the additional address, its a problem with that particular docker. Report to the support forum of the docker. Quote Link to comment
Kation Posted December 12, 2023 Author Share Posted December 12, 2023 16 hours ago, MAM59 said: you should see that ifconfig gets BOTH addresses. If NGINX does not recognize the additional address, its a problem with that particular docker. Report to the support forum of the docker. It's WebGUI's nginx, what relations with docker? Quote Link to comment
bonienl Posted December 12, 2023 Share Posted December 12, 2023 Unraid should detect address changes and update. Can you provide diagnostics after an address change happened and the gui still listens to the old address. Ps. Are you not using ipv4? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.