[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to request specific IPaddress with DHCP?



also sprach mdevin <mdevin@ozemail.com.au> [2002.09.18.0143 +0200]:
> I just thought that there was a way to refuse to take a certain
> IPaddress and thereby force the server to issue a new one.  However, I
> could only see how to reject all responses from a certain server and not
> individual IPaddresses.

Problem is that the DHCP server will always first try to issue the IP
you last had. One way around this is to set up a script that can be
called when your IP changes to do the following:

while (not_the_ip_i_want) {
  issue_DHCP_RELEASE();
  randomly_change_my_mac_address();
  issue_DHCP_REQUEST();
}

This might well take a while and could make your provider hate you.

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
 
"i've got a bike,
 you can ride it if you like,
 it's got a basket. a bell that rings, and things to make it look good.
 i'd give it to you if i could,
 but i borrowed it."
                                                  -- syd barrett, 1967

Attachment: pgpI8WdPL0Pp6.pgp
Description: PGP signature


Reply to: