Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Forwarding Data - Is this possible

Hi All,

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

  • LAN Switching and Routing
8 REPLIES

Re: Forwarding Data - Is this possible

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.

New Member

Re: Forwarding Data - Is this possible

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.

Re: Forwarding Data - Is this possible

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.

Re: Forwarding Data - Is this possible

Hi Robert,

This is an interesting requirement from you.

On simple solution could be to split the 192.168.1.0/24 subnet to sub-subnets.

For example:

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.

Cheers:

Istvan

New Member

Re: Forwarding Data - Is this possible

Istvan,

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.

Rob

Re: Forwarding Data - Is this possible

Hi Rob,

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.

Thanks:

Istvan

Bronze

Re: Forwarding Data - Is this possible

Sounds like a job for ncat.

Check this out.

http://nmap.org/ncat/guide/ncat-broker.html

You might need a pc or two but it can be done.

New Member

Re: Forwarding Data - Is this possible

Thank you all for your suggestions, going to check out using a GRE tunnel beween the networks, with destination device with NAT.

112
Views
0
Helpful
8
Replies
This widget could not be displayed.