Differences

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

Link to this comparison view

Next revision
Previous revision
blocks:server:advanced_server_configuration:dhcp_server [2023-03-14 10:43]
mattias created
blocks:server:advanced_server_configuration:dhcp_server [2024-10-25 08:02] (current)
admin
Line 1: Line 1:
 +:!: **IMPORTANT**: This document is obsolete and describes an older version of out linux server. The current method is [[blocks:server:advanced_server_configuration:dhcp_dns_server|described here here]].
 +
 ===== DHCP Server ===== ===== DHCP Server =====
  
Line 15: Line 17:
 {{:blocks:adv-conf:dhcp_edit_subnetnew.png?1000 |}} {{:blocks:adv-conf:dhcp_edit_subnetnew.png?1000 |}}
  
-As you may recall from the [[first_start#network_configuration |"Network Configuration"]] section of the First Start article, we gave the server the IP address "10.2.0.10", with a netmask of "255.255.0.0" (or "16" as this is sometimes called). Hence, the BLOCKS server is in the "10.2.0.0" subnet, which is the subnet about to be managed by this DHCP server. If you gave the server another IP address for some reason, you need to adjust the subnet address managed by the DHCP server accordingly, which is done in the "Network address" field.+As you may recall from the [[blocks:server:first_start#basic_network_configuration |"Basic Network Configuration" section of the First Start]] article, we gave the server the IP address "10.2.0.10", with a netmask of "255.255.0.0" (or "16" as this is sometimes called). Hence, the BLOCKS server is in the "10.2.0.0" subnet, which is the subnet about to be managed by this DHCP server. If you gave the server another IP address for some reason, you need to adjust the subnet address managed by the DHCP server accordingly, which is done in the "Network address" field.
  
 Here, you also specify the range of addresses allocated to dynamic clients. You typically want a small number of addresses reserved for network devices that need a fixed IP address (such as the BLOCKS Server itself). In this example, we're allowing the DHCP server to dynamically allocate address in the 10.2.5.1 through 10.2.16.254 range, giving us loads of dynamic adresses, while all addresses below 10.2.5.1 can be used for fixed IP address, as those are off limits for the DHCP server. You can adjust those numbers as you see fit. Click the green "Save" button at the bottom of the window if you make any changes. Here, you also specify the range of addresses allocated to dynamic clients. You typically want a small number of addresses reserved for network devices that need a fixed IP address (such as the BLOCKS Server itself). In this example, we're allowing the DHCP server to dynamically allocate address in the 10.2.5.1 through 10.2.16.254 range, giving us loads of dynamic adresses, while all addresses below 10.2.5.1 can be used for fixed IP address, as those are off limits for the DHCP server. You can adjust those numbers as you see fit. Click the green "Save" button at the bottom of the window if you make any changes.