forcing new dynamic ip address
jmire at lsuhsc.edu
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.
From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Ernie Luzar
Sent: Sunday, October 8, 2017 07:42
To: Erwan David <erwan at rail.eu.org>
Cc: freebsd-questions at freebsd.org
Subject: Re: forcing new dynamic ip address
*EXTERNAL EMAIL: EVALUATE*
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 freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions