Is the Release IP Button Missing?

Started by darkarn, Today at 04:19:35 PM

Previous topic - Next topic
Hi, I am trying to release/renew lease of public IP, but I could only find the Reload button in the Interface screen. I saw threads like https://forum.opnsense.org/index.php?topic=48950.0 and https://forum.opnsense.org/index.php?topic=22275.0 mentioning a Release button but I am still unable to find it

Previously when I was in pfSense, this can be done easily with a checkbox telling it to release the IP address, but the Reload button in OPNsense didn't seem to do anything

Am I missing something or did I misconfigure the interface somehow? I followed the previous settings I used in pfSense whenever possible

Today at 04:25:29 PM #1 Last Edit: Today at 04:59:32 PM by meyergru
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, Leox LXT-010H-D

1100 down / 450 up, Bufferbloat A+

Quote from: meyergru on Today at 04:25:29 PMIn your first linked thread, Patrick even showed the screen shot and explained wher to find it.

Ah no wonder, I was browsing the forum without logging in and couldn't see that screenshot

Just to be very clear, as of 26.7, is the reload button also the release button (i.e. I should be seeing only one such button) + that button is supposed to help change/public IP?

Am asking cos I been clicking on that a few times and nothing seems to have changed

Today at 05:00:09 PM #3 Last Edit: Today at 05:01:44 PM by meyergru
It depends solely on your ISP if your actual IP changes upon reconnect - there is no way to force this from the client side. You should be able to see that the connection is coming down an up again in the logs, though.
Intel N100, 4* I226-V, 2* 82559, 16 GByte, 500 GByte NVME, Leox LXT-010H-D

1100 down / 450 up, Bufferbloat A+

fyi the dhclient cannot send a DHCP RELEASE packet.

https://man.freebsd.org/cgi/man.cgi?dhclient
Hardware:
DEC740

Thanks, this seems clearer. Strange part is that I seem to be able to get a new public IP easily in pfSense but not here.

Just really unsure if I am misunderstanding something though

If I really need to change public IP, will disabling the WAN interface (mentioned in linked thread) + waiting for a few mins + renabling it still work?

Also, what's the exact use of the Refresh button?

No, to get the chance to receive a new IP, either the lease time of the lease has to expire, or a DHCP RELEASE packet must be sent by the client.

I explicitely say "chance" since the DHCP server can still OFFER the old IP again.
Hardware:
DEC740

Thanks, is there a way to see the lease time and also from which client does the DHCP RELEASE packet has to come from?

The release comes from the DHCP client.

E.g. the OpenBSD one seems to support it: (-r)
https://man.openbsd.org/OpenBSD-7.2/dhclient.8

But the FreeBSD one doesn't as shown in the other MAN page.

I don't know out of my head how to see the lease time on the client right now, probably in some file that dhclient owns or via some command, check the man page.
Hardware:
DEC740

Quote from: darkarn on Today at 05:07:44 PMThanks, this seems clearer. Strange part is that I seem to be able to get a new public IP easily in pfSense but not here.

Behind the same modem? Classic case of preferring the old MAC address perhaps?


Cheers,
Franco