Understanding the difference between DHCP and NAT
Posted on 2003-03-04
I was recently reading up on NAT and as I know it acts like a DHCP server, I fail to see the point of it over DHCP as it seems I can do the same thing.
With DHCP I would have a server with 2 network cards one external and one internal, the internal would be a private network and distribute IP addresses to clients whose IP settings were to obtain automatically.
These clients could then access the internet right as long as their default gateway was set to the DHCP server.
How is this different to what NAT does?
The client settings are the same (obtain IP automatically)
and it just maps ports to private IP address right?
If anyone can direct me to a detailed (but understandable) explanation I would appreciate it?
Also why you would use one over the other?