Solve the conflict between win7 dual network card and internal and external network

  

When the Windows 7 dual NIC is connected to the internal and external networks at the same time, two default gateway conflicts will occur, resulting in no access to both networks.

So the solution is to configure only one gateway, and the other network uses a static route.

The first step is to configure the external network card as normal. Then configure the internal network NIC, and pay attention to the default gateway of the internal network.

The second step, route print, confirm 0.0.0.0 from the external network gateway.

If the current default is not an external 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 (outer gateway).

The third step, route add -p 192.168.100.0 mask 255.255.255.0 192.168.100.1 if 14

Among them, 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.

Copyright © Windows knowledge All Rights Reserved