Debian 安裝的時候會自動 config ipv6 正常外面環境會失敗
好巧不巧 我們公司有enable v6, 而且會自動取的IP, 但是很多mirro site 無法用阿。
本來就要手動設定IPv4,自動取得IPv6之後就以為網路通了是怎樣? 手動設了IPv4之後連到mirror還是有問題 因為預設路由走到v6去啦 之後我就要很辛苦的
ip -6 addr del xxxx:xxx:x:雞雞歪歪的一串東西/64 dev eth0
下次避免這樣搞 記得依開始的時候
netcfg/disable_autoconfig=true
人家release都有寫 都沒有再看
netcfg/disable_autoconfig
By default, the debian-installer automatically probes for network configuration via IPv6 autoconfiguration and DHCP. If the probe succeeds, you won't have a chance to review and change the obtained settings. You can get to the manual network setup only in case the automatic configuration fails.
If you have an IPv6 router or a DHCP server on your local network, but want to avoid them because e.g. they give wrong answers, you can use the parameter netcfg/disable_autoconfig=true to prevent any automatic configuration of the network (neither v4 nor v6) and to enter the information manually.
reference: https://www.debian.org/releases/stable/i386/ch05s03.html.en#installer-args
Comments