固定IP IPV6轉回IPV4 - Linux

By Blanche
at 2013-09-03T09:13
at 2013-09-03T09:13
Table of Contents
想請較大家一下
前陣子申請了中華電信的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
--
前陣子申請了中華電信的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
--
Tags:
Linux
All Comments

By Candice
at 2013-09-06T21:32
at 2013-09-06T21:32

By Necoo
at 2013-09-09T07:51
at 2013-09-09T07:51

By Olga
at 2013-09-10T17:02
at 2013-09-10T17:02

By Oscar
at 2013-09-14T01:51
at 2013-09-14T01:51

By Joseph
at 2013-09-16T08:10
at 2013-09-16T08:10

By Dinah
at 2013-09-18T09:30
at 2013-09-18T09:30

By Oscar
at 2013-09-18T18:13
at 2013-09-18T18:13

By Jacky
at 2013-09-21T00:54
at 2013-09-21T00:54
Related Posts
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
HackingThursday 固定聚會 (2013-09-05)

By William
at 2013-09-02T12:07
at 2013-09-02T12:07
diff exclude subdir

By Franklin
at 2013-09-02T11:19
at 2013-09-02T11:19
雙系統問題

By Oscar
at 2013-09-02T03:06
at 2013-09-02T03:06