為什麼要將ipv4和ipv6公共地址分配給我的家庭網路?

雖然您希望為您的位置分配一個IPv4地址,但您可能會驚訝地發現也分配了一個IPv6地址。為什麼這兩種型別會同時分配給你呢?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

為什麼要將ipv4和ipv6公共地址分配給我的家庭網路?

雖然您希望為您的位置分配一個IPv4地址,但您可能會驚訝地發現也分配了一個IPv6地址。為什麼這兩種型別會同時分配給你呢?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動的問答網站分組。

圖片由哥倫比亞外交部(Flickr)提供。

問題

超級使用者讀者ajs4想知道為什麼他將IPv4和IPv6公共地址分配給他的家庭網路:

For my home network, my public IP address “displays” as IPv4 on some websites, yet as IPv6 on others. I have read this SuperUser thread and understand that it is possible for my Internet service provider to have assigned me one of each type.

  • What is the purpose of assigning one of each type to me?
  • Can disabling IPv6 from within Windows on a local host guarantee that only an IPv4 address is used from that computer? I ask as I have read about security concerns in relation to certain VPN protocols used in combination with IPv6.

為什麼要將IPv4和IPv6公共地址分配給同一個家庭網路?

答案

超級使用者貢獻者Bob為我們提供了答案:

What is the purpose of assigning one of each type to me?

Ideally, we should be moving towards greater IPv6 rollout due to IPv4 exhaustion. However, a lot of servers still do not support IPv6. There are many workarounds, none particularly great, but they generally involve tunneling through an intermediate server that can translate between the two. Your ISP provides you with an IPv4 address for compatibility reas***.

What many ISPs do now is implement CGN, where many people share a single “public” IPv4 address. There are many reas*** why this is a bad thing(1), but it is necessary simply because there are not enough IPv4 addresses to go around. This is why we need IPv6, and probably why your ISP provides it.

Can disabling IPv6 from within Windows on a local host guarantee that only an IPv4 address is used from that computer?

Yes, however, this is generally not a good idea. Alternatively, you can  disable IPv6 at the router level, which is a bit better, but again this is not a great idea. We cannot continue to use IPv4 forever.

I ask as I have read about security concerns in relation to certain VPN protocols used in combination with IPv6.

That is typically due to broken VPN clients and configurati***. It is getting better now, though. If you do not use VPNs, it will not affect you. If you do use one, you should do some research first to see if it supports IPv6 correctly (modern VPNs should by now). One of the biggest issues was with VPN clients ignoring IPv6 entirely, so IPv6 connecti*** bypassed the VPN, but hopefully that has gotten better now that there is more attention focused on the issue (see also: IPv6 security vulnerability pokes holes in VPN providers’ claims).

(1) For example, one of the c***equences of CGN is that home users can no longer reliably host a server. Traditional NAT was bad enough (and again a c***equence of the IPv4 shortage), but with CGN port-forwarding it is also no longer possible. There are techniques for working around it, such as NAT hole-punching, but they require external servers and will not always work depending on the service required. Having a unique IPv6 address works around this limitation.


有什麼要補充的解釋嗎?在評論中發出聲音。想從其他精通技術的Stack Exchange使用者那裡瞭解更多答案嗎?在這裡檢視完整的討論主題。

  • 發表於 2021-04-09 23:20
  • 閱讀 ( 47 )
  • 分類:網際網路

你可能感興趣的文章

公共ip(public ip)和私有ip(private ip)的區別

...8.255.255是為私有地址保留的,而其餘是為公共IP保留的。 什麼是公共ip(public ip)? 公共IP地址對於Internet來說是全域性唯一的。按照標準,某些IP地址範圍被保留給專用網路使用。任何不為私有IP保留的IP都可以用作公共IP。IP網路...

  • 發佈於 2020-10-22 21:26
  • 閲讀 ( 43 )

瞭解ip和mac地址:它們有什麼好處?

...的地址,但它們幾乎都被佔用了,而且正在耗盡。這就是為什麼全世界都在向IPv6遷移,其中有320多個尚未建立(!)可能的IPv6地址總數。如果你不知道什麼是未成年,它看起來是這樣的: ...

  • 發佈於 2021-03-13 11:32
  • 閲讀 ( 51 )

如何找到android或iphone的ip地址

...們看看如何在**上檢視公用和專用IP地址,這些都意味著什麼,以及如何保持它們的私密性。 ...

  • 發佈於 2021-03-22 11:33
  • 閲讀 ( 53 )

什麼是vpn洩漏?如何檢測和預防

... 你為什麼要使用VPN呢?一個原因可能是你不想讓你的ISP(或其他人)知道你要去哪個網站。你可能害怕審查,來自ISP的指責,甚至**的監視。 ...

  • 發佈於 2021-03-25 00:48
  • 閲讀 ( 73 )

如何在mac上查詢和更改ip地址

...能有相同的地址,因為路由器不知道哪個是哪個。這就是為什麼你會看到這個訊息,這通常不會發生,除非你的路由器出了問題或你已經手動分配了一個重複的地址。 ...

  • 發佈於 2021-03-30 19:17
  • 閲讀 ( 53 )

ip地址是如何工作的?

...是為您準備的。 相關:解釋了8種常見的網路實用程式 你為什麼要在乎?如果您想解決網路為什麼工作不正常,或者為什麼某個裝置沒有按預期的方式連線,瞭解IP地址的工作方式至關重要。如果你需要設定一些更高階的東西,...

  • 發佈於 2021-04-06 18:43
  • 閲讀 ( 48 )

更改dns伺服器的最終指南

...ok或許多其他裝置上單獨設定。 在你的路由器上 相關:什麼是DNS,我應該使用另一個DNS伺服器嗎? 如果您想更改整個家庭網路的DNS伺服器,則需要在路由器上進行更改。網路PC上的所有裝置、智慧**、平板電腦、遊戲機、智慧...

  • 發佈於 2021-04-06 19:23
  • 閲讀 ( 59 )

為什麼網路隧道被稱為“隧道”?

...,有時會讓你感到困惑,想知道這些術語是如何使用的,為什麼使用。有鑑於此,今天的超級使用者問答帖子給出了困惑讀者問題的答案。 今天的問答環節是由SuperUser提供的,SuperUser是Stack Exchange的一個分支,是一個由社群驅動...

  • 發佈於 2021-04-08 04:15
  • 閲讀 ( 42 )

如何找到你的私人和公共ip地址

...這一切是如何工作的,你如何才能找出所有這些IP地址是什麼?請繼續閱讀答案! 公用ip地址與專用ip地址 相關:調變解調器和路由器有什麼區別? 所有這些IP地址嚮導的答案是,無論是獨立裝置還是調變解調器/路由器組合單...

  • 發佈於 2021-04-08 06:44
  • 閲讀 ( 50 )

什麼是ipv6,為什麼它很重要?

公共網際網路上的IPv4地址越來越少。2011年北電破產時,微軟斥資750萬美元收購了北電666624個IP地址,相當於每個IP地址8美元。IPv4存在技術問題,IPv6是解決方案。 不幸的是,IPv6的部署被推遲了太久。如果IPv6在幾年前就實現了...

  • 發佈於 2021-04-09 02:20
  • 閲讀 ( 48 )
Isrhjb88
Isrhjb88

0 篇文章

作家榜

  1. admin 0 文章
  2. 孫小欽 0 文章
  3. JVhby0 0 文章
  4. fvpvzrr 0 文章
  5. 0sus8kksc 0 文章
  6. zsfn1903 0 文章
  7. w91395898 0 文章
  8. SuperQueen123 0 文章

相關推薦