|
楼主 |
发表于 2006-12-15 10:19:05
|
显示全部楼层
由于这段时间太忙了把这事给忘了实在是不好意思出在把方法说一下~
由于pfsense 和m0n0都不支持双ADSL所以用到了两个m0n0路由(pfsense和m0n0一设置是一样的)
先说设置,
主路由192.168.0.1/24
从路由192.168.0.2/24
主路由设置:
1点击 网络接口(指派)当然这么做前确定你给机器安装上第三块网卡,将第三块网卡指定为OPT1.
2点击 网络接口-->OPT1 将OPT1起用,由于我使用了两个路由,所以OPT1改为DHCP方式.
2点击 防火墙-->NAT (图是转自m0n0china hgbhyx 的配图,连接:http://www.m0n0china.org/viewthr ... &extra=page%3D1,实在是没有时间抓图)
3点击 系统-->静太路由 我把电信的路由表给搞好了直接就能用~不太全.
<route>
<interface>opt1</interface>
<network>电信IP段/子网掩码</network>
<gateway>电信路由网关</gateway>
<descr>outbound->OPT1</descr>
</route>
<route>
<interface>opt1</interface>
<network>121.204.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>121.224.0.0/12</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>121.32.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>121.56.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>121.58.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>121.60.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>121.8.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>122.4.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.112.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.114.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.116.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.117.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.118.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.224.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.225.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.226.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.228.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.232.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.234.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.236.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.72.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.73.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.74.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>124.76.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.104.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.112.0.0/12</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.64.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.72.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.73.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.74.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.76.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.76.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.77.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.78.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.80.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>125.88.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.104.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.112.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.136.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.160.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.168.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.176.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.192.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.208.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.224.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.100.96.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.101.0.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.101.128.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.101.224.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.101.64.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.101.96.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.102.0.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.102.32.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.102.64.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.103.0.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.103.16.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.103.192.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.103.224.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.103.32.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.103.8.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.103.96.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.104.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.107.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.109.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.110.128.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.111.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.104.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.112.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.128.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.136.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.144.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.160.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.168.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.176.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.200.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.208.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.224.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.96.96.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.97.0.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.97.112.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.97.16.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.97.32.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.97.64.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.97.8.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.97.96.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.128.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.160.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.168.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.192.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.200.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.208.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.224.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.232.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.240.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.32.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.48.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.64.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.98.96.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>202.99.192.0/21</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>210.192.96.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.1.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.13.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.14.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.16.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.2.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.20.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.21.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.22.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.30.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.4.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.6.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.62.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.63.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.64.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.66.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.67.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.70.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.72.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.76.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.78.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.80.0.0/12</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>218.88.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.128.0.0/12</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.144.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.148.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.149.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.149.128.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.149.192.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.150.0.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.150.112.0/20</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.150.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.150.32.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.150.64.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.151.0.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.151.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.151.32.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.151.64.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.152.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.159.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>219.159.64.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>220.160.0.0/11</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>221.224.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>221.232.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>221.236.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>221.238.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>221.239.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>221.239.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.168.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.172.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.172.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.173.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.174.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.176.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.184.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.208.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.216.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.218.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.219.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.220.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.222.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.240.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.72.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.74.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.75.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.76.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.80.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.82.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.83.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.83.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.84.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.85.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.85.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.86.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.88.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.90.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>222.92.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.208.0.0/12</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.32.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.40.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.42.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.43.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.44.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.48.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.56.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.58.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.59.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.59.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>58.60.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.172.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.32.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.40.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.42.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.43.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.44.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.48.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.49.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.49.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.50.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.51.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.51.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.52.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.56.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.60.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>59.62.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>60.160.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>60.162.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>60.164.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>60.166.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>60.168.0.0/13</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>60.176.0.0/12</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>60.235.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.132.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.133.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.134.0.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.134.64.0/19</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.136.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.137.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.138.192.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.139.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.139.192.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.140.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.144.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.152.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.154.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.157.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.159.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.159.64.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.160.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.161.64.0/18</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.164.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.165.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.166.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.169.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.170.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.172.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.177.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.178.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.180.0.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.183.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.184.0.0/14</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.188.0.0/16</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.189.128.0/17</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
<route>
<interface>opt1</interface>
<network>61.190.0.0/15</network>
<gateway>192.168.0.2</gateway>
<descr/>
</route>
在说说第二个路由的设置
很简单拨号设置好后打开DHCP就OK了
两个路由可以用一条双机线连 从路由LAN---->主路由OPT1
也可以把两个路由直接接入交换机,这样做的好处是在桌面放个网关切换器可以用纯电信线路,但主路由OPT1得改为指定IP才行.
如果你有两个以上的网吧的说把以打开VPN这样几个网吧只上一条电信线路就可以了
VPN的设置给大家转个贴,很简单的:http://www.m0n0china.org/viewthr ... &extra=page%3D2
最后说一点!千万不要用530TX的网卡!不管是什么芯片,BSD的各别网卡驱动还有点问题的!
时间仓促先写这么多!有什么不明白的可以给我留言!我也是从菜鸟一点一点成熟起来的!在此感谢routerclub的各位老大和网友的无私奉献
如有错误敬请指证谢谢.
[ 本帖最后由 uchws 于 2006-12-15 10:21 编辑 ] |
|