logo NodeSeekbeta

RN开启ipv6遇到的问题

Debian12系统,按照教程修改sysctl.conf,执行systemctl restart networking,会报错下面的内容,之前装11都不会。

Job for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xeu networking.service" for details.

找客服解决问题,客服直接给我换了个ip🤣,然后重装系统之后还是遇到一样的问题。

继续发工单问客服,客服都是重复之前的,问我要密码,然后说可以使用了,没有告知我怎么解决。

后面感觉客服不耐烦了就自己折腾了🤣

发现修改完文件之后需要先reboot,然后再执行systemctl restart networking,就不会报错了。

12
  • 。。。我也debian12,我也刚要了个ipv6,
    我还没开始搞
    卧槽。。。

  • @练习生 #1 阿西吧,新的IP给阻断了 xhj017

  • rn有ipv6嘛

  • @dxer #3 只有dc2有

  • @rayhope #4 怎么开启,有教程不,大佬分享下,感谢 xhj010

  • @dxer #5

    And also please note For Ubuntu & Debian instance needs to enable IPV6 manually after configuring. Kindly follow the below-mentioned steps to enable the IPv6 address for your server.

    Login to your server via ssh connection and adding the the below entries in sysctl.conf file:

    nano /etc/sysctl.conf
    Scroll all the way down, and add the following lines at the end:

    net.ipv6.conf.all.autoconf = 0
    net.ipv6.conf.all.accept_ra = 0
    net.ipv6.conf.eth0.autoconf = 0
    net.ipv6.conf.eth0.accept_ra = 0
    To check run:

    sysctl -p
    Then try to restart network

    systemctl restart networking
    Then check with

    ping6 google.com
    If its still not working try to reboot your VPS once.

    复制粘贴的,俺洋文不行,请自行使用。
    xhj007

  • @dxer #5 要看什么系统,将ipv6信息添加到配置文件,例如debian的interfaces

  • 一样的问题,我也遇到了 xhj017

  • @练习生 #1 发现我ssh都登不上😂@练习生 #8 昨天客服给我换了个阻断的ip,后面只能杠客服了 xhj017

  • @应无所住 #9
    重装了下系统,按照流程添加了那几行
    再把原来的

    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    

    改成

    net.ipv6.conf.all.disable_ipv6 = 0
    net.ipv6.conf.default.disable_ipv6 = 0
    net.ipv6.conf.lo.disable_ipv6 = 0
    

    重启系统,
    再systemctl restart networking
    ok了

12

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

📈用户数目📈

目前论坛共有10139位seeker

🎉欢迎新用户🎉