2008-03-07
双ip路由策略选择
关键字: windows
要求:机器正常网关走192.168.199.1,如果到教育网(现在说的是59.64.0.0)则走另外一个网关:
命令:
route -p add 59.64.0.0 255.255.0.0 59.64.x.1
-p参数保证机器restart后路由仍然生效。
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 11 09 ed df fc ...... VIA Compatable Fast Ethernet Adapter - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.199.1 59.64.x.y 20
59.64.0.0 255.255.0.0 59.64.176.1 59.64.x.y 1
59.64.176.0 255.255.255.192 59.64.x.y 59.64.x.y 20
59.64.x.y 255.255.255.255 127.0.0.1 127.0.0.1 20
59.255.255.255 255.255.255.255 59.64.x.y 59.64.x.y 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.199.0 255.255.255.0 192.168.199.103 59.64.x.y 20
192.168.199.103 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.199.255 255.255.255.255 192.168.199.103 59.64.x.y 20
210.5.152.74 255.255.255.255 192.168.199.1 59.64.x.y 20
224.0.0.0 240.0.0.0 59.64.x.y 59.64.x.y 20
255.255.255.255 255.255.255.255 59.64.x.y 59.64.x.y 1
Default Gateway: 192.168.199.1
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
59.64.0.0 255.255.0.0 59.64.x.1 1
命令:
route -p add 59.64.0.0 255.255.0.0 59.64.x.1
-p参数保证机器restart后路由仍然生效。
引用
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 11 09 ed df fc ...... VIA Compatable Fast Ethernet Adapter - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.199.1 59.64.x.y 20
59.64.0.0 255.255.0.0 59.64.176.1 59.64.x.y 1
59.64.176.0 255.255.255.192 59.64.x.y 59.64.x.y 20
59.64.x.y 255.255.255.255 127.0.0.1 127.0.0.1 20
59.255.255.255 255.255.255.255 59.64.x.y 59.64.x.y 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.199.0 255.255.255.0 192.168.199.103 59.64.x.y 20
192.168.199.103 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.199.255 255.255.255.255 192.168.199.103 59.64.x.y 20
210.5.152.74 255.255.255.255 192.168.199.1 59.64.x.y 20
224.0.0.0 240.0.0.0 59.64.x.y 59.64.x.y 20
255.255.255.255 255.255.255.255 59.64.x.y 59.64.x.y 1
Default Gateway: 192.168.199.1
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
59.64.0.0 255.255.0.0 59.64.x.1 1
发表评论
- 浏览: 1360 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
根据链接判断用户是否登录 ...
建议 if request.path.startswith("/operate" ...
-- by duka -
根据链接判断用户是否登录 ...
我用的是基于数据库的session,怎么做到关闭浏览器后,session就失效?
-- by hama -
根据链接判断用户是否登录 ...
可以在setting里面设置SESSION_COOKIE_AGE(单位:秒),缺 ...
-- by hellas -
根据链接判断用户是否登录 ...
在Java里的web.xml设置<session-config> ...
-- by andrewleung -
jQuery的DOM操作真是太方 ...
那是你写的树有问题吧。大树展开的时候用ajax,展开后缓存
-- by hanyh






评论排行榜