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

    Everything works fine for the clients but not for the pfsense by it self

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 3 Posters 1.2k 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.
    • F Offline
      Flico
      last edited by

      Hi,

      I am running the pfsense actually wonderful. I have load balancing over 2 DSL lines (works)
      have a captive portal (works)
      DHCP is correctly passed to the clients
      DNS for the clients to pfsense goes well.

      Out of the view from client everything is wonderful, just the pfsense itself not resolve names, so they can not check for updates and NTP does not work.

      "Diagnostics: Ping" works only on IP addresses not names, and only when I select WAN1 or WAN2 in "Source Address" in "Default" it will not work.

      Has anyone an idea why this might be?

      Regards
      Flico

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

        "Has anyone an idea why this might be?"

        Where are you pointing pfsense for dns?  Which connection are you using?

        What are you using for dns?  If you for example you ask dns from connection 1 over connection 2, it most likely will not work.  Most isp's do not allow connections from outside their networks to use their dns.  What if you set pfsense to use something like opendns or googledns or 4.2.2.2 (level 3) etc..

        Can we see your routing table and what your using for dns for pfsense?

        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 25.07.1 | Lab VMs 2.8.1, 25.07.1

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

          Here is the routing table:

          IPv4
          Destination Gateway Flags Refs Use Mtu Netif Expire
          default 192.168.1.220 UGS 0 229 1500 vr0
          8.8.4.4 192.168.1.221 UGHS 0 81822 1500 vr0
          8.8.8.8 192.168.1.220 UGHS 0 81976 1500 vr0
          127.0.0.1 link#7 UH 0 9490 16384 lo0
          128.0.0.0/1 link#2 U 0 108 1500 vr1
          192.168.1.0/24 link#1 U 0 1118876 1500 vr0
          192.168.1.222 link#2 UHS 0 0 16384 lo0
          192.168.1.223 link#3 UHS 0 0 16384 lo0
          192.168.1.250 link#1 UHS 0 0 16384 lo0

          –---------------------------------

          LAN    192.168.1.250 IPv4 Upstream Gateway "none"
          WAN1 192.168.1.222 IPv4 Upstream Gateway "WAN1GW 192.168.1.220"
          WAN2 192.168.1.223 IPv4 Upstream Gateway "WAN2GW 192.168.1.221"


          Gateways
          Name Interface Gateway Monitor IP Description
          WAN1GW (default) WAN1 192.168.1.220 8.8.4.4 WAN1 Gateway 
          WAN2GW WAN2 192.168.1.221 8.8.8.8 WAN2 Gateway

          –---------------------------------

          DSL Router1 has the IP 192.168.1.220
          DSL Router2 has the IP 192.168.1.221


          System: Gateways Groups

          Group Name Gateways Priority Description
          LB1 WAN1GW/WAN2GW  Tier 1/Tier 1 Load Balancing 
          FO1 WAN1GW/WAN2GW Tier 1/Tier 2 Failover1 
          FO2 WAN1GW/WAN2GW Tier 2/Tier 1 Failover2


          System: General Setup

          DNS server
          8.8.8.8 WAN1GW - wan - 192.168.1.220
          8.8.4.4 WAN1GW - wan - 192.168.1.221
          213.33.98.136 WAN1GW - wan - none

          If you need more informations, please just ask and many thanks in advance for your help!

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

            What?

            LAN    192.168.1.250 IPv4 Upstream Gateway "none"
            WAN1 192.168.1.222 IPv4 Upstream Gateway "WAN1GW 192.168.1.220"
            WAN2 192.168.1.223 IPv4 Upstream Gateway "WAN2GW 192.168.1.221"

            You have 3 interfaces all in the same network?  How is anything 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 25.07.1 | Lab VMs 2.8.1, 25.07.1

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

              That I can write in this forum, shows that it works. Im sitting here connected with this constellation.

              So what should I do?

              1 Reply Last reply Reply Quote 0
              • D Offline
                divsys
                last edited by

                I agree w/johnpoz, your LAN subnet overlaps BOTH your WAN1 & WAN2 subnets - not a good plan :o

                I would suggest as step 1 to simply change your LAN subnet to something completely different, such as 192.168.17.0/24.
                You'll have to update the LAN's DHCP server as well.
                You may have to update your firewall rules but that shouldn't be a huge issue.

                At minimum this will give a better indication of what's configured properly and what isn't.

                Try it and let us know what happens or changes.

                -jfp

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