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

    Can't Get Static IP's Working

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    6 Posts 3 Posters 3.0k 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.
    • M
      mankyd
      last edited by

      disclaimer: I am new to pfSense and networking in general.

      I recently received 8 static ips ("5 usable") from my ISP. I set everything up, told pfSense to obtain an DHCP address from the WAN and poof I had internet. Yay.

      However, when I went to configure the WAN interface and told it to use a static IP, my internet connection went away. When I switch back to DHCP, the connection comes back. I am obviously doing something wrong, but I don't know what. Here's the info I received from my ISP:

      Address Range: x.x.x.2 - x.x.x.9
      Network ID: x.x.x.2
      Default Gateway: x.x.x.3
      Subnet: 255.255.255.248
      Usable IPs: x.x.x.4 - x.x.x.8
      

      I've entered in the x.x.x.3 address as the gateway, and tried just about every other ip as my static IP. I've entered in /32 and well as /29. When I leave DHCP on, the WAN obtains the IP x.x.x.5.

      I'm trying to set this up so that most the users on my LAN will use the .4 address, while the remaining 4 IPs will be mapped to various servers.

      Can anyone tell me what I'm doing wrong?

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by

        That information does not make sense, if you have a /29 network  x.x.x.0 - x.x.x.7 then it should look more like this:

        Address range: x.x.x.0 - x.x.x.7
        Network address: x.x.x.0
        Subnet: 255.255.255.248 ( /29)
        Broadcast address: x.x.x.7
        Usable addresses: x.x.x.1 - x.x.x.6, one of these used by the gateway address leaving 5 addresses usable.

        How does your WAN setup look when it has an address assigned with DHCP?

        1 Reply Last reply Reply Quote 0
        • M
          mankyd
          last edited by

          Actually, the ips are 192-199, if that seems more logical. Sorry if that was confusing.

          When it configures through DHCP, it grabs the 195 address and and the gateway is set at 193.

          1 Reply Last reply Reply Quote 0
          • K
            kpa
            last edited by

            With DHCP you get one or more addresses for DNS forwarders, you're probably just missing them in your static address setup. System->General Setup->DNS servers if I remember right.

            1 Reply Last reply Reply Quote 0
            • M
              mankyd
              last edited by

              After some more research, I've discovered that my ISP requires that I obtain the static IP's through DHCP for some odd reason. I was not aware of this when I signed up for the service. I am not entirely sure what the implications of this are quite yet.

              If I want to use all five of my IP's without connecting 5 different machines to the incoming line, should I set up 5 virtual IP's, or should I see which has been assigned to the router and then only create the other 4 as virtual.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                I believe some people have gotten this to work by adding 5 vlan interfaces and setting them all for DHCP. I'd do a forum/docs search going down that route and see if you can turn up better results. I seem to recall it coming up within the past two weeks.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

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