Dhcp add
- 
 1. go to Diagnostics > Edit File 
 2. Load "services_dhcp_edit.php" file
 3. After "insert this "if($id==""){
 $ip_ad = explode(".", gen_subnet($ifcfg['ipaddr'],$ifcfg['subnet']));
 echo "$ip_ad[0].$ip_ad[1].$ip_ad[2].";}"Sou, look to add dhcp adres. You can save you time, :D 
- 
 1. go to Diagnostics > Edit File 
 2. Load "services_dhcp_edit.php" file
 3. After "insert this "if($id==""){
 $ip_ad = explode(".", gen_subnet($ifcfg['ipaddr'],$ifcfg['subnet']));
 echo "$ip_ad[0].$ip_ad[1].$ip_ad[2].";}"Sou, look to add dhcp adres. You can save you time, :D I fix skript. 
 if($id=="" && $pconfig['ipaddr']==""){
 $ip_ad = explode(".", gen_subnet($ifcfg['ipaddr'],$ifcfg['subnet']));
 echo "$ip_ad[0].$ip_ad[1].$ip_ad[2].";}
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.