IP Address Tcp/Ip
IP Address Tcp/Ip
Almost all wireless access points, many wired Ethernet routers, and computers
running Internet Connection Sharing have built-in DHCP servers. While this
makes configuration of a small network easier, it can cause problems when the
DHCP servers are used in larger networks. For this reason, Indiana University
prohibits individuals and departments from setting up local DHCP servers on the
IU network; see What are the DHCP operational policies at IU?
Client computers configured to use DHCP for IP assignment do not need to have
a statically assigned IP address. In addition, they generally do not need to have
addresses configured for DNS servers or WINS servers, as these are also set by
the DHCP server.
3. The router directs the DISCOVER packet to the correct DHCP server.
6. The server sends an ACK (or DHCPACK) packet, confirming that the
client has a been given a lease on the address for a server-specified period of
time.
When a computer uses a static IP address, it means that the computer is
manually configured to use a specific IP address. One problem with static
assignment, which can result from user error or inattention to detail, occurs when
two computers are configured with the same IP address. This creates a conflict
that results in loss of service. Using DHCP to dynamically assign IP addresses
minimizes these conflicts.
When you install and configure the DHCP service on a domain controller, the server
is typically authorized the first time that you add the server to the DHCP console.
However, when you install and configure the DHCP service on a member server, you
need to authorize the DHCP server.
Note You must be logged on to the server with an account that is a member
of the Enterprise Administrators group.
2. In the console tree of the DHCP snap-in, select the new DHCP server.
If there is a red arrow in the bottom-right corner of the server object, the
server has not yet been authorized.
3. Right-click the server, and then click Authorize.
4. After a few moments, right-click the server again and then click
Refresh. The server should display a green arrow in the bottom-right corner
to indicate that the server has been authorized.
Note In the console tree, select the DHCP server on which you want to create
the new DHCP scope.
2. Right-click the server, and then click New Scope. In the New Scope
Wizard, click Next, and then type a name and description for the scope. This
can be any name that you choose, but it should be descriptive enough to
identify the purpose of the scope on your network. For example, you might
use Administration Building Client Addresses.
3. Type the range of addresses that can be leased as part of this scope,
for example, a starting IP address of 192.168.100.1 to an ending address of
192.168.100.100. Because these addresses are given to clients, they should
all be valid addresses for your network and not currently in use. If you want
to use a different subnet mask, type the new subnet mask. Click Next.
4. Type any IP addresses that you want to exclude from the range you
entered. This includes any addresses that may have already been statically
assigned to various computers in your organization. Click Next.
5. Type the number of days, hours, and minutes before an IP address
lease from this scope expires. This determines the length of time that a client
can hold a leased address without renewing it. Click Next to select Yes, I
want to configure these options now, and then extend the wizard to
include settings for the most common DHCP options. Click Next.
6. Type the IP address for the default gateway that should be used by
clients that obtain an IP address from this scope. Click Add to place the
default gateway address into the list, and then click Next.
Note When DNS servers already exist on your network, type your
organization's domain name in Parent domain. Type the name of your DNS
server, and then click Resolve to ensure that your DHCP server can contact
the DNS server and determine its address. Then click Add to include that
server in the list of DNS servers that are assigned to the DHCP clients. Click
Next.
7. Click Yes, I want to activate this scope now, to activate the scope
and allow clients to obtain leases from it, and then click Next. Click Finish.
DNS
Note that DNS servers running Windows Server 2003 must point to
themselves for DNS. If this server needs to resolve names from its Internet
service provider (ISP), you must configure a forwarder. Forwarders are
discussed in the How to Configure Forwarders section later in this article.
10. Click OK three times.
NOTE: If you receive a warning from the DNS Caching Resolver service, click
OK to dismiss the warning. The caching resolver is trying to contact the DNS
server, but you have not finished configuring the server.
Step 2: Install Microsoft DNS Server
You are prompted for a zone type. The zone types include:
There is also an option to the store zone in Active Directory. This option is
only available if the DNS server is a Domain controller.
Accept the default name for the new zone file. Click Next.
Note that Windows 2000-based DNS severs should point to themselves for
DNS. If this server needs to resolve names from its Internet service provider
(ISP), you should configure a forwarder. Forwarders are discussed later in
this article.
10. Click OK to close Advanced TCP/IP Settings properties.
11. Click OK to accept the changes to your TCP/IP configuration.
12. Click OK to close Local Area Connections properties.
Note If you receive a warning from the DNS Caching Resolver service, click
OK to dismiss the warning. The caching resolver is trying to contact the DNS
server, but you have not finished configuring the server.
By default, a Microsoft DNS server connects to the Internet to further process DNS
requests with root hints. When you use the Dcpromo tool to promote a server to a
domain controller, the domain controller requires DNS. If you install DNS during the
promotion process, you get a root zone. This root zone indicates to your DNS server
that it is a root Internet server. Therefore, your DNS server does not use forwarders
or root hints in the name-resolution process.
To remove the root DNS zone
1. In DNS Manager, right-click the DNS Server object, and then click
Properties.
2. Click the Forwarders tab.
3. Click to select the Enable Forwarders check box.
4. In the IP address box, type the first DNS server to which you want to
forward, and then click Add.
5. Repeat step 4 until you have added all the DNS servers to which you
want to forward.
If the Root Hints tab is unavailable, your server is still configured as a root
server. See the "To Remove the Root DNS Zone" section in this article. You
may need to use custom root hints that are different from the default.
However, a configuration that points to the same server for root hints is
always incorrect. You should not modify your root hints. If your root hints are
incorrect and need to be replaced, see the following Microsoft Knowledge
Base article: