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

    One DHCP Server, Multiple Subnets??

    Scheduled Pinned Locked Moved DHCP and DNS
    dhcpsubnetsrules
    2 Posts 2 Posters 748 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.
    • QuasaurQ
      Quasaur
      last edited by

      Technicolor modem
      Netgate 1100
      Linksys E7350 Wireless Router

      I'm NOT using the Internet port on the Linksys to connect to the Netgate

      Netgate is the only DHCP Server (x.x.10.0)

      Most devices are wireless or wireless & Ethernet.

      QUESTION: What's stopping me from ASSIGNING MAC ADDRESSES TO MULTIPLE SUBNETS (x.x.20.0, x.x.30.0, x.x.40.0) under the one DHCP server???
      One subnet for the backbone (x.x.10.0 for Netgate, Linksys, Netgear Extender & management console)...

      One subnet for the TVs & XBox (x.x.20.0)...

      One Subnet for mobile phones & tablets (x.x.20.0)...

      ..and guests still get the default range (x.x.10.100 - x.x.10.199)!

      All addreses are assigned statically under the one DHCP server on the Netgate, each subnet can be assigned an alias & I can build firewall rules &/or static routes (even traffic shaping) to control traffic between the subnets.

      Anything wrong with this picture?

      Thanks for your time and attention!

      N 1 Reply Last reply Reply Quote 0
      • N
        netblues @Quasaur
        last edited by netblues

        @quasaur So you mean having a single supernet broadcast domain with e.g /22 mask and have many / 24 "subnets" with a /22 mask and single gateway?
        If yes, it can be done, BUT the issue would be tha you need to manage all mac addresses manually.
        It can be done but it is very cumbersome, especially in the long run.
        You are better off segmenting your lans with vlans and use single dhcp on pf to manage them all.
        You cant have rules between them as long as they are on the same physical interface too

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.