2024 Autor: Peter John Melton | [email protected]. Última modificación: 2023-12-16 04:49
La sesión de Preguntas y Respuestas de hoy nos llega por cortesía de SuperUser, una subdivisión de Stack Exchange, un grupo de sitios web de preguntas y respuestas impulsado por la comunidad.
Foto cortesía de nerovivo (flickr).
La pregunta
El lector superusuario TrudleR quiere saber por qué la "Internet de las cosas" impone la necesidad de direcciones 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.
¿Por qué la "Internet de las cosas" impone la necesidad de direcciones IPv6?
La respuesta
El colaborador de Superusuario Mokubai tiene la respuesta para nosotros:
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.
¿Tienes algo que añadir a la explicación? Apaga el sonido en los comentarios. ¿Quieres leer más respuestas de otros usuarios de Stack Exchange con experiencia en tecnología? Echa un vistazo a la discusión completa aquí.
Recomendado:
¿Por qué mi velocidad de descarga es más lenta que la que pago por Internet?
Tu ISP anuncia una conexión de 40 megabits por segundo, pero no se parece en nada a la velocidad de descarga que ves cuando estás agarrando un archivo grande. ¿Cual es el trato? ¿No está recibiendo todo el ancho de banda que está pagando?
¿Por qué tengo direcciones públicas IPv4 e IPv6 asignadas a mi red doméstica?
Si bien espera tener una dirección IPv4 asignada a su ubicación, puede sorprenderse al encontrar una dirección IPv6 asignada a usted también. ¿Por qué ambos tipos te serían asignados al mismo tiempo? La publicación de preguntas y respuestas de SuperUser de hoy tiene la respuesta a la pregunta de un lector curioso.
Desapareció Bloatware: Windows 10 elimina la necesidad de volver a instalar Windows en las PC nuevas
Los geeks a menudo vuelven a instalar Windows en sus nuevas PC para obtener un sistema completamente limpio. Gracias a un cambio en Windows 10, puede obtener una copia nueva de Windows en cualquier PC sin tener que descargar un archivo ISO y reinstalar Windows.
Norton, McAfee, entre las cosas más importantes que las personas quieren eliminar de sus computadoras.
Norton, McAfee, AVG y los programas maliciosos se encuentran entre las principales cosas que la gente quiere eliminar de sus computadoras, dice la firma de seguridad rival Sophos.
Cosas que no me gustan de Edge y por qué volví a IE
Estas son las cosas que no me gustaron de Edge, las características que perdí, incluidas las pocas opciones de personalización y administración, y por qué volví a IE.