※ 引述《dlikeayu (太陽拳vs野球拳)》之銘言:
: 想請較大家一下
: 前陣子申請了中華電信的IPV6服務
: 當我在windows撥接固定ip時,還可以拿到ipv4的位置
: 但是VM中撥接固定IP,都只能拿到IPV6
: 這讓我家裏架的小伺服器對外完全連接不到
: 想請較要怎麼設定才能解決
: 目前是有試著關閉ipv6
: gksudo gedit /etc/sysctl.conf
: Then add these four lines:
: # IPv6
: net.ipv6.conf.all.disable_ipv6 = 1
: net.ipv6.conf.default.disable_ipv6 = 1
: net.ipv6.conf.lo.disable_ipv6 = 1
: sudo sysctl -p
: 但是跑完再ifconfig看還是拿到ipv6的位置
: T_T
老實說我不懂您為什麼會遇到這樣的問題,
我是使用arch linux長時間的用戶,
中華電信v6服務申請後,
我必須在/etc/ppp/options
最後加上一行ipv6 ,
才能從dual stack取得v6 ip,
所以雖然我跟你有類似的問題,
取不到v4 ip只出現在線路不穩斷線自動pppoe daemon重撥時,
但我若不想用dual stack,
只要comment #ipv6 , 這行就回復原狀了。
--
: 想請較大家一下
: 前陣子申請了中華電信的IPV6服務
: 當我在windows撥接固定ip時,還可以拿到ipv4的位置
: 但是VM中撥接固定IP,都只能拿到IPV6
: 這讓我家裏架的小伺服器對外完全連接不到
: 想請較要怎麼設定才能解決
: 目前是有試著關閉ipv6
: gksudo gedit /etc/sysctl.conf
: Then add these four lines:
: # IPv6
: net.ipv6.conf.all.disable_ipv6 = 1
: net.ipv6.conf.default.disable_ipv6 = 1
: net.ipv6.conf.lo.disable_ipv6 = 1
: sudo sysctl -p
: 但是跑完再ifconfig看還是拿到ipv6的位置
: T_T
老實說我不懂您為什麼會遇到這樣的問題,
我是使用arch linux長時間的用戶,
中華電信v6服務申請後,
我必須在/etc/ppp/options
最後加上一行ipv6 ,
才能從dual stack取得v6 ip,
所以雖然我跟你有類似的問題,
取不到v4 ip只出現在線路不穩斷線自動pppoe daemon重撥時,
但我若不想用dual stack,
只要comment #ipv6 , 這行就回復原狀了。
--
All Comments