Below are given the situations when we may require to use multiple networks simultaneously.
1. We have two ISP with different bandwidth and we need to use bandwidth from both the networks simultaneously.
2. We have two different Networks such as LAN and The Internet so we need to send request to both the networks simultaneously depending upon the website (web page) we use.
In above circumstances we can use route command to redirect request to different networks (GATEWAY) depending on which website we are using.
suppose we have to forward request from website with IP:10.20.30.32 to network with nearest router address (gateway1) 10.210.3.1 and rest of the networks to another gateway2 e.g. 192.168.1.1(network).
In this case we need to set lower metric of gateway2 and higher metric to gateway1 so that all request goes to lower metric that is gateway2.
After above process completes we need to set the route of IP 10.20.30.32 to gateway1 and est all is automatically set to gateway2 hence we are done after running below command in admin mode of command prompt.
route -p add 10.20.30.32 mask 255.255.255.0 10.210.3.1
1. We have two ISP with different bandwidth and we need to use bandwidth from both the networks simultaneously.
2. We have two different Networks such as LAN and The Internet so we need to send request to both the networks simultaneously depending upon the website (web page) we use.
In above circumstances we can use route command to redirect request to different networks (GATEWAY) depending on which website we are using.
suppose we have to forward request from website with IP:10.20.30.32 to network with nearest router address (gateway1) 10.210.3.1 and rest of the networks to another gateway2 e.g. 192.168.1.1(network).
In this case we need to set lower metric of gateway2 and higher metric to gateway1 so that all request goes to lower metric that is gateway2.
After above process completes we need to set the route of IP 10.20.30.32 to gateway1 and est all is automatically set to gateway2 hence we are done after running below command in admin mode of command prompt.
route -p add 10.20.30.32 mask 255.255.255.0 10.210.3.1