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

    Two LANs, No DHCP on LAN 2

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 4 Posters 1.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.
    • JKnottJ
      JKnott @A Former User
      last edited by

      @techgeek055

      If the new LAN is 10.1.11.0 it's DHCP server has to be within that range. You configure a DHCP server for each interface, according to the subnet addresses. If you want a computer on that LAN to get an address from the Windows server, you'll have to use a DHCP relay on pfSense and the Windows DHCP server will need to provide theappropriate addresses for that new LAN>

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Thanks so much JKnott! I will research DHCP relay. It looks like that is what I want. I'll give it a whirl shortly.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @JKnott
          last edited by

          @JKnott Got it working! Thanks again.

          I'm just trying to get internet on the new LAN now. Do you have any ideas for me on that?

          I only have 1 WAN port connected to the internet on my pfsense box, currently giving internet to my original LAN subnet.

          B 1 Reply Last reply Reply Quote 0
          • B
            bobbenheim @A Former User
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Internet is working!

              This may be a stupid question but, to get my new subnet communicating with my original subnet, the dhcp server on that network and to get internet, I had to plug in the switch that is connected to my new pfsense lan/subnet port to the switch that is plugged into my original pfsense lan/subnet port that has my DHCP server connected to it.

              Is that correct? or should my new subnet be able to get ip from DHCP without having to plug into the switch connected to my original lan/subnet port on pfsense.

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                oops, spoke too soon. Internet not working yet. Just the LAN is working.

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  What rules do you have on this 2nd network .11 interface in pfsense?

                  In your scope you created for this 2nd network on your dhcpd on .10 network - where did you point the gateway, what did you set for dns.

                  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.8, 24.11

                  ? 1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by

                    Currently, I have it to set to allow everything.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by johnpoz

                      Do your clients in .11 get an IP from your dhcp, and point to pfsense .11 address as their gateway - where do they go for dns, etc.

                      You left outbound nat set to automatic?

                      As to everything - you sure, see lots of times users set tcp only - since is the dropdown default when creating a new rule.

                      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.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @johnpoz
                        last edited by

                        @johnpoz I pointed the gateway to 10.1.11.1, which was the IP I gave the new .11 subnet interface on pfsense.

                        DNS I set to the local dns server for the domain on the same domain controller that has DHCP server.

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by johnpoz

                          Can your clients in the .11 network ping pfsense IP? 10.1.11.1

                          can they query your dns.. Possible your windows box firewall blocking them from doing dns.. Simple test using nslookup, dig etc on the client would validate dns is working.

                          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.8, 24.11

                          ? 1 Reply Last reply Reply Quote 0
                          • ?
                            A Former User @johnpoz
                            last edited by

                            @johnpoz omg, thanks so much for giving me that hint. I had my outbound mode on Manual because of the VPN I have setup on pfsense.

                            So I just had to duplicate the existing rules for my original lan/subnet and change the ip address to my .11 subnet.

                            Now it's working. Yahoo!!!

                            I'll be playing around with the new subnet and firewall rules to fine tune it. Then when I feel comfortable i'll try the VLAN subnetting on my switch again to see if I have better luck.

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              Just so you know, you do not need to set manual for vpn client in pfsense... You DONT!!

                              All that is needed is a hybrid setup... The guides that these vpn services put out are almost always just utter CRAP!!!

                              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.8, 24.11

                              ? 1 Reply Last reply Reply Quote 0
                              • ?
                                A Former User @johnpoz
                                last edited by A Former User

                                @johnpoz oh, I didn't know that... thank you AGAIN.

                                Does that mean I can simply switch my outbound mode to "Hybrid Outbound Nat mode?

                                I'll give it a try, i'll backup my pfsense incase anything messes up and I can restore quickly!

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator
                                  last edited by johnpoz

                                  Here I have a vpn client setup in pfsense to point to a vps running openvpn access server, that I use for testing policy routing and such to help other users..

                                  hybridnat.jpg

                                  I only use it when testing stuff... So if I policy route a client on my lan network (192.168.9/24) to go out the vpn - this outbound nat is used to nat to the vpn interface IP..

                                  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.8, 24.11

                                  ? 2 Replies Last reply Reply Quote 0
                                  • ?
                                    A Former User @johnpoz
                                    last edited by

                                    @johnpoz Okay, i'll take a look and give it a whirl!

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @johnpoz
                                      last edited by A Former User

                                      @johnpoz Working like a charm. Thaaaaank you!

                                      I basically just had to click Hybrid outbound and save. Then Just add 1 more mapping for my new .11 subnet (just duplicated the original mapping that was already there)

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