windows double oriented network card for IP routing outside the network

  The company computer network is the wired network card, a wireless network card and the computer can also connect to external networks. In theory is a good, even with the company network wired LAN, wireless LAN connection to external networks.

  but! ! ! Focus here, this stuff is too much trouble, in fact, the network wired network card can access the Internet, where there are IT policy management and control, not out of it, which led to the computer is out of what you could not tell by the link.

  Simply, directly to reconfigure the routing table.

  Introduction First, the network card: ip: 10.xxx, gw: 10.xx1; external network: ip: 192.168.43.x, gw: 192.168.43.1. Target IP: 47.104.242.x

  At first, I added a direct routing tables, route add 47.104.242.0 mask 255.255.255.0 192.168.43.1. Well, simply fail. The specific reasons unknown.

  Then there is Baidu, the next check, I found the routing table has a problem, there are two segments default route.

  

 

  This is probably a pit, quietly removed the external network card default route: route delete 0.0.0.0 mask 0.0.0.0 192.168.43.1.

  And then added to the list directional IP routing: route add 47.104.242.0 mask 255.255.255.0 192.168.43.1.

  Or not found, looked down, hey, a mess of the original route is added too much, directly open the big move, delete 47.104.242.0 related to all routes, route delete 47.104.242.0.

  And then added to the list directional IP routing: route add 47.104.242.0 mask 255.255.255.0 192.168.43.1.

  OK, hand-finished.

Guess you like

Origin www.cnblogs.com/gg472074534/p/12101986.html