1
General Discussion / Re: How to client DHCP renewal on boot only
« on: May 28, 2024, 09:35:40 am »But I would recommend against it. Once you change your network settings you will find out that they are not propagated through DHCP. Why don't you like static IPs?
It's not that a don't like static IPs at all. In my opinion, it is a question of responsibility. I often read that a fixed IP address is configured for servers on the server itself using ifup or network manager. However, the operator of the network segment should be responsible for this. The DHCP service should therefore not only assign dynamic addresses, but also static ones. DHCP clients do not need to ask every hour for an address that rarely or never changes.
Unfortunately, it is not clear to me whether I should configure something on the OPNsense for this. Or whether and how I tell the dhclient on the host that a DHCPREQUEST at system boot is sufficient.