LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with dhcp server (http://www.linuxquestions.org/questions/linux-newbie-8/problem-with-dhcp-server-804226/)

meandsushil 04-26-2010 05:36 AM

Problem with dhcp server
 
when i assign ip manually to a machine it gets ping by server and it also itself pings server but when i chose to use client machine as dhcp , so that it can directly get assigned ip from server, it does not get ip, instead random ip is provided which is out of range specified at server side in /etc/dhcpd.conf file.

what's the problem?

any setting?

divyashree 04-26-2010 05:43 AM

Quote:

Originally Posted by meandsushil (Post 3947923)
when i assign ip manually to a machine it gets ping by server and it also itself pings server but when i chose to use client machine as dhcp , so that it can directly get assigned ip from server, it does not get ip, instead random ip is provided which is out of range specified at server side in /etc/dhcpd.conf file.

what's the problem?

any setting?

Can you post the content of /etc/dhcpd.conf ?

Sayan Acharjee 04-26-2010 05:46 AM

Quote:

Originally Posted by meandsushil (Post 3947923)
when i assign ip manually to a machine it gets ping by server and it also itself pings server but when i chose to use client machine as dhcp , so that it can directly get assigned ip from server, it does not get ip, instead random ip is provided which is out of range specified at server side in /etc/dhcpd.conf file.

what's the problem?

any setting?

Means your dhcp server is not correctly configured. Make sure the dhcpd service is running.
Quote:

#service dhcpd status
When client system can't find any ip from DHCP server they acquire an ip automatically from this range 169.254.0.1-169.254.255.254.
Thats why its getting that random ip which should be from this range.


All times are GMT -5. The time now is 05:50 AM.