After upgrade, troubles with ipv6


pbear
Go to solution Solved by ljm42,

Recommended Posts

Hello,

After I upgraded to v6.12.4, it looks like my ipv6 does not work correctly anymore.

 

First I couldn't ssh my server because the ssh doesn't listen to ipv6 anymore, only ipv4:

root@unraid:~# netstat -tulpn | grep 22
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      7411/sshd: /usr/sbi 

 

Second, the ipv6 is not available for docker containers. The ipv6 subnet doesn't appear in the EDIT view of the containers. So I had to remove it from each of them to be able to start them.

 

My docker network type is ipvlan.

 

 

My config is the following:

image.thumb.png.e602f04577de8c3d265d9c7542a0e541.png

 

image.thumb.png.dd5f780226eb46fffd63ddcfa54c1438.png

 

Also, I have a error message:

image.png.10a0b3e0b28523c4e2254e2b33c6c457.png

I believe it's not related to ipv6 but it also appeared with the last update.

 

What can I do ?

 

KR,

 

Link to comment
  • 2 weeks later...

Hello,

 

As I got no answer,  I ended up contacting the support.

 

Quote

There is a known issue with IPv6 and containers.  We are planning on releasing a patch update to 6.12 in the next couple of days to rectify this.  It is also rectified in the 6.13 release candidate series which is also going to begin in the new few days.

 

But as I said I also have trouble with ipv6 on the unraid itself (with the sshd not listening anymore on the ipv6).

Link to comment
  • 1 month later...

So I had downgraded to 6.12.3.

But now that the v6.12.5 is out I tried it: the ipv6 works with the docker. But I still can't connect to the server itself, the ssd still does not listen to ipv6.

 

  root@unraid:~# netstat -tulpn | grep 22
LISTEN 0      128             0.0.0.0:22         0.0.0.0:*    users:(("sshd",pid=31080,fd=3))  

 

I tried restarting the /rc.sshd script and it populates my ssh_config like that:

ListenAddress 10.0.2.2 # br0
ListenAddress 192.168.12.2 # br1
ListenAddress 0 #

 

which is wierd , IMHO.

I don't know this "0" 

And there should be one line "ListenAdress ::" I believe.

 

The script gives a error message when restarting:

"/etc/rc.d/rc.library.source: line 74: printf: 0xmetric: invalid hex number" 

 

  root@unraid:~# sed -n '73,74p' /etc/rc.d/rc.library.source
    [[ -n $b ]] && d= a=${a%$f*}${f}$(for q in ${b//./ }; do printf "$d%03x" "0x$q"; d=.; done)
    [[ -z $m ]] && echo $a || echo $a/$m

 

Could be a syntax error in this other script ?

unraid-diagnostics-20231129-1955.zip

Edited by pbear
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.