HostOnNet Blog

FreeBSD DHCP Lease

Looking for Linux Server Admin or WordPress Expert? We can help.

To assign IP from DHCP for your network card on FreeBSD, add following line to /etc/rc.conf


You can see current lease info at


freebsd# cat /var/db/dhclient.leases
lease {
interface “lnc0”;
option subnet-mask;
option dhcp-lease-time 1800;
option routers;
option dhcp-message-type 5;
option dhcp-server-identifier;
option domain-name-servers;
option broadcast-address;
option domain-name “localdomain”;
renew 6 2005/12/24 09:33:15;
rebind 6 2005/12/24 09:46:02;
expire 6 2005/12/24 09:49:47;

Posted in FreeBSD. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.