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

    LAN Inception?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 1.1k 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 Offline
      pfBug
      last edited by

      I don't know how to title this post, and will probably have difficulty explaining what's going on, so here's a nifty chart to help:

      WAN -> Modem/Router -> Switch01 -> Switch02 -> pfSense (LAN Port)

      That's how my pfSense box is connected to my network. I want to connect pfSense to the WAN but for some reason can't. I suspect a DHCP problem but I'm certain the only device handing out IPs is the Modem/Router, plus my desktop is connected to Switch02 and is detecting the WAN just fine. What am I missing here?

      1 Reply Last reply Reply Quote 0
      • chpalmerC Offline
        chpalmer
        last edited by

        What subnet is your modem/router combo handing out?  The default subnet for pfSense is 192.168.1.0/24.  Your router combo is probably the same!??

        Can you put your modem in bridge mode and then connect to your WAN side of your pfSense box?

        Triggering snowflakes one by one..
        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

        1 Reply Last reply Reply Quote 0
        • F Offline
          firewalluser
          last edited by

          What version of pfsense, anything showing in the pfsense logs?
          Do you have a managed switch if so can you access either of them through pfsense?

          Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

          Asch Conformity, mainly the blind leading the blind.

          1 Reply Last reply Reply Quote 0
          • P Offline
            pfBug
            last edited by

            @chpalmer:

            What subnet is your modem/router combo handing out?  The default subnet for pfSense is 192.168.1.0/24.  Your router combo is probably the same!??

            Can you put your modem in bridge mode and then connect to your WAN side of your pfSense box?

            Router subnet is 255.255.255.0, and pfsense is the same (192.168.1.78/24). I have never been successful putting the router into bridge mode, and the reason I haven't connected pfsense to the WAN is because, well, it was easier to plug it into the switch next to my desk so I could configure it  :) Once I finish configuring it I'm connecting it to the WAN and re-enabling DHCP.

            @firewalluser:

            What version of pfsense, anything showing in the pfsense logs?
            Do you have a managed switch if so can you access either of them through pfsense?

            Just updated to 2.2.3 today. All my switches are unmanaged.

            1 Reply Last reply Reply Quote 0
            • chpalmerC Offline
              chpalmer
              last edited by

              Have you changed the LAN side of your pfsense box to something different than 192.168.1.0/24?

              If not connecting to the WAN side will not work.

              Triggering snowflakes one by one..
              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                @pfBug
                If the Modem/Router in your small drawing is a real router from the ISP and it is making also DHCP
                it could be that your pfSense will be getting even a new IP address as WAN IP! This is really not so
                good and luckily like it perhaps sounds to you. From my point of view you could go now tow different
                way, that will fitting your needs and solve the problem.

                If your switches are only plain unmanaged switches the pfSense as a firewall would not really
                making sense at this place you are setting it up for my understanding, sorry but there fore it
                should be one VLAN where only the router and the pfSense is in. If there are no other devices
                are connected to this switches and only behind the pfSense then it would be running smooth.

                • Set up the ISP or border Router in the so called "bridge mode", so that he is acting only as a modem
                  And then connect the pfSense WAN Port to the LAN Port 1 of this device, thats it. If this router is then
                  acting only as a modem, there will be no DHCP and WLAN or other services in normal.

                • Set up a router cascade or double NAT would be running straight without any problems.
                  But we must know this first, that is this a modem or a router or a router acting as a modem!
                  Disable DHCP there on the first router, setting up a static IP at the WAN interface at the pfSense.
                  As an example:

                ISP Router:
                Net: 192.168.178.0/24 (255.255.255.0)
                IP: 192.168.178.1/24
                DHCP: off

                pfSense WAN:
                WAN IP: 192.168.178.254/24 (255.255.255.0)
                DNS 1: 192.168.178.1/24
                DNS 2: empty

                pfSense LAN:
                pfSense net: 172.16.1.0/24
                pfSense Gateway IP: 172.16.1.1/24
                DHCP range: 172.16.1.2 - 172.16.1.254/24
                DHCP on:

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