Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2017-12-08 15:29:17
Size: 10
Comment:
Revision 3 as of 2017-12-10 20:30:38
Size: 475
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

== Software ==

{{{
apt-get install dhcp
}}}

== Network ==

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
}}}

DHCP

Software

apt-get install dhcp

Network

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

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