Have a configuration issue:
I have a device on a LAN that Gathers data and then forwards that data to another IP address on the same subnet. It is custom software that is hard-coded with the destination address, the source address and destination address cannot be modified or changed. The problem that I have now is that the data needs to be sent to another device on another network - but connected via routers (which can be configured with NAT).
What I was thinking of was like an IP Helper-Address type of solution, except that the router would act as the destination Address but then forward the data to the destination address, as it would a DHCP request. Is there a configuration command that could accomplish this?
Any assist would be appreciated
As you stated you would want to use NAT or have the developers fix their program ;-)
The router would simply translate 192.168.1.5 (original IP) to 10.10.90.5 (new IP).
Hope that helps.
That I agree, the issue that I am having is that the device that transfers the data, sends it to an IP address on the same subnet, so IP 192.168.1.5 would send that data to 192.168.1.105. It would not hit the router, so if I could have the router pretend that it was 192.168.1.105 and then forward it to the 10.10.90.5 that would solve the problem.
The only way I can think of to do that would be to add a secondary IP on your router and NAT to the new destination. I've never done that so I'm not 100% sure you can. Other than that, the developers will have to fix the app.
This is an interesting requirement from you.
On simple solution could be to split the 192.168.1.0/24 subnet to sub-subnets.
192.168.1.0/26 - 192.168.1.5 would be part of this subnet
192.168.1.64/26 - 192.168.1.105 would be part of this subnet.
You could configure these 2 subnets on different interfaces of the router.
In this case the router would proxy-arp for the 192.168.1.105 address and forward the packet to its other interface.
If you wanted to forward this packet to somewhere else, you could configure policy routing.
As with the IP address I am unable to change the mask as well, I was wondering if Cisco had a hidded command that could have helped - as in the secondary address suggestion, and then a Forward-Protocol or ACL type of command to pass the data to the NAT address at the distant end.
Tks. for the suggestion tho.
There is the need to change the mask on the router only.
But if you have so many hosts on the 192.168.1.0/24 network that you can't break it up into subnets, then I understand your point.