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

Setting up multiple networks and having pfsense be dhcp server for these networks

Scheduled Pinned Locked Moved DHCP and DNS
6 Posts 2 Posters 455 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.
  • G
    gherrmann-pwd
    last edited by Jan 16, 2024, 9:08 PM

    I am trying to set up two networks going out of different ports on the back of our netgate 4100 and keeping as much of the traffic segmented as possible.

    • I have assigned networks igc0 and igc1 to be separate interfaces,
    • both networks are enabled, with different ip address spaces,
    • rules are set up to pass traffic with both networks.

    When I have looked up various guides, one thing that seems common is that I can, in Services / DHCP Server, set up and select different dhcp servers for different networks. I don't seem to have that available for all networks.

    Where can I look for a guide into setting up multiple separate networks?

    Thanks for any help.

    Running pfsense version 23.09.1-RELEASE

    J 1 Reply Last reply Jan 16, 2024, 10:08 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @gherrmann-pwd
      last edited by Jan 16, 2024, 10:08 PM

      @gherrmann-pwd said in Setting up multiple networks and having pfsense be dhcp server for these networks:

      set up and select different dhcp servers for different networks

      If your interface is enabled dhcp would become available - common mistake users make is when you enable an interface and put an IP on it, it defaults to mask of /32 - which has no ips for dhcp to work with so dhcp does not become available until you place a mask on the interface that would allow for IPs to hand out.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

      G 1 Reply Last reply Jan 26, 2024, 2:51 AM Reply Quote 0
      • G
        gherrmann-pwd @johnpoz
        last edited by Jan 26, 2024, 2:51 AM

        @johnpoz
        Yeah, the network mask of /32 was the first problem and after you pointed that out, I was able to muddle my way through to setting everything up as I wanted.

        On the one hand, I understand why the default setting is the smallest possible setting, even defaulting to a mask of /31 would open enough other options to then see that settings issues arose.

        Anyway, thanks.

        J 1 Reply Last reply Jan 26, 2024, 2:54 AM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @gherrmann-pwd
          last edited by Jan 26, 2024, 2:54 AM

          @gherrmann-pwd there has been discussions of maybe defaulting it to like 24, since that is most likely the most used mask.. But in the end its up to the admin to correctly set their mask.. Setting a /32 does hopefully ensure they actually set an appropriate mask for their needs since a /32 isn't going to really work for anything ;)

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

          G 1 Reply Last reply Jan 26, 2024, 3:41 AM Reply Quote 0
          • G
            gherrmann-pwd @johnpoz
            last edited by Jan 26, 2024, 3:41 AM

            @johnpoz Even just a reminder message underneath the network ip definition to remind the admin to update the mask to appropriately size the network would go a long way to avoiding the frustration and mistakes.

            J 1 Reply Last reply Jan 26, 2024, 3:50 AM Reply Quote 0
            • J
              johnpoz LAYER 8 Global Moderator @gherrmann-pwd
              last edited by Jan 26, 2024, 3:50 AM

              @gherrmann-pwd you can put in a feature request for such a note.. Not sure how much it will help, many of the common mistakes made after being here for years and years is users don't read the notes that are already in place ;)

              What I can tell you have seen over the years multiple threads why dhcp is not available on an interface, and the /32 mask is always the cause ;)

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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