howto:general:dhcp:multiple_dhcp

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
howto:general:dhcp:multiple_dhcp [2015/05/12 16:43]
admin [UCI Config System]
howto:general:dhcp:multiple_dhcp [2018/05/24 09:05] (current)
Line 1: Line 1:
 ====== Multiple DHCP-Server instances ====== ====== Multiple DHCP-Server instances ======
  
-Sometimes it is required to have multiple ​dhcp-server instances ​with different configuration settings. ​ +Having ​multiple ​DHCP-Servers running is very useful if you're dealing ​with [[documentation:​general:​network:​vlan_support|VLAN'​s]],​ [[howto:​use_cases:​wireless:​guest_ap|Guest AP]] or any kind of separating networks from another. To give each Network a different configuration ​of IP-Addresses,​ Netmasks or any settings ​which are provided to the clients by the DHCP-Server.\\
- +
-Here is how:+
  
 ===== Overview ===== ===== Overview =====
Line 26: Line 24:
   * **Add DHCP instance**   * **Add DHCP instance**
 <​code>​ <​code>​
-uci add dhcp guest +uci add dhcp dhcp 
-uci set dhcp.@dhcp[-1].inderface=guest+uci set dhcp.@dhcp[-1].interface=guest
 uci set dhcp.@dhcp[-1].start=62 uci set dhcp.@dhcp[-1].start=62
 uci set dhcp.@dhcp[-1].limit=192 uci set dhcp.@dhcp[-1].limit=192
howto/general/dhcp/multiple_dhcp.1431449038.txt.gz · Last modified: 2018/05/24 09:05 (external edit)