Networking Forums

Networking Forums > Computer Networking > Linux Networking > DHCP should always assign the same IP

Reply
Thread Tools Display Modes

DHCP should always assign the same IP

 
 
Dave Griffith
Guest
Posts: n/a

 
      06-02-2007, 08:43 AM
In dhcpd.conf there are some entries that resemble this:

host alvin {
hardware ethernet [deleted]; # hardwired
hardware ethernet [deleted]; # wireless
fixed-address alvin.foobar.org;
}

The intent here is to provide the same IP address to Alvin's laptop
whether he connects using a wireless access point or the hardwired
network. My problem is that when switching from wired to wireless, the
wired IP is still leased out, so instead of being assigned
alvin.foobar.org again, Alvin gets something from the dynamic IP pool.
I cannot guarantee that the client machines will explicitly relinquish
their IP leases, especially when the cable is yanked out to go from
wired to wireless.

I want to stop dhcpd from going to the dynamic IP pool and instead
return what's specified by the "fixed address" line no matter if it's
currently still leased out. In other words, expire that lease and
issue a new lease to the new MAC address. How do I do this?


--
David Griffith
(E-Mail Removed) <-- Switch the 'b' and 'u'
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using DHCP but assign a manual address? Mark Wireless Internet 7 01-27-2007 04:17 PM
how do you have DHCP assign IP to VPN?? Jiml Windows Networking 2 08-21-2006 11:11 PM
Assign DHCP scope per interface Manuel Alves Windows Networking 4 02-15-2005 03:20 PM
Assign DNS via DHCP on MN-700 JayDee Broadband Hardware 4 05-08-2004 09:40 AM
DHCP assign same ip address twice =?Utf-8?B?a3lzaW93?= Windows Networking 2 02-10-2004 01:43 PM



1 2 3 4 5 6 7 8 9 10 11