Nethence Newdoc Olddoc Lab Your IP BBDock  

Setting up a DHCP daemon

vi /etc/dhcpd.conf

subnet x.x.x.x netmask 255.255.255.255 {
}

subnet 10.8.8.0 netmask 255.255.255.0 {
        option domain-name "example.local";                
        option domain-search "example.local", "example.net";
        option domain-name-servers 208.67.222.222, 208.67.220.220;
        option subnet-mask 255.255.255.0;
        option routers x.x.x.x;
        range x.x.x.x x.x.x.x;
}

vi /etc/rc.conf

dhcpd=yes                dhcpd_flags="-q"

ref. dhcp-options(5)


Home | GitHub | Docker Hub | Donate | Contact