牛群 发表于 2012-4-13 17:32

双网卡上网问题

怎么让有线的连局域网,而无线的连外网?

LonelyTB 发表于 2012-4-13 17:35

CMD里面输 route print
然后内容截出来看看

牛群 发表于 2012-4-13 17:42

===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x20003 ...41 6e e4 16 72 a6 ...... 150M Wireless USB Adapter - ╩²╛▌░ⁿ╝╞╗«│╠╨≥╬ó╨═╢╦┐┌
0x30004 ...07 4f 96 44 a3 1a ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - ╩²╛▌░ⁿ╝╞╗«│╠╨≥╬ó╨═╢╦┐
===========================================================================
===========================================================================
Active Routes:
Network Destination      Netmask          Gateway       InterfaceMetric
          0.0.0.0          0.0.0.0   192.168.22.1192.168.22.107       20
          0.0.0.0          0.0.0.0    192.168.240.1192.168.241.29       30
      10.10.168.0    255.255.255.0   10.10.168.52192.168.241.29       30
   10.10.168.52255.255.255.255      127.0.0.1       127.0.0.1       30
   10.255.255.255255.255.255.255   192.168.241.29192.168.241.29       30
      127.0.0.0      255.0.0.0      127.0.0.1       127.0.0.1       1
       172.16.0.0      255.255.0.0    172.16.10.133192.168.241.29       30
    172.16.10.133255.255.255.255      127.0.0.1       127.0.0.1       30
   172.16.255.255255.255.255.255    172.16.10.133192.168.241.29       30
   192.168.18.0    255.255.255.0   192.168.18.116192.168.241.29       30
   192.168.18.116255.255.255.255      127.0.0.1       127.0.0.1       30
   192.168.18.255255.255.255.255   192.168.18.116192.168.241.29       30
   192.168.22.0    255.255.255.0   192.168.22.107192.168.22.107       20
   192.168.22.0    255.255.255.0   192.168.22.233192.168.241.29       30
   192.168.22.107255.255.255.255      127.0.0.1       127.0.0.1       20
   192.168.22.233255.255.255.255      127.0.0.1       127.0.0.1       30
   192.168.22.255255.255.255.255   192.168.22.107192.168.22.107       20
   192.168.22.255255.255.255.255   192.168.22.233192.168.241.29       30
   192.168.29.0    255.255.255.0    192.168.29.52192.168.241.29       30
    192.168.29.52255.255.255.255      127.0.0.1       127.0.0.1       30
   192.168.29.255255.255.255.255    192.168.29.52192.168.241.29       30
    192.168.240.0    255.255.240.0   192.168.241.29192.168.241.29       30
   192.168.241.29255.255.255.255      127.0.0.1       127.0.0.1       30
192.168.241.255255.255.255.255   192.168.241.29192.168.241.29       30
      224.0.0.0      240.0.0.0   192.168.22.107192.168.22.107       20
      224.0.0.0      240.0.0.0   192.168.241.29192.168.241.29       30
255.255.255.255255.255.255.255   192.168.22.107192.168.22.107       1
255.255.255.255255.255.255.255   192.168.241.29192.168.241.29       1
Default Gateway:      192.168.22.1
===========================================================================
Persistent Routes:
None

LonelyTB 发表于 2012-4-13 17:52

192.168.22.1 是外网网关? 内网段是172.16.0.0 ?

route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.22.1

牛群 发表于 2012-4-13 18:05

192.168.22.1是路由器的网关

外网网关是192.168.240.1

LonelyTB 发表于 2012-4-13 18:20

route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.240.1

你们内网网段是啥?

牛群 发表于 2012-4-13 18:23

好多个....

192.xxx
10.xxx
172.xxx
页: [1]
查看完整版本: 双网卡上网问题