Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Dhcp add

    webGUI
    1
    2
    1826
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      djaras last edited by

      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 Reply Last reply Reply Quote 0
      • D
        djaras last edited by

        @djaras:

        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].";}

        1 Reply Last reply Reply Quote 0
        • First post
          Last post