473,385 Members | 1,355 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

DHCP & DNS

114 100+
Guys, i have around 8 machines in my office. i do have a server with Windows Server 2003 installed. My server have two NIC- one for the internet and one for my local LAN. I have assigned static address of 192.168.0.1 to one adapter and have configured the global ip in the other adapter. Now i want to configure the server to act as both DHCP & DNS Server.

What i have done so far is that i have assigned default gateway as 192.168.0.1 and dns server also as 192.168.0.1 (pointing to the same machine) while configuring the dhcp server. And while configuring dns i have given the isp's dns address as the forwarders.

So, this is all i have done. And the problem is that the clients do not get ip assigned. it get some other auto ip instead.

Thus, please help me where i am gone wrong!
May 4 '08 #1
2 2155
Guys, i have around 8 machines in my office. i do have a server with Windows Server 2003 installed. My server have two NIC- one for the internet and one for my local LAN. I have assigned static address of 192.168.0.1 to one adapter and have configured the global ip in the other adapter. Now i want to configure the server to act as both DHCP & DNS Server.

What i have done so far is that i have assigned default gateway as 192.168.0.1 and dns server also as 192.168.0.1 (pointing to the same machine) while configuring the dhcp server. And while configuring dns i have given the isp's dns address as the forwarders.

So, this is all i have done. And the problem is that the clients do not get ip assigned. it get some other auto ip instead.

Thus, please help me where i am gone wrong!

Hello,
Leave the DNS, we will try to find out what is the problem with DHCP.

1. Check the DHCP server is properly started and running.
2. If it is proper, check your clients are properly configured DHCP client.
3. If point 2 is proper then issue "ifconfig /renew" cmd in command prompt and verify is there any traffic for DHCP is going on the network( you can use Ethereal).
4. If there is no traffic then, the problem could be with your client.
Normally Windows M/Cs uses 3 ways to address configure.
(i) Default method( where in, it just assign a private IP address, which is not assigned in any other machine with in your network)
(ii) DHCP method.
(iii) Static IP assign Method.

Check you computer that how it assigns IP address...

5.If there is a traffic then the problem could be your server.
Possible problems:
(i) Problem could be your DHCP configuration. Check your configuration
(ii)You told there are NIC one for public and other for Private right??.., check your DHCP server that, which interface it is offering DHCP service?. There can be chance that your DHCP server may offer service on Public interface, so you may not get the IP address to private network, and it is very danger, plz be careful.
(iii) If your interface is listening the right interface, check the DHCP server response for the client( this also can be viewed using ethereal).

I think with this you could isolate the problem, still not get back me with what you have tried and what was the results.

Regards,
Arul
May 5 '08 #2
raaman rai
114 100+
i am not sure whether you got my earlier post as a reply to your post below. well i think your point 5(ii) is the problem in my case. Cause i dont have any other computers (clients) which are dhcp configured but i find the clients machine getting dhcp ip assigned which i am not sure where it comes from. The ip achieved by my clients are out of the scope i have defined. And above all i dont have any idea as how to resolve the problem of my clients getting ip assigned in public interface. So, please help me! I am waiting long for your answer.

'
Hello,
Leave the DNS, we will try to find out what is the problem with DHCP.

1. Check the DHCP server is properly started and running.
2. If it is proper, check your clients are properly configured DHCP client.
3. If point 2 is proper then issue "ifconfig /renew" cmd in command prompt and verify is there any traffic for DHCP is going on the network( you can use Ethereal).
4. If there is no traffic then, the problem could be with your client.
Normally Windows M/Cs uses 3 ways to address configure.
(i) Default method( where in, it just assign a private IP address, which is not assigned in any other machine with in your network)
(ii) DHCP method.
(iii) Static IP assign Method.

Check you computer that how it assigns IP address...

5.If there is a traffic then the problem could be your server.
Possible problems:
(i) Problem could be your DHCP configuration. Check your configuration
(ii)You told there are NIC one for public and other for Private right??.., check your DHCP server that, which interface it is offering DHCP service?. There can be chance that your DHCP server may offer service on Public interface, so you may not get the IP address to private network, and it is very danger, plz be careful.
(iii) If your interface is listening the right interface, check the DHCP server response for the client( this also can be viewed using ethereal).

I think with this you could isolate the problem, still not get back me with what you have tried and what was the results.

Regards,
Arul
May 7 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: m.anwar | last post by:
i need to catch the the DHCP events (announce, Release,.. etc) in VB. Which COM will i use or what is the way to do that.
5
by: Steve | last post by:
Hi Folks, I'm trying to create a c# class to manage a DHCP subnet using the win api (dhcpsapi.dll). Currently I can't even instanciate my class, instead I receive the error:...
2
by: WhatHappend | last post by:
I have converted a .Net 1.0 application to .Net 2.0 and the web service invocations have delay of around 10seconds on each intial access. After the first access subsequent access are fast (After a...
5
by: Richard | last post by:
Hello, I'm working on an application to allow our network team to use a small application to make DHCP reservations on our Microsoft DHCP Server. The problem is you have to use P/Invoke to do...
0
by: GHUM | last post by:
Hello, I need to get a list of active leases on a windows dhcp server. Experts from Microsoft statet: """" A: Go to the Address leases of each scope in the DHCP snap-in and dump the leases...
1
by: Screenbert | last post by:
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. ...
0
by: screenbert | last post by:
Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes,...
1
by: Sage2007 | last post by:
I have two lan card in my server.i asigned public ip in 1st lancard. 2nd lancard asign to dhcp.the gateways were different in both lancards. when i enable 2nd lancard after disable. 2nd card gateway...
7
by: ixeye | last post by:
Anybody else ever had a problem like this? Windows 2003 Domain with 180 machines, 21 of them with XP SP2 Laptop Wireless access to the domain, on three different WIFI AP. Randomly (and luckily...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.