Ok, please bare with me I don't know much about networking but i've been put in charge to do this.
Our software that we use for our business connects to a remote location through a vpn tunnel. Our local network is 172.22.12.0/255.255.255.0. The router for the remote location is 172.22.12.1/255.255.255.0. For our software to work at our main office every computer(Windows XP) has a route add 172.21.1.0 mask 255.255.255.0 172.22.12.1 which allows them to use the software. We now have a branch office that connects to us through a VPN tunnel. Their local network is 172.22.11.0. After setting up the VPN tunnel, we are using router to router for it, I tried to do the route add 172.21.1.0 mask 255.255.255.0 172.22.12.1 but the computer wouldn't let me because the gateway does not lie on the same network. Now if i make the vpn tunnel so that it is going to the remote network of 172.21.1.0 it works great but then they can't use the local network at all. How can I fix this? We are using Windows XP SP2 for our OS and DI-804HV for our VPN routers.
This is how it is setup right now:
Branch Office Main Office
172.22.11.0 -> VPN -> 172.21.1.0
This allows them to use the software but not access the network, i.e. the server
This is how I want to set it up so they can use the software and access the network
Branch Office Main Office
172.22.11.0 -> VPN -> 172.22.12.0
Then have the routes 172.21.1.0 -> 172.22.12.1 for the branch office
Our software that we use for our business connects to a remote location through a vpn tunnel. Our local network is 172.22.12.0/255.255.255.0. The router for the remote location is 172.22.12.1/255.255.255.0. For our software to work at our main office every computer(Windows XP) has a route add 172.21.1.0 mask 255.255.255.0 172.22.12.1 which allows them to use the software. We now have a branch office that connects to us through a VPN tunnel. Their local network is 172.22.11.0. After setting up the VPN tunnel, we are using router to router for it, I tried to do the route add 172.21.1.0 mask 255.255.255.0 172.22.12.1 but the computer wouldn't let me because the gateway does not lie on the same network. Now if i make the vpn tunnel so that it is going to the remote network of 172.21.1.0 it works great but then they can't use the local network at all. How can I fix this? We are using Windows XP SP2 for our OS and DI-804HV for our VPN routers.
This is how it is setup right now:
Branch Office Main Office
172.22.11.0 -> VPN -> 172.21.1.0
This allows them to use the software but not access the network, i.e. the server
This is how I want to set it up so they can use the software and access the network
Branch Office Main Office
172.22.11.0 -> VPN -> 172.22.12.0
Then have the routes 172.21.1.0 -> 172.22.12.1 for the branch office