LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-17-2003, 04:03 PM   #1
daznis
LQ Newbie
 
Registered: Mar 2003
Location: Lithuanina
Distribution: Slackware linux 8.1
Posts: 11

Rep: Reputation: 0
DHCP doesn't give the ip


Well my dhcp server is runing and it doesn't give the ip


dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 212.59.0.1 , 212.59.0.2;
option domain-name "takas.lt";
ddns-update-style ad-hoc;

ignore unknown-clients;
shared-network 192.168.1.0 {
subnet 192.168.1.0 netmask 255.255.255.0 {
host Daznis {
ddns-updates on;
hardware ethernet 00:10:A7:06:A0:E1;
fixed-address 192.168.1.2;
}
range 192.168.1.1 192.168.1.30;
}
}


what is wrong whith it ? i think the config is good
 
Old 04-17-2003, 04:56 PM   #2
Scooty
LQ Newbie
 
Registered: Apr 2003
Location: Oregon USA
Posts: 3

Rep: Reputation: 0
Tail DHCP log?

If you run a tail -f on your dhcp log file do you see your client making a request to the DHCP server?

You should see the process of the client requesting an IP appear when you try to request an IP address on the client.

Maybe that can help...
 
Old 04-17-2003, 05:09 PM   #3
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Rep: Reputation: 15
I have the following and it works like a champ..
Its more of a bootp, than dhcp... I normally woundn't have
posted this here, but sence you have

ignore unknown-clients;

in your options... which make it more of a bootp server.. I did...

option netbios-name-servers 126.4.200.31;
option time-servers timeserver.mydomain.com;
option domain-name-servers 126.4.200.31;
option domain-name "mydomain.com";
option broadcast-address 126.4.202.255;
option subnet-mask 255.255.255.0;
option routers 126.4.202.5;
ddns-update-style ad-hoc;
host dpglab180 {
fixed-address 126.4.202.180;
hardware ethernet xx:xx:xx:xx:xx:xx;
}
subnet 126.4.200.0 netmask 255.255.255.0 {
}
host dpglab181 {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address 126.4.202.181;
}
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP problems - multiple DHCP servers sat86 Linux - Networking 4 10-02-2005 06:43 AM
ADSL DHCP A-OK, but Mandrake 10.1 to be DHCP for other subnet is a problem turnbui Linux - Networking 2 08-20-2005 10:34 AM
why DHCP client not sending own host name in DHCP request packet? sonika_singhi Linux - Networking 7 05-28-2005 06:18 AM
Lynksys router, no DHCP. Have to use IP manualy, some one give me low down. RHLinuxGUY Linux - Networking 1 07-08-2004 03:16 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 12:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration