954,180 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

DHCP with redhat 9

Hi :)
I've just installed a redhat 9 on my system, in order to use a dhcp server. I've selected the appropriated package before the installation.
The problem is that there are no dhcpd.conf in /etc...
So, i've tried to create my own one which looks like:
(my redhat server uses 192.168.0.2)
subnet 192.168.0.0 netmask 255.255.255.0
{
ddns-update-style ad-hoc;
option subnet-mask 255.255.255.0;
option time-offset -18000;
range 192.168.0.3 192.168.0.254
}

with this configuration, i'm unable to start my dhcp server. An error message appears, saying that I must had a line says "ddns-update-style ad-hoc", and well, that's what's I've done :-|

If someone could help me, that would be great ;)

@++

Swirler
Newbie Poster
9 posts since Jan 2004
Reputation Points: 10
Solved Threads: 1
 
TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 

Thanks for the link, i've found what was wrong.
My DHCP server is now working, but there is still something strange... Only the last IP adress available is given.
For example, my range is 192.168.0.10 // 192.168.0.19, but my client always get 192.168.0.19.
I've read the official redhat page, but I can't find the reason of that...
Thanks for help ;)

@++

Swirler
Newbie Poster
9 posts since Jan 2004
Reputation Points: 10
Solved Threads: 1
 
Thanks for the link, i've found what was wrong. My DHCP server is now working, but there is still something strange... Only the last IP adress available is given. For example, my range is 192.168.0.10 // 192.168.0.19, but my client always get 192.168.0.19. I've read the official redhat page, but I can't find the reason of that... Thanks for help ;) @++


Try here for some dhcp help. Perhaps there's an explanation in this how to.

TKS
Posting Pro in Training
470 posts since Jan 2004
Reputation Points: 108
Solved Threads: 18
 

Windows DHCP servers start out with the lowest number in the pool - *nix boxes start off with the highest number in the pool.

TheOgre
Posting Whiz
393 posts since Aug 2003
Reputation Points: 128
Solved Threads: 9
 
http://redhat.camtp.uni-mb.si/redhat/linux/8.0/en/doc/RH-DOCS/rhl-cg-en-8.0/s1-dhcp-configuring-server.html There's your answer. Enjoy!


I have the same problem and I have tried to access the link for answer. But the link does not work. Can you help me again?

cheong_kk
Newbie Poster
1 post since Sep 2006
Reputation Points: 10
Solved Threads: 0
 
I have the same problem and I have tried to access the link for answer. But the link does not work. Can you help me again?


Does this work? http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-dhcp-configuring-server.html
If not, try this:
http://www.google.com/search?q=dhcp+configuring+server+redhat
and click on this first hit.

Edit: and WHY do you bump a year-old thread? It's normal for old links to be dead... Google is your friend.

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: