E
E
EYPPNM2019-03-29 18:12:23
Network routing
EYPPNM, 2019-03-29 18:12:23

How is NAT different from regular "routing"?

What's the difference between NAT and a regular server that distributes IP addresses for its internal network?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2019-03-29
@Zoominger

Like between NAT and DHCP.
NAT translates addresses, DHCP distributes them (not only them).

M
Mercury13, 2019-03-29
@Mercury13

These are two completely different technologies. They go hand in hand, but it's no problem to use them separately.
DHCP without NAT - any home network with "white" addresses, which automatically distributes them.
NAT without DHCP - no problem to do it on a regular home router.
How NAT works. We take and correct some parameters in the outgoing packet, such as the outgoing port (to find out whose packet). At the same time, we change the outgoing address to the external network address. When the answer comes, we restore the original subscriber, change the incoming address to the address of this subscriber and relay it to the internal network.
The task of simple routing (which is not NAT) is simply to transfer the packet further along the chain, reducing the TTL and determining from the routing table which connection it should be transmitted to.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question