From 61c8fd4165fbf3b2f77f57b3eda4899da7203507 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 31 Jul 2023 02:25:32 +0900 Subject: [PATCH] Update InstallNET.sh --- Linux_reinstall/InstallNET.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Linux_reinstall/InstallNET.sh b/Linux_reinstall/InstallNET.sh index 7d1aa88..8e6f060 100644 --- a/Linux_reinstall/InstallNET.sh +++ b/Linux_reinstall/InstallNET.sh @@ -1288,6 +1288,9 @@ function getIPv6Address() { # $1 is "$ip6Addr", $2 is "$ip6Gate". function transferIPv6AddressFormat() { +# Some Bi-Stack server has a public IPv4 address with a private IPv4 gateway and has a dhcp configuration for IPv6 dhcp, +# so we need to tell Debian installer IPv6 static configurations to config IPv6 network first by force. + [[ "$BiStackPreferIpv6" == "1" ]] && Network6Config="isStatic" # In some original template OS of cloud provider like Akile.io etc, # if prefix of IPv6 mask is 128 in static network configuration, it means there is only one IPv6(current server itself) in the network. # The following is the sample: