V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
sonnyclarity492
V2EX  ›  程序员

[多图] VirtualBox IPv6 网络不通

  •  
  •   sonnyclarity492 · 56 天前 · 1074 次点击
    这是一个创建于 56 天前的主题,其中的信息可能已经有所发展或是发生改变。

    其他主机 Ping 这台虚拟机的 IPv6 截图_20240713204045.png 虚拟机网卡设置及其他设置 截图_20240713203849.png

    截图_20240713203956.png

    /etc/network/interfaces的配置

    source /etc/network/interfaces.d/*
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    #allow-hotplug enp0s3
    auto enp0s3
    iface enp0s3 inet dhcp
    iface enp0s3 inet6 dhcp
    

    虚拟机向外 ping 及 traceroute 等 截图_20240713203733.png 截图_20240713203335.png

    其他:

    • 小米路由器看不见这台桥接设备,也看不到 IP 占用
    • VirtualBox 只设置了桥接网络
    • apt remove ufw 了,还是这样,防火墙应该不会阻拦 IPv6 出的吧
    • 刚安装的新系统
    4 条回复    2024-07-13 23:30:50 +08:00
    qbqbqbqb
        2
    qbqbqbqb  
       56 天前   ❤️ 1
    本质上是因为 WiFi 客户端原理上是不支持桥接的(没有认证的客户端没法接入网络),VirtualBox 的 WiFi 桥接实际上是类似 ipvlan 的东西,然后对 IPv6 的支持又不完善。
    qbqbqbqb
        3
    qbqbqbqb  
       56 天前   ❤️ 1
    @qbqbqbqb 这个是链接里的问题的解释。但是看你的图里用的是有线网,有可能不是同一个问题。
    sonnyclarity492
        4
    sonnyclarity492  
    OP
       56 天前
    @qbqbqbqb 谢谢解答,我用的也是无线网
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1811 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 00:34 · PVG 08:34 · LAX 17:34 · JFK 20:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.