固定IP IPV6轉回IPV4 - Linux

By Lydia
at 2013-09-03T15:07
at 2013-09-03T15:07
Table of Contents
※ 引述《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 , 這行就回復原狀了。
--
Tags:
Linux
All Comments

By Elma
at 2013-09-04T23:24
at 2013-09-04T23:24

By Dorothy
at 2013-09-07T15:38
at 2013-09-07T15:38

By Barb Cronin
at 2013-09-09T08:19
at 2013-09-09T08:19

By Ula
at 2013-09-12T06:07
at 2013-09-12T06:07

By Olga
at 2013-09-14T23:47
at 2013-09-14T23:47

By Sarah
at 2013-09-17T04:03
at 2013-09-17T04:03

By Lily
at 2013-09-21T01:08
at 2013-09-21T01:08

By Heather
at 2013-09-26T01:07
at 2013-09-26T01:07

By Erin
at 2013-09-26T04:17
at 2013-09-26T04:17

By Ethan
at 2013-09-30T15:01
at 2013-09-30T15:01

By Lucy
at 2013-10-04T01:16
at 2013-10-04T01:16

By Brianna
at 2013-10-04T20:30
at 2013-10-04T20:30
Related Posts
固定IP IPV6轉回IPV4

By Blanche
at 2013-09-03T09:13
at 2013-09-03T09:13
有附mars_nwe,那個發行套件最新呢?

By Dora
at 2013-09-03T02:21
at 2013-09-03T02:21
以前行動裝置上基於Linux的作業系統?

By Sandy
at 2013-09-02T22:40
at 2013-09-02T22:40
centos 網路管理圖形介面不見

By Bennie
at 2013-09-02T14:40
at 2013-09-02T14:40
aptitude如何防止更新 某套件

By Michael
at 2013-09-02T14:07
at 2013-09-02T14:07