常州五颜六色网络技术有限公司 -> 技术文档 -> freebsd下添加双线静态路由 登录 -> 注册 -> 回复主题 -> 发表主题

deserts 2007-09-28 23:45
折腾了n久,最后还是客户帮着解决的,看来还有很多东西需要学习,下面是路由表 ,在添加完毕电信网通的ip之后,把下面的内容粘贴到 /etc/rc.conf 里面去,另外附加一点,添加ip的时候最好是单网卡双ip,不要双网卡双ip,不然会报arp错误,虽然不耽误使用,但是挺烦人的

下面是网通路由表,可以根据需要再添加

# Add Internal Net CNC as a static route
static_routes="1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248"
route_1="-net 58.16.0.0/16 124.128.157.65"
route_2="-net 58.17.0.0/17 124.128.157.65"
route_3="-net 58.17.128.0/17 124.128.157.65"
route_4="-net 58.18.0.0/16 124.128.157.65"
route_5="-net 58.19.0.0/16 124.128.157.65"
route_6="-net 58.20.0.0/16 124.128.157.65"
route_7="-net 58.21.0.0/16 124.128.157.65"
route_8="-net 58.22.0.0/15 124.128.157.65"
route_9="-net 58.240.0.0/15 124.128.157.65"
route_10="-net 58.242.0.0/15 124.128.157.65"
route_11="-net 58.244.0.0/15 124.128.157.65"
route_12="-net 58.246.0.0/15 124.128.157.65"
route_13="-net 58.248.0.0/13 124.128.157.65"
route_14="-net 60.0.0.0/13 124.128.157.65"
route_15="-net 60.8.0.0/15 124.128.157.65"
route_16="-net 60.10.0.0/16 124.128.157.65"
route_17="-net 60.11.0.0/16 124.128.157.65"
route_18="-net 60.12.0.0/16 124.128.157.65"
route_19="-net 60.13.0.0/18 124.128.157.65"
route_20="-net 60.13.128.0/17 124.128.157.65"
route_21="-net 60.14.0.0/15 124.128.157.65"
route_22="-net 60.16.0.0/13 124.128.157.65"
route_23="-net 60.24.0.0/14 124.128.157.65"
route_24="-net 60.28.0.0/15 124.128.157.65"
route_25="-net 60.30.0.0/16 124.128.157.65"
route_26="-net 60.31.0.0/16 124.128.157.65"
route_27="-net 60.55.0.0/16 124.128.157.65"
route_28="-net 60.208.0.0/13 124.128.157.65"
route_29="-net 60.216.0.0/15 124.128.157.65"
route_30="-net 60.218.0.0/15 124.128.157.65"
route_31="-net 60.220.0.0/14 124.128.157.65"
route_32="-net 60.255.0.0/16 124.128.157.65"
route_33="-net 61.48.0.0/14 124.128.157.65"
route_34="-net 61.52.0.0/15 124.128.157.65"
route_35="-net 61.54.0.0/16 124.128.157.65"
route_36="-net 61.55.0.0/16 124.128.157.65"
route_37="-net 61.133.0.0/17 124.128.157.65"
route_38="-net 61.134.96.0/19 124.128.157.65"
route_39="-net 61.134.128.0/18 124.128.157.65"
route_40="-net 61.134.192.0/18 124.128.157.65"
route_41="-net 61.135.0.0/16 124.128.157.65"
route_42="-net 61.136.0.0/18 124.128.157.65"
route_43="-net 61.136.64.0/18 124.128.157.65"
route_44="-net 61.137.128.0/17 124.128.157.65"
route_45="-net 61.138.0.0/18 124.128.157.65"
route_46="-net 61.138.64.0/18 124.128.157.65"
route_47="-net 61.138.128.0/18 124.128.157.65"
route_48="-net 61.139.128.0/18 124.128.157.65"
route_49="-net 61.148.0.0/15 124.128.157.65"
route_50="-net 61.156.0.0/16 124.128.157.65"
route_51="-net 61.158.0.0/17 124.128.157.65"
route_52="-net 61.158.128.0/17 124.128.157.65"
route_53="-net 61.159.0.0/18 124.128.157.65"
route_54="-net 61.161.0.0/18 124.128.157.65"
route_55="-net 61.161.128.0/17 124.128.157.65"
route_56="-net 61.162.0.0/16 124.128.157.65"
route_57="-net 61.163.0.0/16 124.128.157.65"
route_58="-net 61.167.0.0/16 124.128.157.65"
route_59="-net 61.168.0.0/16 124.128.157.65"
route_60="-net 61.176.0.0/16 124.128.157.65"
route_61="-net 61.179.0.0/16 124.128.157.65"
route_62="-net 61.180.128.0/17 124.128.157.65"
route_63="-net 61.181.0.0/16 124.128.157.65"
route_64="-net 61.182.0.0/16 124.128.157.65"
route_65="-net 61.189.0.0/17 124.128.157.65"
route_66="-net 124.21.0.0/20 124.128.157.65"
route_67="-net 124.21.16.0/20 124.128.157.65"
route_68="-net 124.21.32.0/19 124.128.157.65"
route_69="-net 124.21.64.0/18 124.128.157.65"
route_70="-net 124.21.128.0/17 124.128.157.65"
route_71="-net 124.64.0.0/15 124.128.157.65"
route_72="-net 124.88.0.0/16 124.128.157.65"
route_73="-net 124.89.0.0/17 124.128.157.65"
route_74="-net 124.89.128.0/17 124.128.157.65"
route_75="-net 124.90.0.0/15 124.128.157.65"
route_76="-net 124.92.0.0/14 124.128.157.65"
route_77="-net 124.128.0.0/13 124.128.157.65"
route_78="-net 124.160.0.0/16 124.128.157.65"
route_79="-net 125.32.0.0/16 124.128.157.65"
route_80="-net 125.33.0.0/16 124.128.157.65"
route_81="-net 125.34.0.0/16 124.128.157.65"
route_82="-net 125.35.0.0/17 124.128.157.65"
route_83="-net 125.35.128.0/17 124.128.157.65"
route_84="-net 125.36.0.0/14 124.128.157.65"
route_85="-net 125.40.0.0/13 124.128.157.65"
route_86="-net 159.226.0.0/16 124.128.157.65"
route_87="-net 202.38.143.0/24 124.128.157.65"
route_88="-net 202.74.8.0/21 124.128.157.65"
route_89="-net 202.75.208.0/20 124.128.157.65"
route_90="-net 202.96.0.0/18 124.128.157.65"
route_91="-net 202.96.64.0/21 124.128.157.65"
route_92="-net 202.96.72.0/21 124.128.157.65"
route_93="-net 202.96.80.0/20 124.128.157.65"
route_94="-net 202.97.128.0/18 124.128.157.65"
route_95="-net 202.97.192.0/19 124.128.157.65"
route_96="-net 202.97.224.0/21 124.128.157.65"
route_97="-net 202.97.232.0/21 124.128.157.65"
route_98="-net 202.97.240.0/20 124.128.157.65"
route_99="-net 202.98.0.0/21 124.128.157.65"
route_100="-net 202.98.8.0/21 124.128.157.65"
route_101="-net 202.98.16.0/20 124.128.157.65"
route_102="-net 202.99.0.0/18 124.128.157.65"
route_103="-net 202.99.64.0/19 124.128.157.65"
route_104="-net 202.99.96.0/21 124.128.157.65"
route_105="-net 202.99.104.0/21 124.128.157.65"
route_106="-net 202.99.112.0/20 124.128.157.65"
route_107="-net 202.99.128.0/19 124.128.157.65"
route_108="-net 202.99.160.0/21 124.128.157.65"
route_109="-net 202.99.168.0/21 124.128.157.65"
route_110="-net 202.99.176.0/20 124.128.157.65"
route_111="-net 202.99.192.0/21 124.128.157.65"
route_112="-net 202.99.200.0/21 124.128.157.65"
route_113="-net 202.99.208.0/20 124.128.157.65"
route_114="-net 202.99.224.0/21 124.128.157.65"
route_115="-net 202.99.232.0/21 124.128.157.65"
route_116="-net 202.99.240.0/20 124.128.157.65"
route_117="-net 202.102.128.0/21 124.128.157.65"
route_118="-net 202.102.136.0/21 124.128.157.65"
route_119="-net 202.102.144.0/20 124.128.157.65"
route_120="-net 202.102.160.0/19 124.128.157.65"
route_121="-net 202.102.224.0/21 124.128.157.65"
route_122="-net 202.102.232.0/21 124.128.157.65"
route_123="-net 202.102.240.0/20 124.128.157.65"
route_124="-net 202.106.0.0/16 124.128.157.65"
route_125="-net 202.107.0.0/17 124.128.157.65"
route_126="-net 202.108.0.0/16 124.128.157.65"
route_127="-net 202.110.0.0/18 124.128.157.65"
route_128="-net 202.110.64.0/18 124.128.157.65"
route_129="-net 202.110.192.0/18 124.128.157.65"
route_130="-net 202.111.128.0/19 124.128.157.65"
route_131="-net 202.111.160.0/19 124.128.157.65"
route_132="-net 202.127.112.0/20 124.128.157.65"
route_133="-net 202.127.194.0/23 124.128.157.65"
route_134="-net 202.130.224.0/19 124.128.157.65"
route_135="-net 203.93.8.0/24 124.128.157.65"
route_136="-net 203.93.192.0/18 124.128.157.65"
route_137="-net 203.135.160.0/20 124.128.157.65"
route_138="-net 203.166.160.0/19 124.128.157.65"
route_139="-net 203.175.192.0/18 124.128.157.65"
route_140="-net 210.13.128.0/17 124.128.157.65"
route_141="-net 210.14.160.0/19 124.128.157.65"
route_142="-net 210.14.192.0/19 124.128.157.65"
route_143="-net 210.15.32.0/19 124.128.157.65"
route_144="-net 210.15.96.0/19 124.128.157.65"
route_145="-net 210.15.128.0/18 124.128.157.65"
route_146="-net 210.21.0.0/16 124.128.157.65"
route_147="-net 210.22.0.0/16 124.128.157.65"
route_148="-net 210.51.0.0/16 124.128.157.65"
route_149="-net 210.52.64.0/18 124.128.157.65"
route_150="-net 210.52.128.0/17 124.128.157.65"
route_151="-net 210.53.0.0/17 124.128.157.65"
route_152="-net 210.53.128.0/17 124.128.157.65"
route_153="-net 210.74.96.0/19 124.128.157.65"
route_154="-net 210.74.128.0/19 124.128.157.65"
route_155="-net 210.78.0.0/19 124.128.157.65"
route_156="-net 210.82.0.0/15 124.128.157.65"
route_157="-net 211.144.0.0/15 124.128.157.65"
route_158="-net 218.7.0.0/16 124.128.157.65"
route_159="-net 218.8.0.0/15 124.128.157.65"
route_160="-net 218.10.0.0/16 124.128.157.65"
route_161="-net 218.11.0.0/16 124.128.157.65"
route_162="-net 218.12.0.0/16 124.128.157.65"
route_163="-net 218.21.128.0/17 124.128.157.65"
route_164="-net 218.24.0.0/15 124.128.157.65"
route_165="-net 218.26.0.0/16 124.128.157.65"
route_166="-net 218.27.0.0/16 124.128.157.65"
route_167="-net 218.28.0.0/15 124.128.157.65"
route_168="-net 218.56.0.0/14 124.128.157.65"
route_169="-net 218.60.0.0/15 124.128.157.65"
route_170="-net 218.62.0.0/17 124.128.157.65"
route_171="-net 218.67.128.0/17 124.128.157.65"
route_172="-net 218.68.0.0/15 124.128.157.65"
route_173="-net 218.104.0.0/17 124.128.157.65"
route_174="-net 218.104.128.0/19 124.128.157.65"
route_175="-net 218.104.160.0/19 124.128.157.65"
route_176="-net 218.104.192.0/21 124.128.157.65"
route_177="-net 218.104.200.0/21 124.128.157.65"
route_178="-net 218.104.208.0/20 124.128.157.65"
route_179="-net 218.104.224.0/19 124.128.157.65"
route_180="-net 218.105.0.0/16 124.128.157.65"
route_181="-net 218.106.0.0/15 124.128.157.65"
route_182="-net 219.154.0.0/15 124.128.157.65"
route_183="-net 219.156.0.0/15 124.128.157.65"
route_184="-net 219.158.0.0/17 124.128.157.65"
route_185="-net 219.158.128.0/17 124.128.157.65"
route_186="-net 219.159.0.0/18 124.128.157.65"
route_187="-net 219.232.0.0/14 124.128.157.65"
route_188="-net 220.248.0.0/14 124.128.157.65"
route_189="-net 220.252.0.0/16 124.128.157.65"
route_190="-net 221.0.0.0/15 124.128.157.65"
route_191="-net 221.2.0.0/16 124.128.157.65"
route_192="-net 221.3.0.0/17 124.128.157.65"
route_193="-net 221.3.128.0/17 124.128.157.65"
route_194="-net 221.4.0.0/16 124.128.157.65"
route_195="-net 221.5.0.0/17 124.128.157.65"
route_196="-net 221.5.128.0/17 124.128.157.65"
route_197="-net 221.6.0.0/16 124.128.157.65"
route_198="-net 221.7.0.0/19 124.128.157.65"
route_199="-net 221.7.32.0/19 124.128.157.65"
route_200="-net 221.7.64.0/19 124.128.157.65"
route_201="-net 221.7.96.0/19 124.128.157.65"
route_202="-net 221.7.128.0/17 124.128.157.65"
route_203="-net 221.8.0.0/15 124.128.157.65"
route_204="-net 221.10.0.0/16 124.128.157.65"
route_205="-net 221.11.0.0/17 124.128.157.65"
route_206="-net 221.11.128.0/18 124.128.157.65"
route_207="-net 221.11.192.0/19 124.128.157.65"
route_208="-net 221.11.224.0/19 124.128.157.65"
route_209="-net 221.12.0.0/17 124.128.157.65"
route_210="-net 221.12.128.0/18 124.128.157.65"
route_211="-net 221.13.0.0/18 124.128.157.65"
route_212="-net 221.13.64.0/19 124.128.157.65"
route_213="-net 221.13.96.0/19 124.128.157.65"
route_214="-net 221.13.128.0/17 124.128.157.65"
route_215="-net 221.14.0.0/15 124.128.157.65"
route_216="-net 221.136.0.0/16 124.128.157.65"
route_217="-net 221.192.0.0/15 124.128.157.65"
route_218="-net 221.194.0.0/16 124.128.157.65"
route_219="-net 221.195.0.0/16 124.128.157.65"
route_220="-net 221.196.0.0/15 124.128.157.65"
route_221="-net 221.198.0.0/16 124.128.157.65"
route_222="-net 221.199.0.0/19 124.128.157.65"
route_223="-net 221.199.32.0/20 124.128.157.65"
route_224="-net 221.199.48.0/20 124.128.157.65"
route_225="-net 221.199.64.0/18 124.128.157.65"
route_226="-net 221.199.128.0/18 124.128.157.65"
route_227="-net 221.199.192.0/20 124.128.157.65"
route_228="-net 221.200.0.0/14 124.128.157.65"
route_229="-net 221.204.0.0/15 124.128.157.65"
route_230="-net 221.206.0.0/16 124.128.157.65"
route_231="-net 221.207.0.0/18 124.128.157.65"
route_232="-net 221.207.64.0/18 124.128.157.65"
route_233="-net 221.207.128.0/17 124.128.157.65"
route_234="-net 221.208.0.0/14 124.128.157.65"
route_235="-net 221.212.0.0/16 124.128.157.65"
route_236="-net 221.213.0.0/16 124.128.157.65"
route_237="-net 221.214.0.0/15 124.128.157.65"
route_238="-net 221.216.0.0/13 124.128.157.65"
route_239="-net 222.128.0.0/14 124.128.157.65"
route_240="-net 222.132.0.0/14 124.128.157.65"
route_241="-net 222.136.0.0/13 124.128.157.65"
route_242="-net 222.160.0.0/15 124.128.157.65"
route_243="-net 222.162.0.0/16 124.128.157.65"
route_244="-net 222.163.0.0/19 124.128.157.65"
route_245="-net 222.163.32.0/19 124.128.157.65"
route_246="-net 222.163.64.0/18 124.128.157.65"
route_247="-net 222.163.128.0/17 124.128.157.65"
route_248="-net 123.232.0.0/16 124.128.157.65"

deserts 2007-09-28 23:46
ifconfig_rl0_alias0="inet 111.111.1.1 netmask 255.255.255.0"


查看完整版本: [-- freebsd下添加双线静态路由 --] [-- top --]



Copyright © 2005-2014 5y6s Inc. 苏ICP备05001866号 Powered by PHPWind 5.0.1
Time 0.014391 second(s),query:4 Gzip enabled