How do I redirect the traffic for one IP address on one subnet to another IP address on another subnet using Cisco 1921 Routers

How do I redirect traffic for one IP address on one subnet to an IP address on another subnet.

    Main Network
      192.168.1.0       255.255.255.0 192.168.1.1
    Cisco 1921 Router
      10.10.10.1      255.255.255.0
           |
           |
      10.10.10.2      255.255.255.0
   Cisco 1921 Router
192.168.4.1               255.255.255.0 192.168.4.1
 Remote Network

Traffic sent by 192.168.4.150 server needs to be redirected to 192.168.1.7 on the Main Network.
BR_Asked:
Who is Participating?
 
AkinsdNetwork AdministratorCommented:
I found the solution to my problem. I was using my source address

192.168.4.1               255.255.255.0 192.168.4.1
 Remote Network
0
 
AkinsdNetwork AdministratorCommented:
If I understand you correctly, the two networks are not able to communicate with each other.

If yes, you will need to implement routing between the two networks.

By remote network, do you mean outside your firewall, over the internet or different site.

If the networks are behind the same firewall
- On the 1921 router, type the following route statement
Router>en
Router#conf t
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.4.1

On the remote router
Router>en
Router#conf t
Router(config)#ip route 192.168.4.0 255.255.255.0 192.168.1.1

Please provide a diagram and answer to the questions. I have a feeling the remote network is behind a different firewall. if so there's a lot more to it than described above
0
 
FideliusCommented:
On Main network Cisco 1921 router enter following:
Router(config)#ip route 192.168.4.0 255.255.255.0 10.10.10.2

On Remote network Cisco 1921 router enter following:
Router(config)#ip route 192.168.1.0 255.255.255.0 10.10.10.1

Regards!
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
BR_Author Commented:
The two networks are connected via Metro Ethernet and can communicate with each other perfectly.

The two Cisco 1921 routers are configured with:

Main Network Cisco router:         ip route 192.168.4.0 255.255.255.0 10.10.10.2

Remote Network Cisco router     ip route 192.168.1.0 255.255.255.0 10.10.10.1

The problem I have is getting the traffic for 192.168.4.190 at our second location to go directly to 192.168.1.7.

I have uploaded a diagram.
Metro.pdf
0
 
BR_Author Commented:
I found the solution to my problem. I was using my source address. I should have been using my destination address.
I entered the route using my destination address and was able to connect.

Thank you all for your input.
0
 
AkinsdNetwork AdministratorCommented:
Excellent
0
 
BR_Author Commented:
I've requested that this question be closed as follows:

Accepted answer: 0 points for BR_'s comment #a40663971

for the following reason:

My mistake. When I created my route I used the source address instead of the destination address. When I changed it to the destination address it worked.
0
 
BR_Author Commented:
Sorry - I thought I had closed this question.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.