forcing new dynamic ip address

Mire, John jmire at
Tue Oct 10 00:38:30 UTC 2017

Used a /etc/daily.local entry to generate new mac address to get a new IP address from my ISP,  you could run a cron job to do it instead.

-----Original Message-----
From: owner-freebsd-questions at [mailto:owner-freebsd-questions at] On Behalf Of Ernie Luzar
Sent: Sunday, October 8, 2017 07:42
To: Erwan David <erwan at>
Cc: freebsd-questions at
Subject: Re: forcing new dynamic ip address


Erwan David wrote:
> Le 10/08/17 à 14:28, Ernie Luzar a écrit :
>> Hello List;
>> I have a "home service" account from my ISP. The ISP issues an 
>> dynamic ip address which has not changed in 12 years.
>> My host has 2 NICs, one which is not used. I know if I plug the 
>> internet cable into the un-used NIC and make the appropriate config 
>> changes and reboot I will get a different dynamic ip address.
>> Is there a simpler way to expire the lease to force the ISP dhcp to 
>> refresh with a different dynamic ip address?
>> The goal is to have a cron job that gets a different dynamic ip 
>> address assigned to my host's front door every a week.
>> Just another level of security to make it very hard for the script 
>> kiddies from finding any open ports I may have.
>> Thanks for the help.
> DHCP protocol states that the server should try to give you the same 
> IP address. And dhcp servers keep track of the addresses they 
> allocated in the past, to give them back if possible.

Yes I know that. The question is there a way to request their dhcp server to over ride that default behavior?

freebsd-questions at mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list