Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持搬瓦工IPV6信息获取 #252

Open
SuperNG6 opened this issue Jan 26, 2025 · 6 comments
Open

不支持搬瓦工IPV6信息获取 #252

SuperNG6 opened this issue Jan 26, 2025 · 6 comments

Comments

@SuperNG6
Copy link

SuperNG6 commented Jan 26, 2025

原来的系统:Debian12
要安装的系统:Debian12

今天登录搬瓦工后台,发现支持ipv6了,于是重装了系统,官方系统的ipv6一切正常,bash reinstall debian12 时候没有获得ipv6系统信息,显示未空,DD成功后也无ipv6配置信息。

官方镜像网络配置

cat /etc/network/interfaces
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp

DD后网络配置信息

source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
allow-hotplug ens18
iface ens18 inet dhcp

Original system:
System to be installed:
Issues encountered: Screenshot or log in via SSH to get the logs from /reinstall.log

@bin456789
Copy link
Owner

看下官方镜像 ip -6 route show default 显示什么

@SuperNG6
Copy link
Author

SuperNG6 commented Jan 27, 2025

ip -6 addr show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::a8aa:ff:fe1d:bef7/64 scope link 
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::b8aa:ff:fe1d:bef7/64 scope link 
       valid_lft forever preferred_lft forever
5: ipv6net@NONE: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480 state UNKNOWN qlen 1000
    inet6 {我的IPV6地址}::2/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::2d3e:7198/64 scope link 
       valid_lft forever preferred_lft forever

@SuperNG6
Copy link
Author

SuperNG6 commented Jan 27, 2025

我现在手动配置ipv6后,可以访问,但是重启后会失效;必须执行一次ip -6 route add default dev ipv6net才可以

source /etc/network/interfaces.d/*

auto lo
iface lo inet loopback

allow-hotplug ens18
iface ens18 inet dhcp

auto ipv6net
iface ipv6net inet6 v4tunnel
    address  {我的IPV6地址}::2
    netmask 64
    endpoint XXXX
    local XXXXX
    ttl 255

@bin456789
Copy link
Owner

官方模板的 ipv6 也是通过隧道实现?

@SuperNG6
Copy link
Author

官方模板的 ipv6 也是通过隧道实现?

是的,搬瓦工官方镜像 ipv6 是通过隧道实现的

@bin456789
Copy link
Owner

太罕见了,脚本不会对这种情况添加支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants