LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 03-01-2009, 01:17 PM   #1
santosh.chini
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Rep: Reputation: 0
centos 5 configuring dhcp


actually i wanted to design cluster, so for that i am trying to set dhcp for network booot option for remaining nodes(pxe). what every i did it was not work instead it is showing some error..

below one show this how i configured as which was posted one of this forum ..


dhcpd.conf

ddns-update-style interim;
ignore client-updates;


option domain-name "qchipware";
option domain-name-servers 190.160.10.10;
option subnet-mask 255.255.255.0;



subnet 190.160.10.0 netmask 255.255.255.0 {
authoritative;
range 190.160.10.11 190.160.10.255;
option routers 190.160.10.1;
allow unknown-clients;
allow booting;
allow bootp;
nex-server 190.160.10.10;
filename "pxelinux.0";

}

when i try to start dhcpd i got error: dhcpd failed. The error was: Starting dhcpd: [FAILED]


please any body can help me ...
 
Old 03-03-2009, 01:59 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,627
Blog Entries: 10

Rep: Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776Reputation: 776
How about you look in the logs in the hope they tell you WHY it fails?

Or if you don't use service dhcpd start but try to start the daemon
manually - do you get any debug output?
 
Old 03-04-2009, 02:01 AM   #3
sasserworm
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
Quote:
Originally Posted by santosh.chini View Post
actually i wanted to design cluster, so for that i am trying to set dhcp for network booot option for remaining nodes(pxe). what every i did it was not work instead it is showing some error..

below one show this how i configured as which was posted one of this forum ..


dhcpd.conf

ddns-update-style interim;
ignore client-updates;


option domain-name "qchipware";
option domain-name-servers 190.160.10.10;
option subnet-mask 255.255.255.0;



subnet 190.160.10.0 netmask 255.255.255.0 {
authoritative;
range 190.160.10.11 190.160.10.255;
option routers 190.160.10.1;
allow unknown-clients;
allow booting;
allow bootp;
nex-server 190.160.10.10;
filename "pxelinux.0";

}

when i try to start dhcpd i got error: dhcpd failed. The error was: Starting dhcpd: [FAILED]


please any body can help me ...


i think your range ip. try rescope yr range not till 255 broadcast ip

# Sample configuration file for ISC dhcpd

DHCPDARGS=eth0;

default-lease-time 21600;
max-lease-time 21600;
ddns-update-style ad-hoc;
authoritative;


subnet 172.20.70.0 netmask 255.255.255.0 {
range 172.20.70.4 172.20.70.100;

option broadcast-address 172.20.70.255;
option routers 172.20.70.254;
option domain-name-servers 172.20.70.3;
}



subnet 172.20.80.0 netmask 255.255.255.0 {
range dynamic-bootp 172.20.80.4 172.20.80.100;
option broadcast-address 172.20.80.255;
option routers 172.20.70.3;
option domain-name-servers 172.20.70.3;
}
 
Old 03-06-2009, 07:00 AM   #4
santosh.chini
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
thank you for ur response
i have tried it but no use please can anybody tell me how to setup parallel computing with 4 computer one is master and other three are client diskless and i have router connected in between to communicate with each other. please anybody help me to set it up for this given machine i have the range also ....
thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP on CentOs 5.2 with 2 NICs Help xtremeclones Linux - Networking 7 02-25-2009 06:06 PM
Problem configuring Sendmail on CentOS 5.2 baldur2630 Linux - Server 4 02-02-2009 07:34 AM
CentOS DHCP to Static mitchell2345 Linux - Networking 5 11-01-2008 10:38 AM
installing vmware in centos and configuring raghav1kumar Linux - Newbie 1 10-16-2008 05:13 AM
[CentOS] Squid, iptables, dhcp server ? prixone Linux - Newbie 0 01-19-2008 08:44 AM


All times are GMT -5. The time now is 12:19 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration