如何同时使用双网卡进行两个网络上网 - 小众知识

如何同时使用双网卡进行两个网络上网

2013年01月27日 14:18:05 苏内容
  标签: 网卡
阅读:7328
对某有线上网彻底失望后,本来想转AD,但中国电信死不减价,最气人是本来有个优惠,但又要求这求那,还要绑定一台CDMA手机,就作罢,后来鬼使神差的就变成现在的同时使用了2个宽带运行商,原先是一个电脑用一个WIFI用,后来干脆就把电脑无线加有线同时来用,上百毒搜了下,很快就设好,但使用下来发现WIN7下的"多重网络"默认下只是使用其中的一个.只有其中有个断网另外那个马上补上,并非我想要的同时上网的宽带叠加,后来搜了一会才知道要把2个网卡的活跃度(跃点数)调成一样,就是2个的数要一样,20/40 都行只要是一样的数(默认是自动)


就是红圈那里,这个才是关键,设好了才能双网同时叠加宽带
这是叠加后的效果

打开任务管理器的联网,看到2个网络都有流量就OK





现在也可可以享受一下4M+4M啦



  如果你电脑同时装了双网卡(包括无线网卡),且分别属于不直接相连的网段,此时如果在两个属性里都设了网关,Windows只认其中一个导致两个网段不能同时上。
  所以只能在其中一个网卡的属性中设网关(如两个内网段随便取一个,一个外网一个内网的设外网的方便),另一个网关先留空,然后运行cmd,运行“route -p add 内网网段 mask 子网掩码 内网网关(刚留空的)”,如果内网网段有多段的则多打几次这个命令就可以了。这个命令目的在于将原内网地址永久性地默认通过内网网关,适用于学校企业等同时存在多个不同网段服务器且接入也不同的。

  特别要注意的是网段与子网掩码的对应关系不能输错!
  example:
  route -p add 192.168.0.0 mask 255.255.0.0 192.168.180.254 metric 1
  route -p add 10.0.0.0 mask 255.0.0.0 192.168.180.254 metric 1
  实践中发现该命令非常有用,可以指定任何特定的IP或段指向某网关。
  
  metric Metric 
   为路由指定所需跃点数的整数值(范围是 1 ~ 9999),它用来在路由表里的多个路由中选择与转发包中的目标地址最为匹配的路由。所选的路由具有最少的跃点数。跃点数能够反映跃点的数量、路径的速度、路径可靠性、路径吞吐量以及管理属性。
  
  Metric用于指出路由的成本。通常情况下代表到达目标地址所需要经过的跃点数量,一个跃点 代表经过一个路由器。 
  
  类似的方法如下:
  主要原因是:2个网卡的优先级一致,导致上内网的时候,到不了外网,而上外网的时候,就进不了内网,因为计算机无法识别同样的默认网关。在设置ip的时候系统就会提示2个网卡一起使用,会使计算机网络不能正常使用。 
  
  解决办法就是设置不同的默认网关级别。 
  外网设置:打开tcp/ip协议,高级,编辑默认网关的跃点数为10,默认为自动,值为20,用route print查到的;设置自动跃点数为10。 
  这样的设置是把外网的优先级提高。内网优先级就比较底了。 
  
  用route print 命令来查看:未设置以前的值是有两个默认网关0.0.0.0, 
  network destination netmask gateway interface metric 
  0.0.0.0 0.0.0.0 192.168.198.66 192.168.198.101 20 
  0.0.0.0 0.0.0.0 10.172.2.2 10.172.2.222 20 
  
  因为两个默认网关的metric 值都是20。 
  修改后的值是: 
  network destination netmask gateway interface metric 
  0.0.0.0 0.0.0.0 192.168.198.66 192.168.198.101 10 
  0.0.0.0 0.0.0.0 10.172.2.2 10.172.2.222 20 
  
  metric值越高,他的优先级别越低,这样2个默认网关就不会冲突了。 
  
  修改完这个以后: 
  有些时候可能进内网还不正常,你可以手工设置内网的默认网关路由。 
  如:要进10.168.8.x,的内网由10.172.2.2这个网关进,通过命令来设置: 
  route add -p 10.168.8.x mask 255.255.255.0 10.172.2.2 
  命令解释: 
  10.168.8.x为目标网段或目标ip,设为目标网段时,x值为0, 
  255.255.255.0,为网关10.172.2.2的子网。 
  10.172.2.2,为这个目标ip的默认路由。 
  mask的关键字不能少,-p为系统重启后保存设置,不用重新更改或重新增加这条路由。 
  有关route add/print的相关资料大家可以在网上查查,它的使用办法。 
  
  这样问题就可以得以解决。 
  
  当然也可以用其它的办法来更改默认网关的值: 
  1。如route delelte 0.0.0.0,把2个默认网关都删掉,再新增。新增时注意设置metric这个值不能一样。 
  2。用route change 来变更两个默认网关的的外网网关的metric值。。 
  
  不过这2个方法比较的繁锁,也不容易操作。
扩展阅读

Suese

2018-03-12 23:09:49

Nicely put, Many thanks. cialis funkar inte <a href="http://cialisfidel.com/">generic cialis</a> parduoda cialis kaunas <a href=http://cialisfidel.com/>cialis generic</a>

Suese

2018-03-13 22:24:41

You suggested it perfectly. cialis daily or 36 hour <a href="http://cialisfidel.com/">buy cialis online</a> cialis preise mit rezept <a href=http://cialisfidel.com/>cialis generic</a>

Suese

2018-03-14 11:32:39

Well voiced without a doubt! ! 10mg cialis for daily use <a href="http://cialisfidel.com/">cialis black 800mg</a> cialis 10mg information <a href=http://cialisfidel.com/>cialis generic</a>

Suese

2018-03-22 18:29:50

canadian family pharmacy viagra <a href="http://viagramestiksoss.com/">viagra cheap</a> discount canadian pharmacy viagra cealis <a href=http://viagramestiksoss.com/>buy canadian viagra</a>

Suese

2018-03-22 19:09:31

canadian health viagra <a href="http://viagramestiksoss.com/">online viagra</a> viagra 50mg online canadian <a href=http://viagramestiksoss.com/>canadian viagra 5mg</a>

Suese

2018-03-22 19:48:19

canadian generica viagra <a href="http://viagramestiksoss.com/">viagra effectiveness reviews </a> viagra canadian pharmaies <a href=http://viagramestiksoss.com/>online viagra</a>

Suese

2018-03-22 20:20:04

canadian viagra cost <a href="http://viagramestiksoss.com/">canadian viagra 5mg</a> from canadian co professional viagra <a href=http://viagramestiksoss.com/>canadian viagra sales</a>

Suese

2018-03-22 20:49:40

canadian pharmacy viagra no prescription <a href="http://viagramestiksoss.com/">online viagra</a> canadian pharmacies buy viagra <a href=http://viagramestiksoss.com/>canadian viagra</a>

Suese

2018-03-22 21:17:48

real viagra online canadian pharmacy <a href="http://viagramestiksoss.com/">canadian viagra 5mg</a> canadian viagra prescription <a href=http://viagramestiksoss.com/>buy canadian viagra</a>

Suese

2018-03-22 21:45:54

canadian pharmacy viagra scam <a href="http://viagramestiksoss.com/">buy viagra online</a> canadian viagra 100mg <a href=http://viagramestiksoss.com/>canadian cheap viagra</a>

Suese

2018-03-22 22:14:41

online canadian pharmacy viagra <a href="http://viagramestiksoss.com/">buy canadian viagra</a> canadian viagra commercial <a href=http://viagramestiksoss.com/>buy canadian viagra</a>

Suese

2018-03-22 22:43:06

buy viagra online canadian <a href="http://viagramestiksoss.com/">cheap viagra online</a> order canadian viagra online <a href=http://viagramestiksoss.com/>buy canadian viagra</a>

Suese

2018-03-22 23:13:09

online canadian viagra <a href="http://viagramestiksoss.com/">canadian viagra 5mg</a> walmart canadian pharmacy viagra <a href=http://viagramestiksoss.com/>online viagra</a>

Suese

2018-03-22 23:43:52

cheap canadian viagra online <a href="http://viagramestiksoss.com/">canadian viagra</a> canadian pharmacy viagra pills <a href=http://viagramestiksoss.com/>generic viagra online</a>

Suese

2018-03-23 00:13:52

buy canadian viagra cheap <a href="http://viagramestiksoss.com/">viagra cheap</a> generic viagra canadian customs <a href=http://viagramestiksoss.com/>canadian viagra prices</a>

Suese

2018-03-23 00:42:30

cheap viagra online canadian pharmacy <a href="http://viagramestiksoss.com/">online viagra</a> viagra online canadian <a href=http://viagramestiksoss.com/>canadian cheap viagra</a>

Suese

2018-03-23 01:10:24

canadian pharmacy buy viagra <a href="http://viagramestiksoss.com/">canadian viagra prices</a> viagra generic canadian pharmacy <a href=http://viagramestiksoss.com/>viagra cheap</a>

Suese

2018-03-23 01:39:52

canadian online viagra <a href="http://viagramestiksoss.com/">canadian viagra 5mg</a> canadian viagra reviews <a href=http://viagramestiksoss.com/>canadian viagra prices</a>

Suese

2018-03-23 02:09:15

canadian viagra prescription <a href="http://viagramestiksoss.com/">canadian viagra 5mg</a> canadian viagra supplier <a href=http://viagramestiksoss.com/>buy viagra online</a>

Suese

2018-03-23 02:38:00

canadian mailorder viagra <a href="http://viagramestiksoss.com/">generic viagra online</a> is canadian viagra safe <a href=http://viagramestiksoss.com/>canadian viagra prices</a>

Suese

2018-03-23 03:08:05

canadian pharmacy cialis and viagra <a href="http://viagramestiksoss.com/">viagra analogi </a> viagra canadian pharmacy paypal <a href=http://viagramestiksoss.com/>viagra cialis levitra opinie </a>

Suese

2018-03-23 03:38:59

canadian viagra legit <a href="http://viagramestiksoss.com/">canadian viagra</a> viagra canadian pharmacy vipps approved <a href=http://viagramestiksoss.com/>canadian viagra sales</a>

Suese

2018-03-23 04:09:49

viagra sale from canadian company <a href="http://viagramestiksoss.com/">viagra cheap</a> canadian viagra legit <a href=http://viagramestiksoss.com/>online viagra</a>

Suese

2018-03-23 04:40:04

online viagra canadian pharmacy online <a href="http://viagramestiksoss.com/">canadian viagra sales</a> canadian viagra no prescription <a href=http://viagramestiksoss.com/>online viagra</a>

Suese

2018-03-23 05:10:54

canadian viagra review <a href="http://viagramestiksoss.com/">online viagra</a> canadian cheap viagra <a href=http://viagramestiksoss.com/>canadian viagra</a>

Suese

2018-03-23 05:42:24

order viagra online canadian pharmacy <a href="http://viagramestiksoss.com/">ce ii aia viagra </a> canadian pharmacies viagra <a href=http://viagramestiksoss.com/>cheap viagra online</a>

Suese

2018-03-23 06:19:00

are canadian generic viagra safe <a href="http://viagramestiksoss.com/">cheap viagra online</a> canadian pharmacy reviews viagra <a href=http://viagramestiksoss.com/>canadian viagra sales</a>

Suese

2018-03-23 07:01:32

canadian viagra commercial <a href="http://viagramestiksoss.com/">online viagra</a> canadian generis viagra <a href=http://viagramestiksoss.com/>como funciona la viagra femenina </a>

Suese

2018-03-23 07:45:19

canadian no prescription viagra <a href="http://viagramestiksoss.com/">buy canadian viagra</a> certified canadian viagra <a href=http://viagramestiksoss.com/>can you use viagra daily </a>

Suese

2018-03-23 08:28:10

buy canadian viagra <a href="http://viagramestiksoss.com/">buy generic viagra</a> canadian viagra accepts master card <a href=http://viagramestiksoss.com/>viagra cheap</a>

Suese

2018-03-23 09:10:48

viagra for canadians <a href="http://viagramestiksoss.com/">cheap viagra online</a> cheap canadian pfizer viagra <a href=http://viagramestiksoss.com/>canadian viagra</a>

Suese

2018-03-23 09:53:10

canadian meds store viagra <a href="http://viagramestiksoss.com/">canadian viagra</a> viagra superactive canadian no prescription <a href=http://viagramestiksoss.com/>viagra vs penegra </a>

Suese

2018-03-23 10:34:09

canadian viagra generic <a href="http://viagramestiksoss.com/">generic viagra online</a> canadian pharmacuticals generic viagra <a href=http://viagramestiksoss.com/>generic viagra online</a>

Suese

2018-03-23 11:17:06

viagra no prescription canadian <a href="http://viagramestiksoss.com/">viagra cheap</a> canadian pharmacy review viagra <a href=http://viagramestiksoss.com/>generic viagra online</a>

Suese

2018-03-23 12:04:18

best canadian pharmacy for viagra <a href="http://viagramestiksoss.com/">canadian viagra sales</a> canadian pharmacies buy viagra <a href=http://viagramestiksoss.com/>canadian viagra sales</a>

Suese

2018-03-23 12:53:58

canadian viagra online order <a href="http://viagramestiksoss.com/">buy viagra online</a> cheap viagra canadian pharmacies <a href=http://viagramestiksoss.com/>viagra cheap</a>

Suese

2018-03-23 13:42:45

online canadian pharmacy viagra echeck <a href="http://viagramestiksoss.com/">canadian viagra</a> canadian name brand viagra <a href=http://viagramestiksoss.com/>canadian viagra</a>

Suese

2018-03-23 14:30:54

canadian pharmacy for womans viagra <a href="http://viagramestiksoss.com/">online viagra</a> viagra canadian pharmacy prices <a href=http://viagramestiksoss.com/>canadian viagra</a>

Suese

2018-03-23 15:21:21

viagra online canadian no prescription <a href="http://viagramestiksoss.com/">viagra cheap</a> canadian viagra no prescription <a href=http://viagramestiksoss.com/>viagra cheap</a>

Suese

2018-03-23 16:12:18

canadian pharmacy viagra fake <a href="http://viagramestiksoss.com/">canadian viagra sales</a> viagra from canadian pharmacy <a href=http://viagramestiksoss.com/>canadian cheap viagra</a>

Suese

2018-03-23 17:01:25

discount canadian viagra <a href="http://viagramestiksoss.com/">canadian viagra</a> canadian viagra scam <a href=http://viagramestiksoss.com/>otros productos similares al viagra </a>

Suese

2018-03-23 17:35:47

viagra canadian pharmacy reviews <a href="http://viagramestiksoss.com/">cheap viagra online</a> canadian sources for viagra <a href=http://viagramestiksoss.com/>online viagra</a>

Suese

2018-03-23 18:05:40

canadian viagra pay by check <a href="http://viagramestiksoss.com/">canadian viagra prices</a> canadian online pharmacy viagra <a href=http://viagramestiksoss.com/>canadian viagra</a>

Suese

2018-03-23 18:34:05

canadian drugs viagra <a href="http://viagramestiksoss.com/">cheap viagra online</a> canadian pharmacy viagra pills <a href=http://viagramestiksoss.com/>efectos sobredosis de viagra </a>

Suese

2018-03-24 10:03:44

This message is posted here using XRumer + XEvil 4.0 XEvil 4.0 is a revolutionary application that can bypass any antibot protection. Captcha Bypass Google (ReCaptcha-1, ReCaptcha-2), Facebook, BING, Hotmail, Yahoo, Yandex, VKontakte, Captcha Com - and over 8400 other types! You read this - it means it works! ;) Details on the official website of XEvil, there is a free demo version. Check YouTube video "XEvil ReCaptcha2"

Suese

2018-03-24 16:35:17

This message is posted here using XRumer + XEvil 4.0 XEvil 4.0 is a revolutionary application that can solve any anti-bot CAPTCHA's. Captcha Recognition Google (ReCaptcha-1, ReCaptcha-2), Facebook, BING, Hotmail, Yahoo, Yandex, VKontakte, Captcha Com - and over 8400 other types! You read this - it means it works! ;) Details on the official website of XEvil, there is a free demo version. Check YouTube video "XEvil ReCaptcha2"

Suese

2018-04-13 23:17:02

levitra nombre comercial <a href="http://mylevitraok.com#">levitra 20mg</a> levitra nila tononkira laurent <a href=http://mylevitraok.com#levitra+20+mg>vardenafil 20mg</a> andy levitra highlights for hair

Suese

2018-04-14 07:18:19

levitra 40 mg effect <a href="http://myvardenafilok.com#">levitra prices</a> levitra levitinha <a href=http://myvardenafilok.com#levitra+generic>levitra 20 mg</a> cialis levitra comparison

Suese

2018-04-14 15:54:28

levitra camellia <a href="http://mylevitraok.com#">levitra 20 mg bayer prezzo</a> levitra flip pen <a href=http://myvardenafilok.com#levitra+generic>levitra 20mg</a> levitra twitter logo

Suese

2018-04-15 01:50:59

wie oft darf man levitra nehmen in english <a href="http://myvardenafilok.com#">generic levitra</a> koncepcja t levitra cost [URL=http://myvardenafilok.com#levitra+rezeptfrei+deutschland ]levitra 20 mg bayer prezzo[/URL] levitra administrarea

Suese

2018-04-15 14:15:13

levitra for sale in ireland <a href="http://mylevitraok.com#">levitra online</a> levitra 20mg preis schweiz <a href=http://myvardenafilok.com#levitra+generic>levitra rezeptfrei deutschland</a> levitra 10mg filmtabletten preis

Suese

2018-04-15 16:51:16

quel est le meilleur viagra cialis ou levitra vs cialis <a href="http://mylevitraok.com#">levitra coupon</a> levitra directions for use <a href=http://myvardenafilok.com#levitra+10+mg+prezzo>levitra 10 mg prezzo</a> janet aponte levitra guerrero boxer

Suese

2018-04-16 00:15:05

o levitra flavio mendoza <a href="http://myvardenafilok.com#">buy levitra</a> os levitra 2014 calendar <a href=http://mylevitraok.com#levitra+20+mg+bayer+prezzo>levitra coupon</a> levitra hidayat

Suese

2018-04-16 03:00:00

levitra en <a href="http://mylevitraok.com#">levitra coupon</a> levitra clip electromagnetismo experimentos <a href=http://myvardenafilok.com#levitra+20+mg+bayer+prezzo>buy levitra</a> levitra 10 mg filmtabletten wirkungsgeschichte

Suese

2018-04-18 19:41:30

binary option examples zigzag the complete guide unlock! <a href="http://options-platform-binary-try-best.pw/unicon-online-share-trading-2492.php#">bid on binary options trading robot software</a> scalping vs swing trading forex <a href=http://binary-options-best-platform-try.pw/binary-options-brokers-accept-bank-wires-bank-wire-deposit-options-2905.php>options trades today</a>

Suese

2018-04-19 09:22:11

ohad levitra omonoia24 <a href="http://mylevitraok.com">levitra 20 mg</a> levitra movies maringa parana <a href=http://levitra-gg.com#levitra+online>generic levitra</a>

Suese

2018-04-19 17:28:09

audio audio book buy edu feature guest levitra online site <a href="http://mylevitraok.com">generic levitra</a> levitra meaning of dreams <a href=http://levitra-gg.com#levitra+10+mg+prezzo>buy levitra</a>

Suese

2018-04-19 21:14:39

levitra discount walmart tires <a href="http://levitra-gg.com">levitra online</a> bula do medicamento cialis vs levitra <a href=http://levitra-gg.com#levitra+prices>vardenafil 20mg</a>

Suese

2018-04-20 01:01:34

andy levitra pro football focus player <a href="http://mylevitraok.com">vardenafil 20mg</a> levitra traje de novio blanco <a href=http://mylevitraok.com#levitra+coupon>levitra online</a>

Suese

2018-04-20 04:47:32

levitra side effects hearing <a href="http://mylevitraok.com">levitra coupon</a> comprar levitra generico no brasil <a href=http://myvardenafilok.com#levitra+20mg>levitra 10 mg prezzo</a>

Suese

2018-04-20 12:40:11

commentview, guid inurl levitra <a href="http://myvardenafilok.com">levitra 20 mg bayer prezzo</a> bulgarske levitra <a href=http://mylevitraok.com#levitra+20mg>buy levitra</a>

Suese

2018-04-20 16:37:36

ohad levitra rkc construction <a href="http://myvardenafilok.com">levitra 10 mg prezzo</a> levitra biblia cristiana nueva <a href=http://levitra-gg.com#levitra+20+mg+bayer+prezzo>levitra rezeptfrei deutschland</a>

Suese

2018-04-20 19:13:52

free levitra <a href="http://mylevitraok.com">levitra rezeptfrei deutschland</a> informacion sobre medicamento levitra <a href=http://myvardenafilok.com#levitra+10+mg+prezzo>levitra rezeptfrei deutschland</a>

Suese

2018-04-20 22:56:56

avanafil vs levitra side <a href="http://mylevitraok.com">levitra 20 mg bayer prezzo</a> os levitra 2013 oscar <a href=http://myvardenafilok.com#generic+levitra>levitra online</a>

Suese

2018-04-21 02:15:30

leyes de morfi levitra <a href="http://levitra-gg.com">levitra coupon</a> levitra orodispersibile recensioni <a href=http://mylevitraok.com#buy+levitra>levitra 20mg</a>

Suese

2018-04-21 05:37:37

andy levitra chargers news <a href="http://mylevitraok.com">levitra 20 mg bayer prezzo</a> levitra and bph <a href=http://levitra-gg.com#levitra+generic>levitra prices</a>