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

    Adding a NAT 1:1 mapping to ISP public IP stops internet access

    Scheduled Pinned Locked Moved NAT
    13 Posts 4 Posters 6.9k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      How many threads you going to start about the same subject?

      "told me to set my WAN to static "

      Like I said in the other threads ;)

      Now your saying there is a bug in pfsense that you can not set static wan ip to .1??  Come on dude does that make sense?  Did you REMOVE your vips??  pfsense is not going to let you set x.x.x.1 if you already have x.x.x.1 set in a VIP now is it.

      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
      • M
        miles267
        last edited by

        I apologize johnpoz for the confusion.  what started out as one thread, morphed into a few topics.  I was simply trying to put a topic in the correct forum.

        Yes, my ISP provided a series of static IPs and a gateway and told me to:

        1.) use my first available static IP (call it 24.248.x.100) for my router.  however when I do this, it returns a different static IP from my static range like 24.248.x.105 instead.  It doesn't accept the one they told me to use.  .100 wouldn't be in use by any other device.

        2.) the WAN subnet they provided is 255.255.255.0.  However when I enter my static IP /24, pfsense reports a netmask of 255.255.255.255.

        3.) when I enter the gateway into pfsense (24.248.x.1), it says Gathering data and then "offline" (in red)

        Finally when I set my pfsense WAN interface back to DHCP, it obtains a 70.x.x.x address and a dynamic gateway 70.x.x.1 and works perfectly.

        Thanks for your patience and guidance.

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

          Well without pictures of what your doing - just guessing.  I have no idea where your trying to set this stuff??

          So - for quick test, I just set my wan to static.  And then looked it its status, looks like it take .1 to me, and shows the correct mask.

          So lets see some screen shots of what your saying is happening.  Because it just makes NO sense!

          edit:  So in one post you state it wont let you set .1 as interface address.  Then in next post your trying to set that as your gateway??  WTF dude?

          Again did you clear all your vips?  Did you clear any nats you had setup?  How about you just start over with a clean install and do what your isp told you to do this time at first.  If setting static does not work, then contact them.  But its just not going to work using dhcp as wan and then trying to setup statics vips.

          set.png
          set.png_thumb
          setstatic.png
          setstatic.png_thumb

          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
          • M
            miles267
            last edited by

            OK.  Will grab some screens as you've suggested.  Also, are you running the latest 2.1?  Am currently on 2.0.1-release.  Would there be any merit it upgrading to 2.1 first?

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

              I can fire up 2.01 if you want - what your saying makes no sense!

              I would do a clean install of 2.1 if me - it is more than stable enough for use in all but the most critical of setups.

              edit:
              Also what makes no sense is that they would give you 5 IPs, but give you a /24 mask?  Very strange - normally they would give you a block, say /29 for example

              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
              • M
                miles267
                last edited by

                After contacting my ISP, it turns out there was an issue on their end.  Seems the static IPs they issued me weren't going to ever work.  Nevertheless they've since issued me an entirely new block of IPs with a new gateway and subnet mask.  Will try to reconfig 2.0.1 w/ these and do a clean install of 2.1beta if that fails to work.

                IPs: 184.185.x.x
                GW: 184.185.x.225
                Subnet mask: 255.255.255.224
                DNS: no changes

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

                  well a /27 is still a block of 30 addresses and they say only get 5?

                  I would suggest you reboot your modem as well when you change your wan to static.

                  Let us know how it turns out.

                  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
                  • M
                    miles267
                    last edited by

                    @johnpoz:

                    well a /27 is still a block of 30 addresses and they say only get 5?

                    I would suggest you reboot your modem as well when you change your wan to static.

                    Let us know how it turns out.

                    Will do.  Yes, there's a support portal I can login to for my ISP that lists out my assigned static IPs, GW, Netmask, DN1 and DNS2.  Will enter as static IP /27 as suggested.  Perhaps they create a block of 30 IPs but divide them up to subscribers in sets of 5, etc?  Sure hope this works.

                    1 Reply Last reply Reply Quote 0
                    • E
                      ealbin
                      last edited by

                      "Also what makes no sense is that they would give you 5 IPs, but give you a /24 mask?  Very strange - normally they would give you a block, say /29 for example"

                      I have Comcast business class, block of 5, mine is as you say /29, which of coarse translates into a subnet of 255.255.255.248.

                      Although in many routes if the subnet is put in incorrectly, that is figured out. When the info is put in CIDR notation, then not sure it can sort out a mistake.

                      Pfsense uses CIDR.

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

                        Turns out they had given me a set of static IPs that were invalid. So of course the netmask and gateway didn't correspond with them either.  When I attempted to plug them into my pfsense WAN interface, I didn't have any connectivity.  Since they've reissued a new, valid set of IPs that are entirely different than the original set, it's no wonder I couldnt connect.

                        What a relief.  Looking back I would've never connected.  And it wasn't until I assisted on a new block of IPs that it would've ever worked.

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