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

Serving nonstandard dhcp values

Scheduled Pinned Locked Moved DHCP and DNS
7 Posts 3 Posters 3.7k Views
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.
  • P
    pcatiprodotnet
    last edited by May 19, 2006, 12:07 PM May 19, 2006, 4:37 AM

    Although my interface IP/Netmask may be large, such as 10.0.0.0/8 … I want to DHCP to serve a more constrained range and netmask on this interface, such as 10.130.1.0/24 ... is this possible?  If so, how would I set it up?
    Thanks, -pc

    1 Reply Last reply Reply Quote 0
    • S
      sullrich
      last edited by May 19, 2006, 3:05 PM

      No, this is not currently possible.

      1 Reply Last reply Reply Quote 0
      • P
        pcatiprodotnet
        last edited by May 19, 2006, 5:18 PM May 19, 2006, 5:15 PM

        Since the dhcp server is simply transmitting data fields (ip,netmask,gateway,dns,etc) out to clients.  If the dhcpd server developers took it upon themselves to unnecessary code in non-required restrictions as to the content of the data (ie. netmask), well that just seems daft.  If this is actually the case, I imagine that silly netmask validation routine could easily be commented out of dhcpd source.

        1 Reply Last reply Reply Quote 0
        • S
          sullrich
          last edited by May 19, 2006, 5:17 PM

          @pcatiprodotnet:

          Since the dhcp server is simply transmitting data fields (ip,netmask,gateway,dns,etc) out to clients.  If the dhcpd server developers took it upon themselves to unnecessary code in non-required restrictions as to the content of the data (ie. netmask), well that's just seems daft.  If this is actually the case, I imagine that silly netmask validation routine could easily be commented out of dhcpd source.

          Its possible but pfSense does not support it.

          1 Reply Last reply Reply Quote 0
          • P
            pcatiprodotnet
            last edited by May 19, 2006, 9:43 PM May 19, 2006, 5:47 PM

            To verify, if my Interface IP/Netmask is "10.130.1.1/13" then the following dhcpd.conf entry for that interface would not work?

            subnet 10.130.1.0 netmask 255.255.255.0 {
                range 10.130.1.10 10.130.1.254;
                    option subnet-mask 255.255.255.0;
                    option broadcast-address 10.130.1.255;
                    option routers 10.130.1.1;
                    option domain-name-servers 10.130.1.1;
                    option domain-name "domain.com";
                    option ip-forwarding on;
                    option netbios-node-type 8;
                }

            1 Reply Last reply Reply Quote 0
            • J
              jeroen234
              last edited by May 19, 2006, 5:53 PM

              subnet on the client interface and the server interface need to be the same

              1 Reply Last reply Reply Quote 0
              • P
                pcatiprodotnet
                last edited by May 19, 2006, 6:18 PM

                Ah, corrected a typo, the interface IP is now specified as desired above.

                1 Reply Last reply Reply Quote 0
                7 out of 7
                • First post
                  7/7
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                  This community forum collects and processes your personal information.
                  consent.not_received