Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3926769
  • 博文数量: 421
  • 博客积分: 685
  • 博客等级: 上将
  • 技术积分: 3670
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-18 14:20
文章分类

全部博文(421)

文章存档

2012年(5)

2011年(52)

2010年(83)

2009年(67)

2008年(65)

2007年(149)

分类: 系统运维

2009-06-23 09:01:21


【需要更多资料?欢迎访问Google为您精心推荐的网站~】

鉴于国内网络运营商有电信、网通、教育网...虽然互联互通了N年,但跨运营商的访问明显还是,因此很多服务器都采取了双线的方式。

以下是常见的网通路由,现在改名叫联通了,常见的联通网段路由配置,让来自联通的地址走联通的网关221.5.43.1,默认网关是电信的。


常见的双线路由服务器网通条目配置:

up route add -net 202.14.88.0   netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.14.238.0  netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 218.60.35.0   netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.20.120.0  netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.14.235.0  netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 160.33.66.0   netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.3.77.0    netmask 255.255.255.0 gw 221.5.43.1 eth0
up route add -net 202.14.236.0  netmask 255.255.254.0 gw 221.5.43.1 eth0
up route add -net 202.136.252.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 203.89.0.0    netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.95.252.0  netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.91.128.0  netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.63.248.0  netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.92.252.0  netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.91.0.0    netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.93.252.0  netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 159.153.120.0 netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.69.4.0    netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 202.92.0.0    netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 58.83.4.0     netmask 255.255.252.0 gw 221.5.43.1 eth0
up route add -net 203.95.0.0    netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 202.41.152.0  netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 202.22.248.0  netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 122.102.0.0   netmask 255.255.248.0 gw 221.5.43.1 eth0
up route add -net 202.131.48.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 210.5.32.0    netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.131.16.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 61.4.64.0     netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.143.16.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.142.16.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.91.176.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 211.147.176.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.85.208.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 210.5.128.0   netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.75.208.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.46.224.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.136.224.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.136.208.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.123.96.0  netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 202.131.208.0 netmask 255.255.240.0 gw 221.5.43.1 eth0
up route add -net 123.103.0.0   netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 210.5.0.0     netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.98.0.0    netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.147.192.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 219.234.96.0  netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.149.224.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.155.0.0   netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.147.64.0  netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 219.232.160.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.168.160.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.102.224.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.95.0.0    netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 121.100.128.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.10.64.0   netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.148.192.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 61.134.96.0   netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 203.94.0.0    netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 203.88.32.0   netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 203.86.64.0   netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.130.224.0 netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 211.144.0.0   netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.148.96.0  netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 202.94.0.0    netmask 255.255.224.0 gw 221.5.43.1 eth0
up route add -net 210.87.128.0  netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.96.0.0    netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 219.159.0.0   netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.159.0.0    netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.139.128.0  netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.16.128.0  netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 211.144.192.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 211.144.64.0  netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.138.128.0  netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.47.128.0   netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 122.198.192.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.110.192.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.102.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.15.128.0  netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.14.64.0   netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 210.2.0.0     netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 61.161.0.0    netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 202.111.128.0 netmask 255.255.192.0 gw 221.5.43.1 eth0
up route add -net 218.62.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 124.249.0.0   netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.138.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.97.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 210.15.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 218.21.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 211.155.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.137.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.136.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.128.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.107.0.0   netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 210.14.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.161.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.28.0.0     netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 124.89.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 125.58.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 211.156.128.0 netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.134.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.180.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.133.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.110.0.0   netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 218.67.128.0  netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 61.189.0.0    netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 211.150.0.0   netmask 255.255.128.0 gw 221.5.43.1 eth0
up route add -net 202.99.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 202.106.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 12.107.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 202.108.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 213.136.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 218.243.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 64.4.0.0      netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 208.172.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.197.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 63.218.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 220.252.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.153.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.154.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.157.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 203.93.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.158.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 222.248.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 211.146.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 159.226.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 202.38.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.167.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.168.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 159.148.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.179.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.176.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.182.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.181.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 206.24.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 212.204.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.135.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 207.46.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 219.158.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.158.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.156.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.51.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 208.28.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.21.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.22.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 222.125.0.0   netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 66.187.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 219.82.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 60.55.0.0     netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 218.7.0.0     netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 210.78.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 218.12.0.0    netmask 255.255.0.0 gw 221.5.43.1 eth0
up route add -net 61.162.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.68.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.96.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 124.90.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 221.122.0.0   netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.12.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.108.0.0   netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.76.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 122.96.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 61.236.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 219.154.0.0   netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.52.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 221.136.0.0   netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 210.82.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 219.156.0.0   netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 61.148.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 222.248.0.0   netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.248.0.0   netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.60.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 218.28.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 124.64.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 124.66.0.0    netmask 255.254.0.0 gw 221.5.43.1 eth0
up route add -net 123.4.0.0     netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 122.192.0.0   netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 61.232.0.0    netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 211.160.0.0   netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.104.0.0   netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 121.68.0.0    netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.244.0.0   netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.56.0.0    netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 124.92.0.0    netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 222.160.0.0   netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 220.112.0.0   netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 220.248.0.0   netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 210.72.0.0    netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.8.0.0     netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 218.24.0.0    netmask 255.252.0.0 gw 221.5.43.1 eth0
up route add -net 124.88.0.0    netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 218.200.0.0   netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 123.8.0.0     netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 58.16.0.0     netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 61.48.0.0     netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 124.160.0.0   netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 124.128.0.0   netmask 255.248.0.0 gw 221.5.43.1 eth0
up route add -net 58.240.0.0    netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 60.208.0.0    netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 222.128.0.0   netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 121.16.0.0    netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 125.32.0.0    netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 221.0.0.0     netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 211.80.0.0    netmask 255.240.0.0 gw 221.5.43.1 eth0
up route add -net 221.192.0.0   netmask 255.224.0.0 gw 221.5.43.1 eth0
up route add -net 60.0.0.0      netmask 255.224.0.0 gw 221.5.43.1 eth0

以下这些博文,你可能同样感兴趣:

    
阅读(3263) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~