mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
個人BLOG
it developer
  1. Main page
  2. dev
  3. Main content

openwrt - 强制接触pc租约

2021-11-21 231hotness 0likes 0comments

不想手动设置PC的IP,又希望在路由器里固定IP,设置长期租约后,强迫症想要马上生效,可以用以下方式清理DHCP分配的IP:

编辑 /tmp/dhcp.leases 文件,删除想清理的IP地址/MAC地址那一行

重启dnsmasq:/etc/init.d/dnsmasq restart

PC上:ipconfig /release 或断网重连即可。

Tag: Nothing
Last updated:2021-11-21

mikebai

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang