I have an eight day lease on DHCP addresses. VMX0 NIC on FreeBSD 10.3 is configured for DHCP.
The only work around I came up with was to update rc.conf with a static IP, restart the system or networking stack, then update rc.conf with DHCP and restart one more time.
Is there an easier way to release/renew IP address?
The only work around I came up with was to update rc.conf with a static IP, restart the system or networking stack, then update rc.conf with DHCP and restart one more time.
Is there an easier way to release/renew IP address?
service dhclient restart vmx0
mentioned here http://www.cyberciti.biz/faq/freebsd-unix-force-dhcp-client-to-get-a-new-lease does not renew the IP.