Double network adapter setting route

  
in WINDOWS system

You can type the following command at the DOS prompt:

route delete 0.0.0.0

route add 0.0.0.0 mask 0.0.0.0 192.168.97.10 (NIC 1 route, on the Internet, default route) route add 10.42.0.0 mask 255.255.0.0 10.42.29.10 (network card 2 routing, on the office network).

Of course you can add - P parameters or add routing information to the automatic batch file to make the routing information permanent

as follows:

route –p add 0.0.0.0 Maks 0.0.0.0 192.168.97.10

route –p add 10.42.29.0 mask 255.255.255.0 192.168.97.11.

At this time, use route print to view the route, you can see that there are two permanent routes added to the routing table.

Copyright © Windows knowledge All Rights Reserved