HostOnNet Blog

FreeBSD DHCP Lease

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.