I have a network with a few subnets running via routers. the main network has the address 220.127.116.11/127. My subnets are 192.168.1.__ and 192.168.2.__I am trying to get a computer on the .2 network running win 7 pro x64 to communicate with a device on the .1 network. On the windows 7 machine this was the add statement i ran
route add 192.168.1.0 mask 255.255.255.0 18.104.22.168(routers WAN ip). Cmd said ok! i went to the other one and entered route add 192.168.2.0 mask 255.255.255.0 22.214.171.124 and the message i got was: "The route addition failed. Either the interface index is wrong or the gateway does not lie on the same netwok as the interface. Check the ip address table for the machine."
I've tried several combinations of ip addresses that may be or should be used but to no avail. I also tried running this same command from another computer on the .1 network and it said "OK!" but when i tried to ping the win 7 machine on the .2 network, it said destination host unreachable.
126.96.36.199 is the WAN ip of the router of subnet .2
188.8.131.52 is the WAN ip of the router on subnet .1
These are addressed this way so that the computers on these subnets can have software loaded on them by a software install agent via the supernet
@Plumble- I dont understand what you mean by,
"Surely you'd want the gatway out from subnet 1 to subnet 2 to be the internal address of the first router?"
I will check on the firewall as well