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 你用32m就写进去了啊 牛少了不少组建吧我准备用128m的来写 应该全部安装都没问题吧 怎么写进去啊??把整个ISO写进硬盘里面? 在routeros的官方网站上有for CF的img 以前我怎么没看到有呢``郁闷! QUOTE (wsgtrsys @ Apr 8 2005, 04:05 PM)
在routeros的官方网站上有for CF的img
光盘直接安装到cf卡不行么? 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才能启动进去. QUOTE (wsgtrsys @ Apr 8 2005, 04:05 PM)
在routeros的官方网站上有for CF的img
就是这个啊..http://usa2.mikrotik.com/download/2.8.26-install-image.zip 实验失败...写进去的只是安装文件...还需要硬盘来安装。
页:
[1]