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

    Change IP

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    24 Posts 6 Posters 2.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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      A factory reset does not change the Netgate ID. Maybe if it was a VM and they blew away the VM and reinstalled, or moved to a new VM, since that would appear to be different hardware.

      The original problem here sounds an awful lot like the symptoms one sees when they try to use the same subnet on WAN and LAN.

      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 2
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        @jimp said in Change IP:

        when they try to use the same subnet on WAN and LAN.

        And I think we have a winner.. Ding Ding Ding ;)

        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
        • P
          pama
          last edited by

          Here I am!
          Well, the issue is...

          The pfsense is a vm in China. We had a ransomware attack so the local IT company would like to try another firewall with DPI solution.
          They disconnected the NICs from Vsphere and kept the same LAN and WAN IPs for the new firewall.
          Now I would like to restart the pfsense, so I need to change both LAN and WAN IPs. They are in the same subnet.
          That's why I need to change the IPs and I cannot make a factory reset.
          So, any solution?

          Thanks

          1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan
            last edited by

            Set LAN only to have access ... ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            P 1 Reply Last reply Reply Quote 0
            • P
              pama @Gertjan
              last edited by

              @gertjan said in Change IP:

              Set LAN only to have access ... ?

              Yep, I have access. But I cannot connect to internet (for updates and packages)

              1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan
                last edited by

                Well, I guess you could prepare a script ? config.xml ? that swaps LAN to something else, and puts WAN in the correct network.
                The same config.xml should have NAT rule on WAN for incoming GUI and SSH access.

                But having a pfSense locked in such a place : isn't it useless now ?

                Btw : Interesting issue : blaming the firewall when a "user" installed some random ware ...

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                P 1 Reply Last reply Reply Quote 0
                • P
                  pama @Gertjan
                  last edited by

                  @gertjan said in Change IP:

                  Btw : Interesting issue : blaming the firewall when a "user" installed some random ware ...

                  I know, that's why I am fighting against the local IT.
                  Now I have access on a vm natted on the "new chinese firewall" and I can work also from Vsphere console, but I wouldn't like to start from scratch just only I need to change two IPs, it is very disappointing!

                  1 Reply Last reply Reply Quote 0
                  • S
                    SteveITS Galactic Empire
                    last edited by

                    I'm not clear if the WAN and LAN are in the same subnet now, and you're trying to fix that? Because you wouldn't ever change them to the same subnet. If you're trying to swap them, perhaps change one to some other made up subnet temporarily...

                    WAN A
                    LAN B

                    WAN C
                    LAN B

                    WAN B
                    LAN A

                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                    Upvote ๐Ÿ‘ helpful posts!

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pama @SteveITS
                      last edited by

                      @teamits
                      et's take, for example
                      LAN net is 192.168.6.0/24
                      WAN net is 20.30.40.0/24 GW 20.30.40.254

                      My old IPs are
                      LAN 192.168.6.1
                      WAN 20.30.40.1 GW 20.30.40.254

                      I have changed first LAN address with
                      192.168.6.10

                      Then WAN address with
                      20.30.40.10 GW 20.30.40.254

                      The system is stuck. I can connect with a slow refresh to the interface but I cannot browse and/or update the system.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SteveITS Galactic Empire @pama
                        last edited by

                        OK so the two interfaces are not in the same subnet.

                        I have no idea why you would have the trouble you describe, by making those changes. Are you sure neither of those IPs are already in use on other devices?

                        Have you tried changing just the LAN IP, and restarting?

                        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                        Upvote ๐Ÿ‘ helpful posts!

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pama @SteveITS
                          last edited by

                          @teamits said in Change IP:

                          Have you tried changing just the LAN IP, and restarting?
                          The question is that the WAN IP is now used by another device, so I need to change it too

                          S 1 Reply Last reply Reply Quote 0
                          • GrimsonG
                            Grimson Banned
                            last edited by

                            Get actual console access (not SSH) and use option "2" to change the IPs and then reboot it for good measure.

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              pama @Grimson
                              last edited by

                              @grimson said in Change IP:

                              Get actual console access (not SSH) and use option "2" to change the IPs and then reboot it for good measure.

                              Already done...

                              1 Reply Last reply Reply Quote 0
                              • S
                                SteveITS Galactic Empire @pama
                                last edited by

                                @pama said in Change IP:

                                the WAN IP is now used by another device

                                I was just trying to find out at what step you lose access.
                                You should not be losing access.
                                If the current WAN IP is in use by another device I would expect both of those to have trouble and would be surprised if you could connect out from the pfSense to the Internet before changing WAN IPs.
                                I was trying to suggest the new WAN IP is also in use by another device. That would at least be consistent with your symptoms.

                                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                Upvote ๐Ÿ‘ helpful posts!

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  pama @SteveITS
                                  last edited by

                                  @teamits said in Change IP:

                                  @pama said in Change IP:

                                  the WAN IP is now used by another device

                                  I was just trying to find out at what step you lose access.
                                  You should not be losing access.
                                  If the current WAN IP is in use by another device I would expect both of those to have trouble and would be surprised if you could connect out from the pfSense to the Internet before changing WAN IPs.
                                  I was trying to suggest the new WAN IP is also in use by another device. That would at least be consistent with your symptoms.

                                  Please read from the top...

                                  The local IT has disconnected pfsense nics from vsphere adn used its ips for the new device.
                                  the new device is working without any problem, as pfsense before.
                                  now I want to reconnect pfsense with UNUSED IPS (please, huh? I work in IT from 20 years)

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SteveITS Galactic Empire
                                    last edited by

                                    @pama said in Change IP:

                                    The local IT has disconnected pfsense nics from vsphere

                                    OK but then the symptom of slow web GUI and inability to access updates is to be expected. The slow GUI happens because DNS isn't working and each try must time out on all DNS servers before the GUI moves on.

                                    I was assuming the NICs were being reconnected after the IP change.

                                    Not sure where to go from here. The only issue I've had with changing IPs is the rebinding check not allowing the new LAN IP but I think that bug was fixed a while ago.

                                    Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                    When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                    Upvote ๐Ÿ‘ helpful posts!

                                    P 1 Reply Last reply Reply Quote 0
                                    • S
                                      SteveITS Galactic Empire
                                      last edited by

                                      Could there be anything in VMWare that is blocking the new IPs? I haven't used VMWare much, but vaguely recall some issues on our Virtuozzo cluster with ARP tables on the physical host.

                                      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                      Upvote ๐Ÿ‘ helpful posts!

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pama @SteveITS
                                        last edited by

                                        @teamits said in Change IP:

                                        @pama said in Change IP:

                                        The local IT has disconnected pfsense nics from vsphere

                                        OK but then the symptom of slow web GUI and inability to access updates is to be expected. The slow GUI happens because DNS isn't working and each try must time out on all DNS servers before the GUI moves on.

                                        I was assuming the NICs were being reconnected after the IP change.

                                        Not sure where to go from here. The only issue I've had with changing IPs is the rebinding check not allowing the new LAN IP but I think that bug was fixed a while ago.

                                        pfsense can query the dns without any problem...

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