LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-01-2003, 12:40 PM   #1
mr_mandrill
Member
 
Registered: Aug 2002
Location: UK
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
Dhcp question


Right here's my problem...
I'm trying to configure dhcpd to lease a particular ip to certain hosts on the subnet. However the hosts stick with their existing ips rather than switch to the newly assigned ones...
I've read a guide to dhcp and think i understand it.

below is my config i expected melee to be given 192.168.0.2.. however it sticks with 192.168.0.10

Any Ideas??

# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
ddns-update-style none;
option domain-name "Blackmesa";
option domain-name-servers 213.120.62.100, 213.120.62.101;
option routers 192.168.0.1;
max-lease-time 604800;
default-lease-time 604800;
#authoritative;


subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.2 192.168.0.15;
}

host melee{
fixed-address 192.168.0.2;
}

host 557VP18{
fixed-address 192.168.0.3;
}
 
Old 04-01-2003, 12:57 PM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
The only thing you're missing is a MAC address, and that should be working.

host melee
{
hardware ethernet 00E:AD:BE:EF:00;
fixed-address 192.168.0.2;
}
 
Old 04-01-2003, 11:42 PM   #3
Zeratool Box
LQ Newbie
 
Registered: Mar 2003
Distribution: slackware
Posts: 19

Rep: Reputation: 0
bentz is right on, but if for some dumb reason that didn't work, you might want to give this a try.
There is a file /var/state/dhcp/dhcpd.lesases
This file contains all of the leases the dhcp server has given out and to which machine. That way if any given machine happens to connect again, it will most likely get the ip address it received before. Delete the entry
lease 192.168.0.10 {
...
...
}
 
  


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
Question about dhcp houler Linux - Networking 9 04-06-2005 01:45 AM
DHCP Question KenGr Linux - Networking 4 01-09-2005 02:44 PM
same question -- dhcp and winxp RahJiggah Linux - Networking 1 12-28-2004 07:30 AM
DHCP question slinkyredfoot Linux - Networking 4 09-08-2003 03:19 AM
DHCP Boot Question mjb2123 Linux - Networking 1 06-07-2002 03:00 PM


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