howto:general:dhcp:multiple_dhcp

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Multiple DHCP-Server instances ====== It ist possible to run multiple instances of the dhcp server listening on different interfaces. ===== Overview ===== ==== Level of difficulty === Easy ==== Related topics ==== * [[documentation:configuration:uci]] * [[documentation:configuration:config_files:config_dhcp|/etc/config/dhcp]] ===== Instructions ===== ==== GUI ==== Not available, yet ==== UCI Config System ==== * **Add DHCP instance** <code> uci delete dhcp.guest uci set dhcp.guest=dhcp uci set dhcp.guest.interface=guest uci set dhcp.guest.start=62 uci set dhcp.guest.limit=192 uci set dhcp.guest.leasetime=600h </code> * **Store changes** <code> uci commit </code> * **Apply changes** <code> /etc/init.d/dnsmasq restart </code> ==== UCI config files ==== The 'dhcp' options are stored in [[documentation:configuration:config_files:config_dhcp|/etc/config/dhcp]] * **DHCP instance** <code> config 'dhcp' 'guest' option 'interface' 'guest' option 'start' '62' option 'limit' '192' option 'leasetime' '600h' </code> * **Apply changes** <code> /etc/init.d/dnsmasq restart </code> ===== Troubleshooting ===== Not available, yet

howto/general/dhcp/multiple_dhcp.1431264636.txt.gz · Last modified: 2018/05/24 09:05 (external edit)