From the course: Ubuntu Linux: Providing Services

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Enable network address translation (NAT)

Enable network address translation (NAT)

From the course: Ubuntu Linux: Providing Services

Enable network address translation (NAT)

- [Instructor] To communicate with other computers on a network or on the Internet, systems need to have an IP address. But there aren't enough IPv4 addresses for every individual device that needs to connect to the Internet. To solve this problem, we give Internet-facing devices like routers a unique public IP address, and then we use one of three designated ranges of IP addresses for clients on the private network. These ranges, the 10 range, 172.16 range, and 192.168 range are not allowed to be used on the Internet. They're reserved for use on private networks. But with so many devices on private networks using addresses that can't be used on the Internet, how does information get from these devices to the Internet? A router uses NAT or network address translation to convert packets from machines with private addresses into packets that can be sent to systems with a public address. To the system on the other end, packets look like they came from the router, but the router handles…

Contents