Page tree

Welcome to FreeSoftwareServers Confluence Wiki

Skip to end of metadata
Go to start of metadata

##INSTALL DHCP (Note I prefer DNSMasq as it handles DNS in the same config file)

Check out WebMin for Web based GUI Management

sudo apt-get update && echo y | sudo apt-get install isc-dhcp-server && sudo mv /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.original && sudo nano /etc/dhcp/dhcpd.conf

 

Sample /etc/dhcpd.conf

# Sample /etc/dhcpd.conf
# DHCP Pool 192.168.1.2-127
# DNS 192.168.1.201,192.168.1.1
# GATEWAY = 192.168.1.1
# STATICHOST = 192.168.1.210
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1;
option domain-name-servers 192.168.1.201, 192.168.1.1;
#option domain-name "mydomain.example";

subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.1 192.168.1.127;
        # DESCRIPTION STATICHOST2
        host STATICHOST2 {
                hardware ethernet 00:00:00:00:00:00;
                fixed-address 192.168.1.211;
                }
}
        # DESCRIPTION STATICHOST2
        host STATICHOST2 {
                hardware ethernet 00:00:00:00:00:00;
                fixed-address 192.168.1.211;
                }
} 
  • No labels