Answer the question
In order to leave comments, you need to log in
How to set up routing in windows 10 for two providers?
Two Internet providers, two routers. Target PC with windows 10, with two network adapters on subnets 192.168.0.0/24 and 192.168.100.0/24 for each of the providers.
Through one provider, you need to periodically raise the VPN tunnel (PPTP) (at the moment - using the built-in tools of Windows 10), through the second provider - always access the Internet. However, if you set the second provider as the main system gateway, then the VPN connection also tries to connect through it (and it needs to be through the first one). At the moment, you have to constantly change the main gateway back and forth, which, of course, is completely inconvenient.
How to set up routing and is it possible when using the built-in PPTP client of WIndows 10? Ideally, the PPTP connection (through the required provider) should be raised automatically when the OS boots)
Answer the question
In order to leave comments, you need to log in
then the VPN connection also tries to connect through it (and it needs to be through the first one)You need to write a route.
Ideally, the PPTP connection (through the required provider) should be raised automatically when the OS boots)Yes, no problem - for such purposes there is a task scheduler.
rasdial [Имя_VPN_подключения] [имя_пользователя] [пароль]
How to set up routingIn windows, see the help for the route command
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question