[NTLUG:Discuss] dhcpcd guestion
Jack Snodgrass
jack+ntlug at mylinuxguy.net
Tue Aug 13 06:25:11 CDT 2002
Most people want the same IP Address. So... both the
client and the server will try and give you the same
IP Address.
You can use the -k option on dhcpcd to kill your lease
and remove your local dhcpd cache files. For some reason
( maybe I didn't know about the -k option at the time )
I do
killall -TERM dhcpcd
rm -f /etc/dhcpc/dhcpcd-eth0.*
rm -f /var/run/dhcpcd-eth0.pid
BUT my local DHCP Server still gives me the SAME IP Address
when I request one.
My DHCP Server uses my MAC Address / HWaddr to keep track
of my IP Address.
Since I REALLY, REALLY want a different IP Address, I give
myself a phony MAC Address on my eth0 adapter each time I
do a new DHCP Request. That way I get a new address. The
only problem with this is 1) my cable modem will only
let me do this 5 times before I can't use any more
MAC Addresses and 2). the cable company may ( at some
point ) say that I'm using 5 PCs ( 5 MAC Addresses )
and want to charge me more.
jack
On Mon, 2002-08-12 at 22:37, Fred James wrote:
> If dhcpcd doesn't get a new IP on startup, but holds the stuff it had
> before power down, what is the best way to force it to net a new lease
> (is that the right word?)?
> Am I asking a question that makes sense?
> Thanks in advance.
>
> Dell Latitude C800
> RH 7.2
>
> --
> small is beautiful
>
>
>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list