IP addresses

Microsoft Windows server 2003
February 10, 2010 at 01:06:14
Specs: Windows XP
Dhcp is giving 192.168.1.xx segments instead of 192.168.0.xx. And 192.168.1.xx ip addresses are not shown in Dhcp server. Is there any solution or I have to reinstall Dhcp.

See More: IP addresses

Report •


#1
February 10, 2010 at 04:25:48
I presume you are talking about the DHCP server in Windows Server. You need to edit the DHCP scope, or delete the DHCP scope and re-create. Don't forget to authorise it if you choose to do this.

Also, it may be worth checking there isn't another DHCP server on your network, i.e. the router which is giving out different addresses to your server?

Hope this helps?

Dean Spencer


Report •

#2
February 10, 2010 at 07:56:34
If you have a SOHO router with DHCP enabled on it, you'll want your clients to get their TCP/IP settings from it. So, if you do have two DHCP servers running, kill the one on your Server.

Oh and just FYI, your server should have a statically assigned IP address that is outside the DHCP scope set on the DHCP server.

Typically most SOHO routers use a scope like the following:

192.168.0.100 to 192.168.0.199

so use an IP like: 192.168.0.10 for your server.


Report •

#3
February 10, 2010 at 22:54:38
Actually I'm running one lab in my office I got windows server 2003 with dhcp installed, but not connected to the network. Router is from ISP, so I don't have access. I'm loosing connection sometimes, yesterday I couldn't ping domain controller and other servers from clients. Do I have to shut down 192.168.1.xx computers and than to reinstall dhcp, can I do It during working hours. Or will it be better doing It after working hours?

Thank You for your help.


Report •

Related Solutions

#4
February 11, 2010 at 07:55:30
Ok, if I'm understanding your setup correctly, you have a lab setup in your office that is completely isolated from your work LAN (always a good choice since you don't want to mess up your production environment while labbing things out!)

This LAN includes a 2003 server that has been promoted to a DC and a domain has been setup. The DC is providing DHCP to clients and the clients are losing connectivity to the DC.

The first question that comes to my mind is, what is your DC's IP address? In fact, open a command prompt window and type:

ipconfig /all

and post the output in a repsonse.

In that same response show your DHCP setup. Which is to say, what scope have you defined, what DNS and Gateway IP's have you configured to give to clients.


If I've made any mistakes with regard to your setup, please explain in detail how you're setup and what exactly it is you're trying to achieve.


Report •

#5
February 11, 2010 at 22:59:49
Good morning

My DC ip address is 192.168.0.1 Now if I want to join a new computer to a Domain it gives me 192.168.1.xx ip address, I have 5 PC-s with 1.xx ip address, I can ping them, they don't show on Dhcp, on Dns i can see their records.

Before users automatically had access to the internet when I connect them to the network, now I have to put DC ip address on Preferred Dns Server on every client.

Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.1.104
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Thursday, February 11, 2010 12:45:22

I would like to solve the problem of ip addresses, and I would like to know why I cannot access internet without preferred dns server ip address.

Thank You


Report •

#6
February 12, 2010 at 05:52:52
Your IP address is one subnet (192.168.1.104) and your DNS address is another separate (ie: unique, discrete) subnet (192.168.0.1)

This won't work without a router between the subnets.

You need to explain better for me. I'm still not understanding your setup.

I know you're at work and have a work LAN. What subnet is this LAN using? What is the DHCP scope for it? What is providing the DHCP service?

I also know you have what appears to be a lab setup using what appears to be a different subnet. If this is correct, then the question is, what are you trying to accomplish with this lab and, is it important that lab clients have internet access? Is the lab supposed to be on a separate subnet from your work LAN, or on the same one? Lastly, what is providing it's DHCP?


I'm trying to clarify because the following is a little confusing:

"My DC ip address is 192.168.0.1 Now if I want to join a new computer to a Domain it gives me 192.168.1.xx ip address, I have 5 PC-s with 1.xx ip address, I can ping them, they don't show on Dhcp, on Dns i can see their records."

and I need to know if the DC at IP 192.168.0.1 is on the same domain as these 5 clients with the 1.xxx IP addressing?


Report •

#7
February 12, 2010 at 07:00:47
My ip address is 192.168.1.104 I can ping domain controller (192.168.0.1) If I want to add a new computer to a network and join it to a domain it will give 192.168.1.xx ip address.

Dhcp is scoped from 192.168.0.1 - 192.168.0.255. All computers have 192.168.0.1 ip addresses, except 5 computers.

"In lab I'm doing some testings like Group policy to see how it effects in users, testing anti viruses etc. I have 2 servers installed one client and a switch, its not connected to a real network."

Thank You


Report •

#8
February 12, 2010 at 07:33:25
Dhcp is scoped from 192.168.0.1 - 192.168.0.255. All computers have 192.168.0.1 ip addresses, except 5 computers.

Ok, this tells me that you have two DHCP servers running. Or, you only have one running and you've got it set to give out IP's in the wrong subnet (192.168.1.xxx) while statically applying IP's to the ones with 192.168.0.xxx

Either way, you need to get all clients on the same subnet as the DC (Domain Controller). If you have a SOHO Router, or a real router, in the mix, check it and your Windows servers for the DHCP service. If you find DHCP running, check it's scope. When you find whatever device is running DHCP and giving out the 192.168.1.xxx IP's, disable that DHCP so the other one can do it's job.

If it turns out you only have one DHCP server running, then it's configured wrong and you need to ensure it's giving out IP's in the same subnet as your DC. The DNS address in a Windows Active Directory Domain is the IP of the DC on which "dcpromo" was run.


Report •

#9
February 12, 2010 at 10:19:20
You said "This won't work without a router between the subnets". I don't have a router, never had one running. This problem recently started, before a week. Maybe just reinstalling dhcp will be a good idea.

Why I don't have internet connection without dns preferred ip address (192.168.0.1) ?


Thank You Curt


Report •

#10
February 19, 2010 at 21:18:58
Cool there,
Are you able to view your ip address on your command prompt first? If so there is no problem with your address. Otherwise contact your service provider. You can also get to know about your internet speed here http://www.ip-details.com/ . Its as easy as you enter your IP address that you get to know the speed of your connection.
Cheers!

Report •

#11
February 20, 2010 at 20:40:58
hottwink you are talking internet but the conversation is about local lan.

Fitimi
IP Address. . . . . . . . . . . . : 192.168.1.104
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DHCP Server . . . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 192.168.0.1

Do you see the DNS servers ip? Its in the x.x.0.x where as everything else is x.x.1.x

It appears your ROUTER is giving out ip addresses. If you want the server to do it the DISABLE DHCP ON THE ROUTER.

This is WHY you don't see these entries in your dhcp server.

Make sense?


Report •

#12
February 21, 2010 at 05:56:36
wanderer:

The OP said the following in his last post, "I don't have a router, never had one running. This problem recently started, before a week. Maybe just reinstalling dhcp will be a good idea."

If he has no router and he's still getting the wrong DNS address then he should only have to go into his DHCP server settings and correct the DNS address (ie: make it 192.168.1.1) so that clients get the correct info.

However, I suspect he actually does have a router running DHCP in the mix somewhere because he has stated previously he has some client PC's with 0.x and some with 1.x

Fitimi:

Regarding the above, check your DHCP server's settings and correct the DNS IP if that is the problem. Also, you said above, "Dhcp is scoped from 192.168.0.1 - 192.168.0.255. " Adjust the scope to 192.168.0.100 to 192.168.0.199 as you always want to leave some IP's outside of the DHCP scope to be used for static assignments such as servers and network printers.

Also, detail your exact setup for me. These days (for most folks) it looks as follows:

internet >> SOHO Router >> clients/servers

If you don't own a SOHO Router, I highly recommend buying one. Once you have it, before plugging it into your network you will want to disable DHCP on your server. Then plug it in and set it up according to the setup guide and your IP addressing problems should all go away.

If you have more clients than can be plugged in to a SOHO Router with 4 LAN port's you'll require a switch and it should be plugged in to a LAN port on the SOHO Router.


Report •

#13
February 22, 2010 at 00:21:39
This is how a normal ip addresses should be.

Primary Dns Suffix . . . . . . . : ASKK.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : ASKK.local

adapter Local Area Connection 2:

Connection-specific DNS Suffix . : askk
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Eth

Physical Address. . . . . . . . . : 00-06-4F-
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.35
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.2
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Saturday, February 20, 2010 8:19:53

Defoult Getway 192.168.0.2 is my Isa Server. Im having an DHCP error in Event View "Access Denied". On Registry of Domain Controller I give full permission to Network Services user, on DHCP and TCPIP (Hkeky_local_machine/system/currentcontrolset/services). Im trying to renew my ip address but still its giving me wrong one.

Thank You


Report •

Ask Question