Solved

difference between NAT and DHCP

Posted on 2004-07-31
5
1,118 Views
Last Modified: 2008-01-09
hi all,

i like to know the difference between NAT and DHCP.In which instances these 2 can be used. Are these 2 dependent on each other.

thanka and regards
aravind
0
Comment
Question by:garavindbabu
[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
5 Comments
 
LVL 1

Accepted Solution

by:
crazynoodle earned 50 total points
ID: 11685660
NAT - is Network Address Translation and is used to translate one ip address to another, or in some cases translate many private ip addresses to on address.  http://www.faqs.org/rfcs/rfc1631.html

DHCP - is a mechanism to dish out IP Address dynamically to clients,  this is an alternative to statically configured an IP address on the client machine.  http://www.networksorcery.com/enp/protocol/dhcp.htm

No, they are not dependent on each other.

Hope this helps.
0
 
LVL 4

Expert Comment

by:net_sec_guru
ID: 11686276
NAT is best used when you have a limited number of IP addresses. You can mask many to one ip.

DHCP is good when you don't want to manually assign IP addresses to each machine. You set up the server to 'issue' addresses to each machine. This helps keep track of ip addresses.

The definitions are good from crazynoodle - just wanted to add when you would use them.

If you have a single cable connection with one Ip address, you can set up NAT inside your network. Then one gateway machine can be dual-homed and be used to route all traffic to the Internet. You'd run NAT inside on the rest of your network so you don't have to pay for another external IP address.

And DHCP would be used for larger networks (20 or more machines). I don't see a need for a DHCP server for any less than that as it's easier to just manually assign IP addresses to each machine!
0
 

Expert Comment

by:eugeneman42
ID: 12656878
I have the same question but let me state it like this.  Under Windows 2003, in addition to having a DHCP server and you also have the option under "NAT/Basic Firewall" of selecting "Automatically assign IP addresses using the DHCP allocator" and can specify a range of IP addresses to use.  The two appear to operate independantly.  I can shut off the NAT option "Automatically assign IP addresses using the DHCP allocator" and the clients are still getting IP adresses (presumably from the DHCP server).  I'm not clear on the relationship between the two.  That is, why does NAT have this option when one could just use the DHCP server for this purpose?  Do the two conflict if both enabled?
0

Featured Post

Defend Your Organization from The Greatest Threats

Looking to fill the gaps in your security? Bring together information from the network, endpoint and threat intelligence feeds to really see what's happening in your organization. Join the WatchGuardians in their adventures fighting cyber crime!

Question has a verified solution.

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

Let’s list some of the technologies that enable smooth teleworking. 
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

759 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