This is a quick example of my dhclient configuration file from my OpenBSD machine. I use it on my firewall's external interface. My interface fxp0 is hooked to my cable modem. fxp0 makes a dhcp request (command: dhclient fxp0) and recieves a lease (ip and other info) from my cable provider. The special configuration options are so I can have my own settings merge with the isp's settings well. For example I run my own dns server so I need to prepend my own dns server over the isp's.
# $OpenBSD: dhclient.conf,v 1.1 1998/09/08 20:26:41 marc Exp $ # # DHCP Client Configuration # # See dhclient.conf(5) for possible contents of this file. # When empty default values are used: # # Example: # # send dhcp-lease-time 3600; # send host-name "myhost"; # supersede host-name "myhost"; # supersede domain-name "my.domain"; # request subnet-mask, broadcast-address, time-offset, routers, # domain-name, domain-name-servers, host-name, lpr-servers, ntp-servers; # require subnet-mask, domain-name-servers, routers; # media "link0 link1", "link0 link1", "link0 link1", "-link0 link1"; initial-interval 1; supersede domain-name "domain.lan"; send host-name "gateway"; prepend domain-name-servers 192.168.0.1; request subnet-mask, broadcast-address, routers, domain-name,host-name;