為什麼“物聯網”強制要求ipv6地址?

隨著“物聯網”的不斷髮展壯大,物聯網究竟有多大必要擁有IPv6地址?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。...

為什麼“物聯網”強制要求ipv6地址?

隨著“物聯網”的不斷髮展壯大,物聯網究竟有多大必要擁有IPv6地址?今天的超級使用者問答帖子回答了一位好奇的讀者的問題。

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

圖片由Nerovovo(Flickr)提供。

問題

超級使用者讀者特魯德勒想知道為什麼“物聯網”強制要求IPv6地址:

If you have multiple devices within a network, the amount of IPv4 addresses will not increase linearly to accommodate the number of devices. There is just one IPv4 address per network/router that is connected to the Internet. How does the ‘Internet of Things’ (IoT) justify the need for IPv6 addresses?

I definitely think I may be misunderstanding something here, but it does not make sense to me at the moment. I know that IPv6 will be needed in the future, but I do not know which role the ‘Internet of Things’ (IoT) plays in this topic.

為什麼“物聯網”強制要求IPv6地址?

答案

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

The ‘Internet of Things’ does not absolutely mandate IPv6, but for it to be useful or usable IPv6 is very much preferred.

IPv4, due to the limited number of addresses available, means that not every device can have a public IP. For a cluster of devices to share an Internet connection, they have to share the IP via NAT technologies. If the devices want to host servers, then they have to punch a hole through the device hosting an Internet connection using port forwarding, UPNP, or related technologies. This can get complicated, especially if multiple devices want the same port for their servers. An alternative method is to have a central management server that both the home and remote devices dial into in order to exchange data.

IPv6 does away with the need for NAT, port forwarding, and the lot and allows every device to have its own public IP and associated ports. It removes complicated port forwarding rules and methods for punching holes in firewalls. It removes all the network coexistence problems that plague current devices. You can connect to devices without needing to configure firewalls or set up accounts on third party services that allow you to connect to your device.

Quite simply, it allows the Internet to function in the way it used to before we realized we did not have enough addresses to let every machine have its own public IP address.

To give a slightly more visual idea of how IPv6 and IPv4 allow the ‘Internet of Things’ to work, imagine you have a fully automated home, with every device hosting a server where you can turn it on.

With IPv4, your network is complicated to set up (you will spend ages on your router setting up each individual port forward rule) and the best you get is a list of port numbers you have to write down in a text file:

  • myhomenetwork.com:80 (This is my router.)
  • myhomenetwork.com:81 (This is my computer.)
  • myhomenetwork.com:82 (This is my coffee machine.)
  • myhomenetwork.com:83 (Is this my TiVo?)
  • myhomenetwork.com:84 (This could be a light bulb, but not sure.)
  • myhomenetwork.com:85 (Is this the fish tank heater?)

It also means that unless you take the time to set up multiple ports for each device, then they only have one port available and so can probably only present a web page to the Internet. For devices that want to show an HTTP (web) server, FTP, or SSH server, this can get painful and annoying pretty quickly as you will spend time opening up more ports and writing down what port you gave to what device.

IPv6, due to having publicly available IP addresses for every device, means your network configuration time drops immediately and you can get a more sensibly named network and each device can easily host whatever services it likes:

  • myrouter.myhomenetwork.com
  • mycomputer.myhomenetwork.com
  • mytoaster.myhomenetwork.com:80 (http server, web page showing a push-to-toast button)
  • mytoaster.myhomenetwork.com:21 (ftp server, so you can upload perfect toast settings)
  • mytoaster.myhomenetwork.com:22 (SSH server, for securely talking to your toaster)
  • myfrontroomlightbulb.myhomenetwork.com

And so on. The ‘Internet of Things’ can work on IPv4 and be just fine, but IPv6 can make it work right.


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

  • 發表於 2021-04-10 04:14
  • 閱讀 ( 50 )
  • 分類:網際網路

你可能感興趣的文章

物聯網(iot)和2米(m2m)的區別

...人為干擾的情況下執行任務。 目錄 1. 概述和主要區別 2. 什麼是物聯網 3. 什麼是M2M 4. 物聯網與M2M的關係 5. 並列比較——IoT與M2M表格形式 6. 摘要 什麼是物聯網(iot)? 現代物聯網技術正在迅速發展。它將智慧裝置連線到網路上,...

  • 發佈於 2020-10-22 16:00
  • 閲讀 ( 43 )

為什麼你的加密幣沒有你想象的那麼安全

... 那麼為什麼加密貨幣愛好者會受到威脅呢? ...

  • 發佈於 2021-03-14 03:01
  • 閲讀 ( 49 )

駭客威脅醫療物聯網裝置:以下是如何保證它們的安全

... 為什麼這些裝置會受到駭客的威脅? ...

  • 發佈於 2021-03-20 04:51
  • 閲讀 ( 48 )

7可怕的物聯網駭客和真正發生的剝削

...子躲在地毯下,害怕,而你和你的配偶試圖弄清楚發生了什麼事。 ...

  • 發佈於 2021-03-21 21:30
  • 閲讀 ( 60 )

保護智慧裝置和物聯網裝置的5個技巧

...讓你的生活變得更輕鬆、更方便,這是天賜之物。這就是為什麼用最新的物聯網裝置來裝飾你的家是一個誘人的前景。 ...

  • 發佈於 2021-03-22 17:04
  • 閲讀 ( 51 )

什麼是物聯網?

... 這就是為什麼許多物聯網平臺依賴於“直譯器”裝置。例如,SmartThings產品透過SmartThings集線器傳遞資料來相互通訊。這意味著每個裝置只需要知道集線器的語言,而集線器知道...

  • 發佈於 2021-03-23 22:14
  • 閲讀 ( 53 )

醫療物聯網:危險、風險和安全問題

... 什麼是醫療器械(medical devices)? ...

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

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

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

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

執行緒是什麼?它對您的智慧家居意味著什麼?

... 為什麼執行緒對未來的智慧家居很重要? ...

  • 發佈於 2021-03-28 00:33
  • 閲讀 ( 46 )

安全上網:你需要知道的數字距離

... 檔案越安全,使用帳戶和裝置就越不方便。這就是為什麼不要過火,用嚴格的安全措施讓自己精疲力盡,而要慢慢開始,做一些必要的事情。 ...

  • 發佈於 2021-03-28 21:23
  • 閲讀 ( 46 )
w47270893
w47270893

0 篇文章

作家榜

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

相關推薦