Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Lukas_Nagy
Participant
Jump to solution

How to clear DHCP leases on Gaia R80.10?

Hello,

is there a way to release all DHCP leases from DHCP server running on Gaia R80.10? Is it enough to remove leases from

/var/lib/dhcp.leases

and reset DHCP process? 

Thanks

0 Kudos
1 Solution

Accepted Solutions
G_W_Albrecht
Legend
Legend

See https://community.checkpoint.com/t5/SMB-Gateways-Spark/Release-ip/m-p/127110#M5535

for how to use dhclient to send a release message !

CCSE CCTE CCSM SMB Specialist

View solution in original post

0 Kudos
7 Replies
PhoneBoy
Admin
Admin

I believe that is all that is required, yes.

0 Kudos
G_W_Albrecht
Legend
Legend

See https://community.checkpoint.com/t5/SMB-Gateways-Spark/Release-ip/m-p/127110#M5535

for how to use dhclient to send a release message !

CCSE CCTE CCSM SMB Specialist
0 Kudos
sloddo
Explorer

That link discusses the ability to release a DHCP WAN IP address obtained by an SMB appliance.  The question here is how to clear out leases of the DHCP server running on Gaia OS.  Is it the same solution?

0 Kudos
skandshus
Advisor
Advisor

I think you could just edit the .wan with .eth1 or .eth1.20 if you’re in a vlan.. would be an easy test either way..

0 Kudos
G_W_Albrecht
Legend
Legend

Did you test this yourself or just think it could work ? But why not use the standard linux dhclient command ?

CCSE CCTE CCSM SMB Specialist
0 Kudos
G_W_Albrecht
Legend
Legend

The dhclient package is taken unchanged from RHEL 5.2, see Gaia R80.40 Hardening Specifications !

CCSE CCTE CCSM SMB Specialist
0 Kudos
sloddo
Explorer

Appreciate the responses, but I'm still unclear on how dhclient can release IP's that have been leased out via the DHCPD server?  I'm not talking about how to release a dhcp-assigned IP on a client.

Apologies if I'm being dense.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events