Windows7 dual network card to connect the intranet and the external network to prompt the gateway conflict solution

  
                

Sometimes because of some need, we have to connect to the intranet and the extranet at the same time, but there will always be a gateway conflict in use, and this situation will result in neither network being available, which brings us A lot of trouble. How to solve the gateway conflict situation under Windows7 system?

Specific solutions are as follows:

1, first external network card good normal configuration. Then configure the internal network card, pay attention to the default gateway of the internal network left blank;

2, route print, confirm 0.0.0.0 from the external network gateway;

If the current default is not the external network gateway, Start cmd as an administrator, first route delete 0.0.0.0;

then route add 0.0.0.0 mask 0.0.0.0 zzz.zzz.zzz.zzz (outside gateway).

3, route add -p 192.168.100.0 mask 255.255.255.0 192.168.100.1 if 14 where 14 is the internal network interface number, you can see from the route print. -p means to add a static route, that is, it will not be lost after reboot.

The above is the solution to solve the conflict between the internal network and the external network prompting the dual network card. With the above settings, there will be no gateway conflict when using the dual network card dual network under Windows7 system.

Copyright © Windows knowledge All Rights Reserved