1、一般路由器应该有4个Lan口,首先用一根比较短的网线把一个lan口与internet口连在一起。
2、把路由器的DHCP关了,然后把路由器的Lan端的IP设成与小区内的IP不同样网段的局网IP。
3、最后手工设置你的电脑,把IP设成与你路由同一网段,把网关设成路由的Lan端的IP。
这样就可以上网了,当然这将包括所有的人都可以用这方法借用你家的路由上网。
为了能防止他人借用,页可以在路由中绑定MAC或设防火墙等方法。你说的不是很清楚,你说的"如果一条线路占用wan,另一个用路由器"你电脑是双网卡吗如果是的话,你可以一个网卡接路由器,用路由器来拨号;另一个网卡接ADSL直接拨号
至于你说的网通走网通的线,电信走电信的线,你可以在命令行模式下自己手动添加路由的。前提是要知道电信和网通分别有哪些地址下面给出的是网通的地址段,你可以做一条默认路由到电信的,下面的这些做详细路由(加路由的方式是在命令行模式下用route命令,具体可以用route /来查看。):
#60000 - 6010255255 CNCGROUP Hebei Province Network
#601200 - 6012255255 CNCGroup Zhejiang province network
#601300 - 601363255 CNCGroup Gansu province network
#60131280 - 6013255255 CNCGROUP XinJiang Province Network
#601600 - 6023255255 CNCGROUP Liaoning province network
#602400 - 6030255255 CNCGROUP Tianjin province network
#603100 - 6031255255 CNCGROUP Neimeng Province Network
#6020800 - 60217255255 CNCGROUP Shandong province network
#6022000 - 60223255255 CNCGROUP Shanxi Province Network
#614800 - 6151255255 CNCGROUP Beijing province network
#615200 - 6154255255 CNCGROUP Henan province network
#615500 - 6155255255 CNCGROUP Hebei province network
#6113300 - 61133127255 CNCGROUP Shandong province network
#61134960 - 61134127255 CNCGROUP Neimenggu province network
#6113500 - 61135255255 CNCGROUP Beijing province network
#61136640 - 61136127255 CNCGROUP Henan province network
#611371280 - 61137255255 CNCGROUP Liaoning province network
#6113800 - 6113863255 CNCGROUP Heilongjiang province network
#61138640 - 61138127255 CNCGROUP Neimenggu province network
#611381280 - 61138191255 CNCGROUP Jilin province network
#611391280 - 61139191255 CNCGROUP Jilin province network
#6114800 - 61149255255 CNCGROUP Beijing province network
#6115600 - 61156255255 CNCGROUP Shandong province network
#611581280 - 61158255255 CNCGROUP Henan province network
#6115900 - 6115963255 CNCGROUP Hebei province network
#6116100 - 6116163255 CNCGROUP Jilin province network
#611611280 - 61161255255 CNCGROUP Liaoning province network
#6116200 - 61162255255 CNCGROUP Shandong province network
#6116300 - 61163255255 CNCGROUP Henan province network
#6116700 - 61167255255 CNCGROUP Heilongjiang province network
#6116800 - 61168255255 CNCGROUP Henan province network
#6117600 - 61176255255 CNCGROUP Liaoning province network
#6117900 - 61179255255 CNCGROUP Shandong province network
#611801280 - 61180255255 CNCGROUP Heilongjiang province network
#6118100 - 61181255255 CNCGROUP Tianjin province network
#6118200 - 61182255255 CNCGROUP Hebei province network
#6118900 - 61189127255 CNCGROUP Liaoning province network
#2029600 - 2029663255 CNCGROUP Beijing province network
#20296640 - 2029695255 CNCGROUP Liaoning province network
#202971280 - 20297159255 CNCGROUP Shanxi province network
#202971600 - 20297191255 CNCGROUP Liaoning province network
#202971920 - 20297255255 CNCGROUP Heilongjiang province network
#2029800 - 2029831255 CNCGROUP Jilin province network
#2029900 - 2029963255 CNCGROUP Beijing province network
#20299640 - 20299127255 CNCGROUP Tianjin province network
#202991280 - 20299191255 CNCGROUP Hebei province network
#202991920 - 20299223255 CNCGROUP Shanxi province network
#202992240 - 20299255255 CNCGROUP Neimenggu province network
#2021021280 - 202102191255 CNCGROUP Shandong province network
#2021022240 - 202102255255 CNCGROUP Henan province network
#20210600 - 202106255255 CNCGROUP Beijing province network
#20210700 - 202107127255 CNCGROUP Liaoning province network
#20210800 - 202108255255 CNCGROUP Beijing province network
#20211000 - 20211063255 CNCGROUP Liaoning province network
#202110640 - 202110127255 CNCGROUP Henan province network
#2021101920 - 202110255255 CNCGROUP Shandong Province Network
#2021111280 - 202111159255 CNCGROUP Henan province network
#2021111600 - 202111191255 CNCGROUP Jilin province network
#218700 - 21810255255 CNCGROUP Heilongjiang province network
#2181100 - 21812255255 CNCGROUP Hebei province network
#2182400 - 21825255255 CNCGROUP Liaoning province network
#2182600 - 21826255255 CNCGROUP Shanxi province network
#2182700 - 21827255255 CNCGROUP Jilin province network
#2182800 - 21829255255 CNCGROUP Henan province network
#2185600 - 21859255255 CNCGROUP Shandong province network
#2186000 - 21861255255 CNCGROUP Liaoning province network
#218671280 - 21869255255 CNCGROUP Tianjin province network
#221000 - 2213127255 CNCGROUP Shandong province network
#22131280 - 2213255255 CNCGroup Yunnan province network
#221400 - 2215127255 CNCGroup Guangdong province network
#22151280 - 2215255255 CNCGroup Chongqing province network
#221600 - 2216255255 CNCGroup Jiangsu province network
#221700 - 221731255 CNCGroup Xinjiang province network
#2217320 - 221763255 CNCGroup Gansu province network
#2217640 - 221795255 CNCGroup Chongqing province network
#22171280 - 2217255255 CNCGroup Guangxi province network
#221800 - 2219255255 CNCGroup JILIN province network
#2211000 - 22110255255 CNCGroup SiChuan province network
#2211100 - 22111127255 CNCGroup Shannxi province network
#221111280 - 22111223255 CNCGroup Hainan province network
#2211200 - 22112191255 CNC Group Zhejiang province network
#2211300 - 2211363255 CNC Group Guizhou province network
#22113640 - 2211395255 CNC Group Xizang province network
#221131280 - 22115255255 CNCGROUP Henan Province Network
#22119200 - 221195255255 CNCGROUP Hebei Province Network
#22119600 - 221198255255 CNCGROUP Tianjin Province Network
#22119900 - 22119947255 CNC Group Ningxia province network
#2211991280 - 221199207255 CNCGROUP Neimeng Province Network
#22120000 - 221203255255 CNCGROUP Liaoning Province Network
#22120400 - 221205255255 CNCGROUP Shanxi Province Network
#22120700 - 22120763255 CNC Group QingHai province network
#22120800 - 221212255255 CNCGROUP Heilongjiang Province Network
#22121300 - 221213255255 CNC Group Yunnan province network
#22121600 - 221223255255 CNCGROUP Beijing province network
#22212800 - 222131255255 CNCGROUP Beijing province network
#22213200 - 222135255255 CNCGROUP Shandong province network
#22213600 - 222143255255 CNCGROUP Henan province network
#22216000 - 22216331255 CNCGROUP Jilin province network
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)