Differences between revisions 3 and 8 (spanning 5 versions)
Revision 3 as of 2017-12-10 20:30:38
Size: 475
Comment:
Revision 8 as of 2017-12-10 21:28:06
Size: 454
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== Software == The DHCP server is a must in any network. We will use ISC's DHCP server, and configure two servers to make a redundant system. The two servers will be able to synchronized the dhcp leases between servers and update the DNS too.
Line 5: Line 5:
{{{
apt-get install dhcp
}}}
In this setup we use the following IP-addresses for the master and slave:
Line 9: Line 7:
== Network ==  * 192.168.1.36 primary
 * 192.168.1.37 secondary
Line 11: Line 10:
We will give the DNS master 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
}}}
Configure the [[DHCP Primary|primary]], then the [[DHCP Secondary|secondary]].

DHCP

The DHCP server is a must in any network. We will use ISC's DHCP server, and configure two servers to make a redundant system. The two servers will be able to synchronized the dhcp leases between servers and update the DNS too.

In this setup we use the following IP-addresses for the master and slave:

  • 192.168.1.36 primary
  • 192.168.1.37 secondary

Configure the primary, then the secondary.

None: DHCP (last edited 2021-12-31 03:56:28 by Kristian Kallenberg)