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

    Cannot connect to the internet using static ipv4

    General pfSense Questions
    2
    6
    692
    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.
    • V
      videosambo
      last edited by

      We are setuping our server room and our ISP is providing internet to us by fiber connection and ISP gave us following information:

      Network xxx.xxx.224.128 / 25
      Gateway xxx.xxx.224.129
      DNS xxx.xxx.194.2 and xxx.xxx.194.3

      Assigned network is static and not dynamic.

      We don't have proper router so I installed PFSense to one of our rack servers and installed Intel 10Gb SFP card on it.

      After PFSense installed I configured wan (lx1 what is up) to be xxx.xxx.224.130 / 25 and setted gateway to be xxx.xxx.224.129.

      For LAN I configured 192.168.1.1/24 network and I planed to use 1 to 1 NAT for other addresses after LAN has been configured completly.

      Now I have this problem that I cannot connect to internet or ping 8.8.8.8 even if WAN settings seems to be right. What I am missing or did I missconfigure something?

      I have played arund and tested some suggestions that google gave me but no luck so far. Some point I was able to ping gateway but no further than that.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @videosambo
        last edited by

        @videosambo said in Cannot connect to the internet using static ipv4:

        We are setuping our server room and our ISP is providing internet to us by fiber connection and ISP gave us following information:
        Network xxx.xxx.224.128 / 25
        Gateway xxx.xxx.224.129
        DNS xxx.xxx.194.2 and xxx.xxx.194.3

        Is that all you got?

        If the /25 subnet is not routed to the primary WAN IP you need to add each unique IP of the subnet as type IP alias to the WAN interface.
        I think it would be easier to get an additional IP and let the ISP route the subnet to it.

        V 1 Reply Last reply Reply Quote 0
        • V
          videosambo @viragomann
          last edited by

          @viragomann Do you think this is part of the problem why I cant connect to outside world?

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @videosambo
            last edited by

            @videosambo
            Yes, when using the NAT 1:1. However, if you disable the 1:1 rule and if the outbound NAT is in automatic mode, you should get internet access though.

            1 Reply Last reply Reply Quote 0
            • V
              videosambo
              last edited by

              I have done some researching why I cant get connection to outside world or to gateway and looks like the problem is in isp gateway because when I try to ping something, tcpdump shows only arp discovery packets and no response for them. Also I dont see much trafic between gateway and router so I think the problem is on ISP side this time. I'l update this thread when I get more information

              1 Reply Last reply Reply Quote 0
              • V
                videosambo
                last edited by

                The problem was on ISP side. All is good now

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