thanks khaled for ur reply. but i have one question that i need to ask.
as 192.168.0.2 is on directly connected network so why we need to add static route?
further more if we take ip route on router it show 192.168.0.0 as directly connected network.
Router1 can easily forward packets to the 192.168.0.0 network as it's directly connected to it.
The problem is, Router1 DOES NOT
know about the 10.0.0.0 network!
Routers DO NOT
necessarily forward packets back
the same interface the packets on.
Router1 receives a packet with source 10.0.0.2 IP address, but since it doesn't have any information about the 10.0.0.0 network, it just discards/ignores it.
Hint: Routers check the routing table
(show ip route) all the time to decide the best route. If the remote network isn't listed, they just drop the packets.
I hope this is helpful :)