Answer the question
In order to leave comments, you need to log in
How to properly configure routing in Win10?
Good afternoon!
I'm a little confused in routing, please help.
Task: There is a machine with 2 interfaces. on 1 - Internet, subnet 192.168.100.0/24, on the other - internal local network, subnet: 172.17.0.0/24, there is no main gateway, dhcp, nothing, just LAN and manual addresses. my PC: 172.17.0.155 (interface)
Purpose: to be able to simultaneously access the Internet and this subnet. Simply put, all requests to 172.17.0.0 go to the second interface.
I use routing:
route -p add 172.17.0.0 mask 255.255.255.0 172.17.0.155 metric 1
Answer the question
In order to leave comments, you need to log in
To enter the "home subnet" of the network adapter, no additional routes are needed - the route is created during the settings of the network adapters.
Have a look at netstat -r or route print - the required route should be there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question