惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
V
Vulnerabilities – Threatpost
GbyAI
GbyAI
P
Proofpoint News Feed
L
LINUX DO - 热门话题
P
Palo Alto Networks Blog
A
About on SuperTechFans
T
Tenable Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
I
Intezer
D
DataBreaches.Net
爱范儿
爱范儿
T
Threatpost
C
CERT Recently Published Vulnerability Notes
云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
K
Kaspersky official blog
大猫的无限游戏
大猫的无限游戏
A
Arctic Wolf
Y
Y Combinator Blog
Cyberwarzone
Cyberwarzone
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
Spread Privacy
Spread Privacy
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
AWS News Blog
AWS News Blog
博客园 - 聂微东
C
Check Point Blog
S
Securelist
有赞技术团队
有赞技术团队
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
MongoDB | Blog
MongoDB | Blog
D
Docker
G
GRAHAM CLULEY
T
The Exploit Database - CXSecurity.com
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tailwind CSS Blog
L
Lohrmann on Cybersecurity
G
Google Developers Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LangChain Blog

博客园 - uu.Net

修改originate使chan_ss7信令传递原被叫 chan_ss7源码分析 chan_ss7中原被叫号码的传递 oracle循环插入数据用于测试 ORA-12154: TNS: 无法解析指定的连接标识符 JVM优化引起的逻辑错误 box & unbox scribefIre试用手记 mysql长连接和短连接的问题 tomcat入门 Tomcat5部署 logrotate---日志轮转 关于gcc的include问题 Centos 时间同步 How to create a gun c/c++ project modules的管理 asterisk上加载G729 codec MySQL C API的一次调用体验 - uu.Net FTP的主动和被动模式
使用windows route命令来控制双网卡,双网络访问
uu.Net · 2011-11-10 · via 博客园 - uu.Net

目前我的笔记本使用无线网络访问互联网,使用有线网络访问办公网络

无线网络的网关是117.128.108.1

办公网络的网关是10.16.30.254

在命令行下,输入route print可查看到所有的route 列表

要设置,首先删除掉原来的0.0.0.0的路由。

C:\Documents and Settings\Administrator>route delete 0.0.0.0

然后添加如下:

C:\Documents and Settings\Administrator>route add 10.0.13.0 mask 255.255.255.0 1

0.16.30.254 -p

C:\Documents and Settings\Administrator>route add 0.0.0.0 mask 0.0.0.0 117.128.1

08.1 -p

这时候查看路由表,-p的参数可以保证机器在重启后设置仍然生效.

===========================================================================

Persistent Routes:

  Network Address          Netmask  Gateway Address  Metric

       10.16.30.0    255.255.255.0     10.16.30.254       1

        10.0.13.0    255.255.255.0     10.16.30.254       1

          0.0.0.0          0.0.0.0    117.128.108.1       1

我们来测试一下:

访问办公网络

C:\Documents and Settings\Administrator>tracert 10.0.13.24

Tracing route to localhost [10.0.13.24]

over a maximum of 30 hops:

  1     2 ms     1 ms     1 ms  localhost [10.16.30.253]

  2     9 ms     9 ms    10 ms  localhost [10.3.255.33]

  3    12 ms     9 ms    11 ms  localhost [10.0.13.24]

Trace complete.

访问互联网:

C:\Documents and Settings\Administrator>tracert www.163.com

Tracing route to 163.xdwscache.glb0.lxdns.com [60.28.236.112]

over a maximum of 30 hops:

  1     2 ms     1 ms     2 ms  117.128.108.1

  2    23 ms     4 ms     6 ms  117.128.12.165

  3     6 ms     8 ms     4 ms  117.128.8.4

  4    17 ms     5 ms     5 ms  117.128.8.193