[oclug] DHCP ips

Matthew Wilcox matthew at wil.cx
Tue Nov 9 20:36:06 EST 2004


On Tue, Nov 09, 2004 at 06:39:57PM -0500, Matt R wrote:
> I was wondering if it's possible to reject and IP that a DHCP server gives you.

I think dhclient-script can do this.  From the manpage:

ARPCHECK
       The DHCP client wants to know if a response to  the  ARP  request  send
       using  ARPSEND  has been received.   If one has, the script should exit
       with a nonzero status, indicating that the offered address has  already
       been requested and should be declined.   $new_ip_address and $interface
       are set as with ARPSEND.


-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain



More information about the OCLUG mailing list