Differences between revisions 6 and 9 (spanning 3 versions)
Revision 6 as of 2017-12-10 23:13:12
Size: 967
Comment:
Revision 9 as of 2017-12-10 23:34:59
Size: 832
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== Domain ==

for the NIC to work change this section.
{{{
    <interface type='bridge'>
      <mac address='52:54:00:cc:9c:4b'/>
      <source bridge='br0'/>
      <model type='e1000'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>

}}}
Line 34: Line 22:
Install the DHCP server.
Line 37: Line 25:
}}}

=== Stop the server ===

{{{
service isc-dhcp-server stop
Line 48: Line 30:
Line 52: Line 33:

=== Choose Network Deevice ===
Edit `/etc/default/isc-dhcp-server` and set the dhcp server to run on `eth0`.
{{{
INTERFACESv4="eth0"
}}}

=== Start the server ===

{{{
service isc-dhcp-server start
}}}

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

Install the DHCP server.

apt-get install isc-dhcp-server

Configure the server

Stop the server

service isc-dhcp-server stop

Choose Network Deevice

Edit /etc/default/isc-dhcp-server and set the dhcp server to run on eth0.

INTERFACESv4="eth0"

Start the server

service isc-dhcp-server start

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