Solved

difference between NAT and DHCP

Posted on 2004-07-31
5
1,116 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

828 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