I am using the following script for duel wan. Can you please tell me when is my one route is in blue and why is this static. I have also attached the script.
This is script I am using for merging. /ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=WAN1 add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=WAN2 /ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB max-udp-packet-size=512 servers=221.132.112.8,8.8.8.8 /ip firewall mangle add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_conn add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_conn add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=to_WAN1 add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=to_WAN2 add chain=prerouting dst-address=192.168.1.0/24 action=accept in-interface=Local add chain=prerouting dst-address=192.168.2.0/24 action=accept in-interface=Local add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/1 action=mark-connection new-connection-mark=WAN2_conn passthrough=yes add chain=prerouting connection-mark=WAN1_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN1 add chain=prerouting connection-mark=WAN2_conn in-interface=Local action=mark-routing new-routing-mark=to_WAN2 /ip route add dst-address=0.0.0.0/0 gateway=192.168.1.1 routing-mark=to_WAN1 check-gateway=ping add dst-address=0.0.0.0/0 gateway=192.168.2.1 routing-mark=to_WAN2 check-gateway=ping add dst-address=0.0.0.0/0 gateway=192.168.1.1 distance=1 check-gateway=ping add dst-address=0.0.0.0/0 gateway=192.168.2.1 distance=2 check-gateway=ping /ip firewall nat add chain=srcnat out-interface=WAN1 action=masquerade add chain=srcnat out-interface=WAN2 action=masquerade From: Chupaka Sent: Monday, December 31, 2012 1:15 AM To: Talha Ahmed Subject: Re: [Mikrotik] Probm in FTP File Zilla Software. /ip route rule add src-address=192.168.0.123 action=lookup table=isp1 (or whatever you named it) Just for your information: FTP uses port 21 only for control connection. Data connection uses different ports depending on FTP mode (active/passive). -- Подпись: (добавляется в конце всех исходящих писем) 2012/12/30 Talha Ahmed <[email protected]> Thanks for your continuous help. I am new in networking. I am doing it my self. So can you explain it for for me. /ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=Isp1 add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=Isp2 I want to use this 192.168.0.123 to USE only ISP one for the ftp filezilla software or port 21. Can you help me in thsi From: Chupaka Sent: Sunday, December 30, 2012 10:49 PM To: Talha Ahmed Subject: Re: [Mikrotik] Probm in FTP File Zilla Software. With 'src-address' classifier, each local IP is stuck to only one uplink (like with static routing policy, 10.0.0.1 goes to ISP1, 10.0.0.2 goes to ISP2, etc). -- Подпись: (добавляется в конце всех исходящих писем) 2012/12/30 Talha Ahmed <[email protected]> Hi, Thanks for your help. All these are not working. Can you please tell me how can I exempt one Local Ip from the PCC rule. If I fixed one Local IP to wan1 one then I think it work properly. -----Original Message----- From: Chupaka Sent: Saturday, December 29, 2012 4:01 PM To: Mikrotik discussions Subject: Re: [Mikrotik] Probm in FTP File Zilla Software. Then check with 'src-address'. If it won't work - then the problem is not there... -- Подпись: (добавляется в конце всех исходящих писем) 2012/12/28 Talha Ahmed <[email protected]> HI How are you. I change the both-addresses . But it still didt work. -----Original Message----- From: Chupaka Sent: Friday, December 21, 2012 4:48 PM To: Mikrotik discussions Subject: Re: [Mikrotik] Probm in FTP File Zilla Software. Change it to both-addresses or src-address - and it should work. 2012/12/21 Talha Ahmed <[email protected]> both-addresses-and-ports -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.butchevans.com/**pipermail/mikrotik/** attachments/20121221/adcdee58/**attachment.html<http://www.butchevans.com/pipermail/mikrotik/attachments/20121221/adcdee58/attachment.html> > ______________________________**_________________ Mikrotik mailing list [email protected] http://www.butchevans.com/**mailman/listinfo/mikrotik<http://www.butchevans.com/mailman/listinfo/mikrotik> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS ______________________________**_________________ Mikrotik mailing list [email protected] http://www.butchevans.com/**mailman/listinfo/mikrotik<http://www.butchevans.com/mailman/listinfo/mikrotik> Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.butchevans.com/pipermail/mikrotik/attachments/20121229/d0d0ebc9/attachment.html> _______________________________________________ Mikrotik mailing list [email protected] http://www.butchevans.com/mailman/listinfo/mikrotik Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.butchevans.com/pipermail/mikrotik/attachments/20121231/5f57f2d8/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: new.JPG Type: image/jpeg Size: 85681 bytes Desc: not available URL: <http://mail.butchevans.com/pipermail/mikrotik/attachments/20121231/5f57f2d8/attachment.jpe> _______________________________________________ Mikrotik mailing list [email protected] http://mail.butchevans.com/mailman/listinfo/mikrotik Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS

