LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2010, 05:36 AM   #1
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Rep: Reputation: 14
Question 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?
 
Old 04-26-2010, 05:43 AM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by meandsushil View Post
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 ?
 
Old 04-26-2010, 05:46 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 624

Rep: Reputation: 64
Quote:
Originally Posted by meandsushil View Post
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.

Last edited by Sayan Acharjee; 04-26-2010 at 05:47 AM.
 
  


Reply

Tags
dhcp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Baffling DNS from a DHCP server problem. Appears to be ignoring dhcp.conf royce2020 Linux - Networking 1 02-16-2010 12:40 PM
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
Instead of Router DHCP Server, Pass DHCP Server control to Slackware orbit Slackware 6 05-11-2009 02:00 AM
a problem with a DHCP server A§M Linux - Server 1 03-14-2008 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration