Differences between revisions 7 and 8
Revision 7 as of 2017-12-10 23:30:17
Size: 664
Comment:
Revision 8 as of 2017-12-10 23:33:21
Size: 762
Comment:
Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
Edit `/etc/default/isc-dhcp-server` and set the following value
{{{
INTERFACESv4="eth0"
}}}

DHCP Primary

Network

We will give the DHCP primary a static IP-address. Edit /etc/networking/interfaces and make the following changes.

# The primary network interface
#allow-hotplug eth0
#iface eth0 inet dhcp

auto eth0
iface eth0 inet static
        address 192.168.1.36
        network 192.168.1.0
        netmask 255.255.255.0
        broadcast 192.168.1.255
        gateway 192.168.1.1

Software

apt-get install isc-dhcp-server

Stop the server

service isc-dhcp-server stop

Configure the server

Edit /etc/default/isc-dhcp-server and set the following value

INTERFACESv4="eth0"

Stop the server

service isc-dhcp-server stop

None: DHCP Primary (last edited 2021-03-15 21:24:19 by Kristian Kallenberg)