Open xfl12345 opened 7 months ago
Only ipv4
configs are added in redroid currently.
Well, you can manually add ipv6
network configs (address, route etc.). I'm not sure any command to specify ipv6 dns.
BTW, why ipv6
is required here?
BTW, why
ipv6
is required here?
Because it is simple. Just make it become a server without NAPT. And i have IPv6-Only web site. I need to make it to be "IPv6 reachable".
Only
ipv4
configs are added in redroid currently. Well, you can manually addipv6
network configs (address, route etc.). I'm not sure any command to specify ipv6 dns.
I was trying to switch the container networking type from "bridge" to "host". Then i found the fact - Android is not support DHCPv6 but SLACC only. It was finally obtain an IPv6 address and ruin mine host network as cost.
Should not use host
network mode, otherwise your host networking might be messed up.\
Take a look at https://github.com/remote-android/vendor_redroid/blob/8b2ad82cd7fa0fb1db927542b44c9c84594e93b9/ipconfigstore/main.cc and https://android.googlesource.com/platform/frameworks/base/+/93edcc139722cc6c3f8dc3368846ae364d8ae82d/services/core/java/com/android/server/net/IpConfigStore.java
I think it's feasible to add ipv6
support.
docker-compose.yml
busybox测试
输出
输出
可以确定,我确实是正确配置了 docker 的 IPv6 环境。但是 redroid 似乎不支持 IPv6 接入。