User Tools

Site Tools


computers:dhcp_server_configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:dhcp_server_configuration [2013/08/19 13:41] – [Configuration] chkuocomputers:dhcp_server_configuration [2020/08/16 00:52] (current) chkuo
Line 2: Line 2:
  
 ===== Installation ===== ===== Installation =====
-Download and install the dhcp3-server package+Download and install the package
 <code bash> <code bash>
-sudo apt-get install dhcp3-server+sudo apt-get install isc-dhcp-server
 </code> </code>
  
 ===== Configuration ===== ===== Configuration =====
-Specify the interfaces dhcpd should listen to in ''/etc/default/dhcp3-server'', for example:+Specify the interfaces dhcpd should listen to in ''/etc/default/isc-dhcp-server'', for example:
 <code bash> <code bash>
-INTERFACES="eth1 +INTERFACESv4="eno1np0"
-</code> +
- +
-Configure the interface used in ''/etc/network/interfaces'', for example: +
-<code bash> +
-auto eth1 +
-iface eth1 inet static +
-    address 192.168.1.1 +
-    netmask 255.255.255.0 +
-    gateway 192.168.1.254+
 </code> </code>
  
computers/dhcp_server_configuration.1376890861.txt.gz · Last modified: 2013/08/19 13:41 by chkuo