Problem obtain IP and DNS address automatically

  • ljCharlie
  • Proficient
  • Proficient
  • No Avatar
  • Joined: May 15, 2003
  • Posts: 343
  • Status: Offline

Post July 7th, 2003, 6:05 am

I have setup a Windows 2003 Server domain controller and a couple of clients joining the domain controller. The problem I'm having right now is that the client computer does not obtain the DNS and IP address automatically from the domain controller. In the properties of the Internet Protocal(TCP/IP), the radio buttons of the Obtain an IP Address Automatically and Obtain DNS Server Automatically is already checked. But when I tried to surf the Internet, it doesn't work. I went into the command prompt and type ipconfig/all to verify if the client computer receive an ip address and dns server address but it doesn't. I know that this setup in the client computer works fine under Windows 2000 Server domain controller. Now, if I specifically put in the DNS server address in the client computer (TCP/IP) properties then it works. So my other question is, is this the new settings for Windows 2003 Server domain controller? Personally, I don't think this is the correct settting because this is so inconvenience. I have to go to every client computer and manually put in the DNS address.

Any suggestion is greatly appreciated.

ljCharlie
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post July 7th, 2003, 6:05 am

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Online

Post July 7th, 2003, 7:10 am

Have you installed the DHCP server and set up your scope? The client machines, if set to automatically obtain an IP, get it from the DHCP server, not the DNS server.

Based on your problem description, I'd say that's the issue. Once it's installed and you've created your scope, you need to remember to "authorize" it (under "Action")
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • ljCharlie
  • Proficient
  • Proficient
  • No Avatar
  • Joined: May 15, 2003
  • Posts: 343
  • Status: Offline

Post July 7th, 2003, 7:12 am

Thanks for the response. Yes, I have setup the DHCP server and it's working. Like I said, if I specify the DNS and Gateway IP under (TCP/IP) properties then I was able to surf the Internet and receive a local IP address from my DC.

ljCharlie
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Online

Post July 7th, 2003, 7:21 am

Did you get any DNS errors when installing Active Directory?

Can you successfully ping your server from your server? Can the clients successfully ping the server?

On your DHCP Scope (Server Options) did you set the correct values for:
003 Router - your router IP
006 DNS Servers - your DNS server IP (should be same as domain server)
015 DNS Domain Name - (Obvious)
044 WINS NBS Servers -Your WINS Server IP (same as domain server)
046 WINS NBT Node Type - should be hybryd (0x8)
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6396
  • Loc: unflux.net
  • Status: Offline

Post July 7th, 2003, 8:44 am

what is the default gateway set to on your client stations? You will need
to specify the default gateway no matter what setup you have.

In most cases, it's your internal network braodcast address -
ex. 192.168.0.1

If your router and/or server are set to this IP, then it will still be that.
UNFLUX.net Hosting | Foto
Quality Web Hosting
  • ljCharlie
  • Proficient
  • Proficient
  • No Avatar
  • Joined: May 15, 2003
  • Posts: 343
  • Status: Offline

Post July 7th, 2003, 10:32 am

I'm not sure about Windows 2003 Server, but I believed the DHCP server is working fine. What I'm not sure is the DNS server. I read somewhere that I don't need to setup WINS anymore.

Yes, the internal gateway is 192.168.0.1 but I don't remember setting up any internal gateway or dns on my client computer under Windows 2000 DC. Like I said, if I specify the DNS and Gateway in my client computer then it works just fine.

ljCharlie
  • Bigwebmaster
  • Site Admin
  • Site Admin
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 7348
  • Loc: Seattle, WA
  • Status: Offline

Post July 7th, 2003, 1:01 pm

ljCharlie wrote:
Thanks for the response. Yes, I have setup the DHCP server and it's working. Like I said, if I specify the DNS and Gateway IP under (TCP/IP) properties then I was able to surf the Internet and receive a local IP address from my DC.

ljCharlie


I do not think DHCP is working then. If DHCP was working then you wouldn't have to manually put in the dns and gateway IP. I believe it would figure that all out on its own. If DHCP was not working then you would have to manually put in the information to get it to work like you did.
Ozzu Hosting - Want your website on a fast server like Ozzu?
Contact US for more information about our plans and rates
  • ljCharlie
  • Proficient
  • Proficient
  • No Avatar
  • Joined: May 15, 2003
  • Posts: 343
  • Status: Offline

Post July 7th, 2003, 1:05 pm

So how can I tell that the DHCP is working properly? Becase I was able to see the client computer name and ip address. In addition, I was able to login from the client computer and load my profile from the DC. If it is not working, how do I go about configuring?

ljCharlie
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6396
  • Loc: unflux.net
  • Status: Offline

Post July 7th, 2003, 1:21 pm

well, the point of having DHCP is to be fully automatic with the logon
config. If you are having to manually set anything, then DHCP is
definitely not working.

I'm not sure of your skill level with networking, so bear with me if you
know how to do all this.

On a client computer -
1. Click START, then RUN
2. Type "cmd" (no quotes) and hit enter. A console window will appear.
3. In the console, type "ipconfig /release" (no quotes).
4. Then type "ipconfig /renew" (no quotes). This should show you the
new status of your network ip.
5. Then type "ipconfig /all" (no quotes) to see all of your settings for the
network.

Tell us what the ipconfig /all shows you.
UNFLUX.net Hosting | Foto
Quality Web Hosting
  • ljCharlie
  • Proficient
  • Proficient
  • No Avatar
  • Joined: May 15, 2003
  • Posts: 343
  • Status: Offline

Post July 7th, 2003, 1:27 pm

Right now I'm not at the station has this problem but when I do an ipconfig/all, I receive something with 125.something.something.something. I'll give you more specific information when I get home. However, this 125 ip address only shows up if in the client computer, I select the Obtain automatically radio buttons for DNS and IP address. If in the Default gateway and under the DNS section I specify the addresses then the client computer will automaticall show the correct IP address that's been assigned from the DC computer works fine.

ljCharlie
  • UNFLUX
  • Genius
  • Genius
  • User avatar
  • Joined: Dec 20, 2002
  • Posts: 6396
  • Loc: unflux.net
  • Status: Offline

Post July 7th, 2003, 1:45 pm

if I understand what you are saying, that is perfectly normal.

The 125.x.x.x address is probably from your ISP, and this is because your
client machine thinks the ISP's gateway is the default. This is really
stupid, I know, but it is the case. All you have to do, is go into your
Advanced settings of the client machine and set the default gateway
behind the automatic settings and it will work as you need it to. Which
is pretty much what you are telling it to do anyway.
UNFLUX.net Hosting | Foto
Quality Web Hosting
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Online

Post July 7th, 2003, 6:08 pm

I still have to believe that the DHCP Server is not functioning correctly.


First it sounds like your default gateway is set wrong as pointed out above. Your default gateway should be the same as your router. You can set this in DHCP as I detailed above.

Quote:
On your DHCP Scope (Server Options) did you set the correct values for:
003 Router - your router IP
006 DNS Servers - your DNS server IP (should be same as domain server)
015 DNS Domain Name - (Obvious)
044 WINS NBS Servers -Your WINS Server IP (same as domain server)
046 WINS NBT Node Type - should be hybryd (0x8)


Actually, I was trained to put the 003 router under the scope options and the remaining three under the server options.


To go back to what you mentioned about WINS, if you're running all Win 2000 clients and servers or XP, then no you don't need WINS, however, if you are running 98 or NT clients you do.


The DHCP server is what provides their DNS server IP, the IP number the default gateway and the WINS server information when you have the clients set to automatically obtain an IP. I can tell from the way that you've stated yourself and your experience with 2000 server that this is what you want.

I truly feel you need to look closely at all your settings on your DHCP server.


These are some key steps I was trained to look for:
1)To verify and confirm that DNS is working properly you should always, before installing Active Directory, ping your Server (localhost) and make sure you have a successful ping and then run nslookup at the command prompt. If DNS is functioning properly then nslookup should return the name of the default server and the IP address. If it's not, you have a problem. I the server doesn't appear in DNS immediately you can force reigistration by typing ipconfig/registerdns at the command prompt.
***Critical!!! - in order to use Active Directory, you need to enable dynamic updates in both the forward and reverse lookup zones!!! This May Be Your Problem***
You should enable scavenging.
2)Make sure you create a forward and revers lookup zone for your router/s as at least one of these will typically be your default gateway.
Key thing is for every forward lookup zone there needs to be a reverse lookup zone.
3)After installing Active Directory you need to confirm that in your DNS server that in addition to your original forward lookup zones you also have the additional following directories: _msdcs, _sites,_tcp, and _upd
If you do not, you have a problem
4.When setting up DHCP, you need to set up any reserved IP's (server, routers, etc), and set up the scope options and server options I detailed in my earlier post.
5.There's nothing you really need to do with WINS after installing except make sure it's running. (Remember as I stated earlier if you have legacy clients on the network you need WINS.)

That's a nutshell version of about 3 weeks of instruction. Hope it helps you resolve the problem.
-----------------------------------------------
Just had an additional thought
Make sure you have DHCP turned off in your router - (many newer routers have a DHCP server built in and by default it's usually on. ) You can't have two DHCP servers running on the same LAN. The client machines will get their IP info from the first DHCP server that they communicate with, and they may just be picking it up from the router.
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • ljCharlie
  • Proficient
  • Proficient
  • No Avatar
  • Joined: May 15, 2003
  • Posts: 343
  • Status: Offline

Post July 8th, 2003, 6:02 am

First, thank you very much for your information. I'll check those settings when I get home today. However, here are additional information I discovered last night.

On my client computer I was able to receive the correct IP address from my DC computer. However, there is no default gateway ip address listed and the DNS ip address is pointed to my default gateway ip address when I do a ipconfig/all in my client computer. I was able to access the network fine and everything...except accessing the Internet in my client computer. The DC computer can access the Internet fine except all the client computers because, I believed, the default gateway address wasn't listed and the DNS address was wrong. The DHCP server in the router was disabled. In the DNS server setting, under my forward lookup in my domain name, I did see all _msdcs, _sites,_tcp, and _upd listed. But here's what I see in the event log:

Quote:
Event Type: Error
Event Source: DNS
Event Category: None
Event ID: 6702
Date: 7/7/2003
Time: 4:34:54 PM
User: N/A
Computer: CHARLIE
Description:
DNS server has updated its own host (A) records. In order to ensure that its DS-integrated peer DNS servers are able to replicate with this server, an attempt was made to update them with the new records through dynamic update. An error was encountered during this update, the record data is the error code.

If this DNS server does not have any DS-integrated peers, then this error
should be ignored.

If this DNS server's Active Directory replication partners do not have the correct IP address(es) for this server, they will be unable to replicate with it.

To ensure proper replication:
1) Find this server's Active Directory replication partners that run the DNS server.
2) Open DnsManager and connect in turn to each of the replication partners.
3) On each server, check the host (A record) registration for THIS server.
4) Delete any A records that do NOT correspond to IP addresses of this server.
5) If there are no A records for this server, add at least one A record corresponding to an address on this server, that the replication partner can contact. (In other words, if there multiple IP addresses for this DNS server, add at least one that is on the same network as the Active Directory DNS server you are updating.)
6) Note, that is not necessary to update EVERY replication partner. It is only necessary that the records are fixed up on enough replication partners so that every server that replicates with this server will receive (through replication) the new data.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2a 23 00 00 *#..


And in my client computer, I see this in my event log.
Quote:
Event Type: Warning
Event Source: dnscache
Event Category: None
Event ID: 11050
Date: 7/2/2003
Time: 8:10:58 PM
User: N/A
Computer: MAJTHAM
Description:
The DNS Client service could not contact any DNS servers for a repeated number of attempts. For the next 30 seconds the DNS Client service will not use the network to avoid further network performance problems. It will resume its normal behavior after that. If this problem persists, verify your TCP/IP configuration, specifically check that you have a preferred (and possibly an alternate) DNS server configured. If the problem continues, verify network conditions to these DNS servers or contact your network administrator.
Data:
0000: before 05 00 00 ´...


Event Type: Warning
Event Source: DnsApi
Event Category: None
Event ID: 11180
Date: 7/2/2003
Time: 8:05:55 PM
User: N/A
Computer: MAJTHAM
Description:
The system failed to update and remove registration for the network adapter with settings:

Adapter Name : {1E4C1610-C843-4134-96A6-91C6D788D2BF}
Host Name : majtham
Adapter-specific Domain Suffix : personal.local
DNS server list :
192.168.0.2, 68.112.192.9
Sent update to server : None
IP Address(es) :
192.168.0.10

The reason for this failure is because the DNS server it sent the update request to timed out. The most likely cause of this failure is that the DNS server authoritative for the zone where the registration was originally made is either not running or unreachable through the network at this time.
Data:
0000: before 05 00 00 ´...


The ip address 68.112.192.9 is my ISP DNS address but this address is listed as an optional in my DNS server when the internal DNS server can't resolve.

ljCharlie
  • ricky_yean
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Dec 18, 2003
  • Posts: 12
  • Status: Offline

Post December 18th, 2003, 11:03 pm

Hi, I have a similar problem with Windows 2003, I have internet functioning correctly, but after I reinstalled the Windows 2003, the internet does not work. On my connection icon tray there is a question mark and the problem is CANNOT OBTAIN IP ADDRESS, i click repair and it cannot obtain it. I have installed another OS(Dual Boot) as a back up and this is why I'm online right now. I am sure that the ETHERNET ADAPTER AND MODEM that I connect with is correctly installed, but just not functioning in obtaining the IP address to get online. In here I can get online with the same modem and stuff, but when switch to 2003, it doesn't work, cannot obtain IP address. I went to the TCP/IP setup and made sure it's AUTOMATIC in obtaining the info but doesn't work, I got the IP adress and gateway and DNS and mask info from this OS and typed it in manually in 2003, but it still doesn't work. What is the problem, please help.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22498
  • Loc: Pittsburgh PA
  • Status: Online

Post December 18th, 2003, 11:22 pm

ljCharlie wrote:
So how can I tell that the DHCP is working properly? Becase I was able to see the client computer name and ip address. In addition, I was able to login from the client computer and load my profile from the DC. If it is not working, how do I go about configuring?

ljCharlie



I see this issue was never resolved now that ricky_yean also asked his question. You can tell if the DHCP server is running if there is a green "up" arrow when you are looking at the DHCP server in administrative tools. If it is a "down" red arrow it's not working. What a lot of people forget (or don't realise) with Win2K or Win2k3 servers, is that you MUST Activate DHCP. If you haven't activated it, it will give you exactly the results you are seeing. It won't propogate the IP's to the network. To activate it is very simple. In your DHCP server, highlight the server (typically it will be the first line computername.domainname.com)

Then click Action, then click authorize. That should authorize and "up" your DHCP server and should resolve all of the above issues.
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post December 18th, 2003, 11:22 pm

Post Information

  • Total Posts in this topic: 29 posts
  • Users browsing this forum: No registered users and 298 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.