Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Understanding the difference between DHCP and NAT

Posted on 2003-03-04
3
Medium Priority
?
2,435 Views
Last Modified: 2010-02-28
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?
0
Comment
Question by:the_game
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 41

Accepted Solution

by:
stevenlewis earned 200 total points
ID: 8068302
NAT is network address translation. It does not supply ip adddresses to clients. They are often used in conjunction with each other (ICS)
NAT maps ip addresses to ports, so in effect the ip's of the LAN are "hidden", and all requests appear to come from the same ip
example private range of ip's can't be routed to the internet, so with NAT, the requests go thru the NAT and appear to come from a valid public ip. replies are then sent back to the NAT, and then sent to the original requesting machine.
DHCP (dynamic host configuration protocol) can provide ip info to clients who request it
the confusion comes in because ICS (internet connection sharing) does both dhcp and NAT
You can use NAT with static ip addresses, and you can use dhcp without using NAT (if you don't have a connection to the net) Your ISP (if dialup, and some cable/dsl) uses dhcp to provide ip info to the clients, but hands out valid public ip addresses (and so doesn't use NAT)
in fact on w2wk you have a choice of using ICS or NAT), and if you use NAT, you can set up a seperate DHCP server
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question