Navigation

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

    Other subnet on dhcp

    DHCP and DNS
    4
    6
    3018
    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.
    • B
      Bredys last edited by

      Greetings,

      i have /16 subnet on lan interface, but i need to DHCP assign subnet with /24 netmask.
      It is possible in pfsense ?
      I try change config.xml from
      <lan><enable><range><from>10.128.5.101</from>
      <to>10.128.5.199</to></range>
      <defaultleasetime>7200</defaultleasetime>
      <maxleasetime><netmask><failover_peerip><gateway>10.128.5.254</gateway>
      <winsserver>10.128.5.50</winsserver></failover_peerip></netmask></maxleasetime></enable></lan>

      to

      <lan><enable><range><from>10.128.5.101</from>
      <to>10.128.5.199</to></range>
      <defaultleasetime>7200</defaultleasetime>
      <maxleasetime><netmask>255.255.255.0 <netmask><failover_peerip><gateway>10.128.5.254</gateway>
      <winsserver>10.128.5.50</winsserver></failover_peerip></netmask></netmask></maxleasetime></enable></lan>

      but everytime when i upload this new config, pfsense show unknown error and dont boot again… :(

      Can someone help me ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • J
        jeroen234 last edited by

        the mask of the subnet that dhcpd is giving to clients have to be the same as that of the interface that the dhcpd server is running on
        if not then the clients will not be aeble to use that interface

        1 Reply Last reply Reply Quote 0
        • B
          Bredys last edited by

          jeroen234:  i have a little bit complicated network and i need this configuration.

          My question is that this is possible with pfsense and how…

          1 Reply Last reply Reply Quote 0
          • Y
            yelt last edited by

            I've got the same problem here :

            I want to use PfSense DHCP Server instead of the one included in another router connected directly to opt1 (not enough enhanced).
            So, only clients from this router are able to use PfSense DHCP Server and I would like to split my default range from /16 to a subnet /24.
            In this configuration, clients from my router are isolated from the lan.

            Is it possible ?

            Thanks in advance :)

            1 Reply Last reply Reply Quote 0
            • H
              hoba last edited by

              There is no way that I can think of. Sorry.

              1 Reply Last reply Reply Quote 0
              • Y
                yelt last edited by

                Ok! Thanks a lot ;)
                I will find an other way (hoping its possible ^^')

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

                Products

                • Platform Overview
                • TNSR
                • pfSense
                • Appliances

                Services

                • Training
                • Professional Services

                Support

                • Subscription Plans
                • Contact Support
                • Product Lifecycle
                • Documentation

                News

                • Media Coverage
                • Press
                • Events

                Resources

                • Blog
                • FAQ
                • Find a Partner
                • Resource Library
                • Security Information

                Company

                • About Us
                • Careers
                • Partners
                • Contact Us
                • Legal
                Our Mission

                We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                Subscribe to our Newsletter

                Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                © 2021 Rubicon Communications, LLC | Privacy Policy