Connection works ok and traffic is routed in accordance with my plan except for some routes that return failure notice upon addition. This is obviously related with my lack of competence in routing.
Lists of networks I want to route through my VPN connection was initially in short CIDR format:
13.107.42.0/24
I have converted it myself to format used in config files:
route 13.107.42.0 255.255.255.0
But here is a problem with adding few route records.
Here is the list of blocked networks that I have found:
Here is what I converted it into:129.134.0.0/16
147.75.208.0/20
157.240.0.0/16
173.252.64.0/18
179.60.192.0/22
185.60.216.0/22
185.89.216.0/22
199.201.64.0/22
204.15.20.0/22
Here is excerpt from logfile showing result:route 129.134.0.0 255.255.0.0
route 147.75.208.0 255.255.16.0
route 157.240.0.0 255.255.0.0
route 173.252.64.0 255.255.4.0
route 179.60.192.0 255.255.64.0
route 185.60.216.0 255.255.64.0
route 185.89.216.0 255.255.64.0
route 199.201.64.0 255.255.64.0
route 204.15.20.0 255.255.64.0
Can someone please take look and tell me what do I do wrong in converting network formats?2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 129.134.0.0 MASK 255.255.0.0 172.27.232.1
2022-03-19 11:56:51 Route addition via service succeeded
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 147.75.208.0 MASK 255.255.16.0 172.27.232.1
2022-03-19 11:56:51 ROUTE: route addition failed using service: The parameter is incorrect. [status=87 if_index=52]
2022-03-19 11:56:51 Route addition via service failed
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 157.240.0.0 MASK 255.255.0.0 172.27.232.1
2022-03-19 11:56:51 Route addition via service succeeded
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 173.252.64.0 MASK 255.255.4.0 172.27.232.1
2022-03-19 11:56:51 ROUTE: route addition failed using service: The parameter is incorrect. [status=87 if_index=52]
2022-03-19 11:56:51 Route addition via service failed
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 179.60.192.0 MASK 255.255.64.0 172.27.232.1
2022-03-19 11:56:51 ROUTE: route addition failed using service: The parameter is incorrect. [status=87 if_index=52]
2022-03-19 11:56:51 Route addition via service failed
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 185.60.216.0 MASK 255.255.64.0 172.27.232.1
2022-03-19 11:56:51 ROUTE: route addition failed using service: The parameter is incorrect. [status=87 if_index=52]
2022-03-19 11:56:51 Route addition via service failed
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 185.89.216.0 MASK 255.255.64.0 172.27.232.1
2022-03-19 11:56:51 ROUTE: route addition failed using service: The parameter is incorrect. [status=87 if_index=52]
2022-03-19 11:56:51 Route addition via service failed
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 199.201.64.0 MASK 255.255.64.0 172.27.232.1
2022-03-19 11:56:51 ROUTE: route addition failed using service: The parameter is incorrect. [status=87 if_index=52]
2022-03-19 11:56:51 Route addition via service failed
2022-03-19 11:56:51 C:\WINDOWS\system32\route.exe ADD 204.15.20.0 MASK 255.255.64.0 172.27.232.1
2022-03-19 11:56:51 ROUTE: route addition failed using service: The parameter is incorrect. [status=87 if_index=52]
2022-03-19 11:56:51 Route addition via service failed
Thanks in advance.