Scanning/Connecting for/to hosts with static IPs from wrong subnet
-
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..
-
@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.
-
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