DHCP Lease Expire Time (IPV4)?

0

Could someone tell me what this does? I assume it changes my WAN IP address? Recently somebody got my WAN IP address and for security reasons I wish to change it, should I wait till the DHCP lease expires or should I call and ask someone to change it? Is there a way to shorten the time of the lease? I have Comcast by the way

Funk

Posted 2016-07-13T18:46:42.130

Reputation: 1

Hi Funk, welcome to superuser. Can you confirm what DHCP lease time you are referring to. It is generally up to your ISP to decide on the DHCP lease time of your public IP. You should have control over the DHCP lease time on your LAN however. – Mark Riddell – 2016-07-13T18:57:57.570

What is your security concern? – DrZoo – 2016-07-13T19:02:35.243

Answers

1

DHCP Lease Expire Time (IPV4)? Could someone tell me what this does?

Lets start with DHCP what DHCP does. In very simple terms it comes down to this:

  • New device does a DHCP req ("Hi, I am new here! This is my serial number. Someone please give me all the information needed to get on the local network")
  • DHCP server: "Hi new device. Here are the settings you asked for. Feel free to use them for up to X hours." (For ease, lets say for up to 24 hours)

Now there are a few options:

  1. "New device" uses these settings for up to 24 hours. After that it knows there are no longer valid (and may even be handed out to any other device who asks for them, so they should no lober be used). It can ask again like in the first paragraph. It might get the same data as it had before, or it may get a different answer. That different answer will be a valid answer to access the local network, but if the IP changes some other things like file copies over the network may break.
  2. Or "New device" may way a while. Say 12 hours (half of the time in the first paragraph", and then think "Maybe I should ask for an extension to the lease, so it is valid for another 24 hours".

The 24 hours in this example is the DHCP lease time.

I assume it changes my WAN IP address?

Assumign that you have the following setup:

Desktop --- Router --- Internet
        1  2      3    4   

Then usually no: DHCP in this case is most likely used between 1 and 2. And that is your LAN and not to WAN.

If you are logged into the router and the router happens to use DHCP rather than DSL, or .... then maybe.

Maybe because you can configure a DHCP server to always hand out the same IP to a certain serial (MAC) number. And then you will always get the same answer.

Hennes

Posted 2016-07-13T18:46:42.130

Reputation: 60 739

I do have that setup and I have Ethernet, if my WAN wouldn't change in that case then how would I change it? – Funk – 2016-07-13T19:06:45.407

Simply, you do not. Your ISP can. – Hennes – 2016-07-13T19:11:43.707

Maybe I shou;d be a buit longer on a un-asked subject. "someone learned where I live" "How do I change the streetname?", but also "Why should that matter. Please worry about locking the front door, not about people knowing your public address" – Hennes – 2016-07-13T19:13:10.847

It's a bit different then locking the front doors, this person has ddosed me many times already and I don't feel like waiting for him to stop to get back on the Internet... – Funk – 2016-07-13T19:19:42.657

In that case: do mail abuse. First abuse at that persons provider. Wait a few days. If that does not work, mail again and state that you are going to escalate. If still no answer mail their ISP upstream provider. This is the slow way but it does work. – Hennes – 2016-07-13T19:28:25.880