Hardware Reference
In-Depth Information
FigureĀ 14-1), everything within your local network has a local IP address that is
visible only to other devices within your network. Your router/modem has one
public-facing global IP addresses that is visible to the rest of the Internet. If you
want to get data between somewhere else on the Internet and a device behind
a router, you need to use Network Address Translation (NAT).
Figure 14-1: A simplified view of the web and your local network
Network Address Translation
There are not enough IP addresses to have one for every device in the world.
Furthermore, users often do not want their computers and other networked
devices visible to the rest of the world. For this reason, routers are used to create
isolated networks of computers with local IP addresses. However, when you do
want one of these machines to be accessible from the rest of the Internet, you need
to use NAT through the router. This allows a remote device to send a request to
your router asking to talk to a device in your local network. When you connect
your Arduino to the larger web later in this chapter, you use a form of NAT.
Search WWH ::




Custom Search