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

Scanning/Connecting for/to hosts with static IPs from wrong subnet

Scheduled Pinned Locked Moved General pfSense Questions
3 Posts 3 Posters 426 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.
  • V
    Volans
    last edited by Oct 19, 2022, 9:25 AM

    Hi everybody,

    I have a tricky problem:

    I had two LAN subnets on two physical ethernet ports (10.25.0.0/24 and 10.30.0.0/24).
    Unfortunately I had to switch those subnets. 10.25.0.0/24 became 10.30.0.0/24 and vice versa.

    99% of all devices are DHCP clients and obtained IPs from the new subnets. But 1% had static IPs and are not reachable anymore. My problem is now that I can't simply configure a virtual IP on the interface and scan for remaining devices or establish an SSH tunnel to them, because there is already a route for this subnet in the routing table that points to the wrong/old interface.

    I tried to temporarily deactivate one of the interfaces and wanted to configure a static route to the other, but under static routes I can't choose a LAN interface.

    Do you guys have another idea how I could manage to connect to them somehow? Unfortunately I'm remote..

    J 1 Reply Last reply Oct 19, 2022, 1:30 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @Volans
      last edited by Oct 19, 2022, 1:30 PM

      @volans can you remote to one of the devices on the network that did change its IP, and then you could use that with a vip or alternate IP to connect to all the device that are on the old IP range.

      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.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Oct 19, 2022, 7:52 PM

        You don't want a static route here because pfSense would have an interface in that subnet not access it via some other gateway on the LAN. You would disable the other interface then add back that subnet as a VIP on the existing interface so both subnets now exist on that interface. Obviously you would need to remove that to be able to re-enable the other interface.

        Steve

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received