Jump to content

docker中macvlan容器与宿主的fe80内网ipv6无法互通

Featured Replies

Posted

v4内网网段192.168.8.x

docker开了macvlan模式和允许主机访问自定义网络

通过ipv4 容器和宿主互访是没问题的 路由表里也有

192.168.8.0/25 shim-br0

192.168.8.128/25 shim-br0

shim-br0就是unraid用来打通docker和宿主互访用的虚拟网卡

 

已经确定容器中的v6获取正常有效 局域网内其它机器是能访问到容器内fe80地址的

外网机器也能通过容器内的外网v6访问到容器

就是unraid无法通过内网v6访问到容器 容器也无法通过内网v6访问到unraid

unraid网络设置页面的路由表中 v6段没有显示shim-br0相关项目

通过ssh查询ip -6 route 倒是存在一项关于shim-br0的

fe80::/64 dev shim-br0 proto kernel metric 256 pref medium

🥶有没有大佬知道该怎么办

Edited by Concise
补充说明

  • Concise changed the title to docker中macvlan容器与宿主的fe80内网ipv6无法互通

不知道你网络怎么设置的,我的没问题,容器访问宿主,宿主访问容器v6都没问题

 

可以看看我的设置

  • Author
On 6/27/2023 at 11:39 PM, phui.chen said:

不知道你网络怎么设置的,我的没问题,容器访问宿主,宿主访问容器v6都没问题

 

可以看看我的设置

 

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...