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

[Feature] 访问ipv6公网 #22212

Open
DSYZayn opened this issue Feb 28, 2025 · 2 comments
Open

[Feature] 访问ipv6公网 #22212

DSYZayn opened this issue Feb 28, 2025 · 2 comments

Comments

@DSYZayn
Copy link

DSYZayn commented Feb 28, 2025

Problem

目前经典网络可以获取ipv6公网地址(通过外部的dhcpv6),但无法访问ipv6公网,同子网机器也无法ping通该地址。vpc虚拟机同样无法访问ipv6公网。

Feature

希望尽快支持虚拟机访问公网ipv6,经典网络获取的ipv6地址能被其他机器访问到。

Purpose

如果能完整的支持ipv6, 对内网穿透、虚拟机做旁路由等复杂功能都能实现了。

@swordqiu
Copy link
Member

@DSYZayn 平台会分配IPv6地址,并且为了防止用户随意指定虚拟机IP,导致地址冲突,会强制要求虚拟机的IPv6地址必须跟平台分配一致。从你问题看出这个IPv6地址是通过外部Dhcpv6获得,那感觉不会跟平台分配的IPv6地址一致,默认是不能使用的。建议用平台分配的IPv6地址。如果一定要用外部DHCP分配的地址,请关闭该虚拟机的”源和目的地址检查“。

@DSYZayn
Copy link
Author

DSYZayn commented Feb 28, 2025

@swordqiu 感谢,关闭源和目的地址检查后顺利访问公网ipv6。如果我想更安全的让虚拟机获得这个公网ipv6,确保和平台分配一致,应该自定义一个经典网络的公网的ipv6地址段吗?

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

No branches or pull requests

2 participants