zif2003 发表于 2005-4-8 02:31:25

使用32Mb CF卡制作你的双wan口路由器1.主板要支持usb-hdd启动哦。2.下载路由软件http://usa2.mikrotik.com/download/2.8.26-install-image.zip3.下载写卡软件http://www.mikrotik.com/download/physdiskwrite.exehttp://m0n0.ch/wall/downloads/physdiskwrite-0.5.zip4.写卡方法physdiskwritea "-u" flag has been added to allow writing to disks > 800 MB 如果卡大于800M需要使用-u 参数。 平常不要加, 免得写到你的硬盘去了。5. 有关RouteOS的设置请看一文http://www.routerclub.com/ipb/index.php?showtopic=6341以下为转贴文章:RouteOS光纤和ADSL双线备份的实现    基本情况:用户有两条INTERNET线路,一条是使用中国电信光纤10M,另一条是使用中国电信4MADSL.使用IP伪装使一个有200个终端局域网共享 上网。 RouteOS共有3块网卡,ether1用于ADSL,ether2用于光纤,ether3用于连接终端。 目的:实现负载平衡,并且在其中一条线路断掉后自动切换为单线路,线路恢复后,继续使用负载平衡。1、配置光纤线路 在/ip address中为光纤线路配置IP地址,子网掩码。         

CODE
/ip address add address 61.139.77.77 mask 24 interface ether2
    2、配置ADSL线路      

CODE
/interface pppoe-client
配置ADSL拨号信息。      

CODE
/interface pppoe-client add name pppoe-line1 service CHN-telecom/ usermailtrh999@169rh999   password kkjjh interface ether1 use-peer-dns yes mtu 1942 mru 1942
3、配置IP伪装      

CODE
/ip firewall src-nat add action masquerade      /ip firewall mangle add protocol tcp tcp-options syn-only tcp-mss 1448
4、配置路由      

CODE
/ip route add dst 0.0.0.0/0 gat 61.139.77.1,218.88.32.1 (注:61.139.77.1为光纤的网关,218.88.32.1则为ADSL的网关)       /ip route add dst 61.139.88.105/32 get 218.88.32.1(注:如果ADSL连通后PING不通网关的话,才加这条,如果PING得通则不须要。)
5、配置自动切换脚本      

CODE
/system script add name="downadsl" source="/in pppoe-client dis gateway 61.139.73.1,218.88.32.1" owner="admin" policy=reboot,read,write,policy,test      /system script add name="downf" source="/ip route set gateway 218.88.32.1 owner="admin" policy=reboot,read,write,policy,test      /system script add name="upadsl" source="/ip route set gateway 61.139.73.1,218.88.32.1" owner="admin" policy=reboot,read,write,policy,test
6、配置NETWATCH用于监视网络的通断情况。      

CODE
/tool netwatch add host=61.157.88.105 timeout=1s interval=5s up-script=upadsl down-script=downadsl (注:61.157.88.105是监视ADSL是否通的IP,也可以是ADSL的网关。)   /tool netwatch add host=61.139.73.1 timeout=1s interval=5s up-script=upf down-script=downf

mywangba 发表于 2005-4-8 11:26:44

你用32m就写进去了啊 牛少了不少组建吧我准备用128m的来写 应该全部安装都没问题吧

75122889 发表于 2005-4-8 16:03:01

怎么写进去啊??把整个ISO写进硬盘里面?

心想事成 发表于 2005-4-8 16:05:00

在routeros的官方网站上有for CF的img

75122889 发表于 2005-4-8 17:27:58

以前我怎么没看到有呢``郁闷!

mywangba 发表于 2005-4-8 17:37:11

QUOTE (wsgtrsys @ Apr 8 2005, 04:05 PM)
在routeros的官方网站上有for CF的img
光盘直接安装到cf卡不行么?

zif2003 发表于 2005-4-8 18:01:32

QUOTE (mywangba @ Apr 8 2005, 11:26 AM)
你用32m就写进去了啊 牛少了不少组建吧我准备用128m的来写 应该全部安装都没问题吧


QUOTE
Microsoft Windows XP [版本 5.1.2600]?版权所有 1985-2001 Microsoft Corp.G:\>cd cfG:\cf>dir 驱动器 G 中的卷是 download 卷的序列号是 7844-0F75 G:\cf 的目录2005-04-0817:40            .2005-04-0817:40            ..2005-03-1416:27      20,971,520 image.img2005-03-1514:35         112,343 LICENSE.txt2004-03-3113:05            77,824 physdiskwrite.exe               3 个文件   21,161,687 字节               2 个目录    288,964,608 可用字节G:\cf>physdiskwrite image.imgphysdiskwrite v0.4 by Manuel Kasper Searching for physical drives...Information for \\.\PhysicalDrive0:   Windows:       cyl: 9964                  tpc: 255                  spt: 63   C/H/S:         16383/16/63   Model:         Maxtor 4D080H4   Serial number: 4D080H4   Firmware rev.: 4D080H4Information for \\.\PhysicalDrive1:   Windows:       cyl: 4                  tpc: 255                  spt: 63Which disk do you want to write? (0..1) 1About to overwrite the contents of disk 1 with new data. Proceed? (y/n) y20971520/20971520 bytes written in totalG:\cf>
就这样子写进去了。。。不过bios要选择usb-zip才能启动进去.

zif2003 发表于 2005-4-8 18:02:44

QUOTE (wsgtrsys @ Apr 8 2005, 04:05 PM)
在routeros的官方网站上有for CF的img
就是这个啊..http://usa2.mikrotik.com/download/2.8.26-install-image.zip

zif2003 发表于 2005-4-8 20:07:21

实验失败...写进去的只是安装文件...还需要硬盘来安装。
页: [1]
查看完整版本: 使用32Mb CF卡制作你的双wan口路由器