Community discussions

Search found 163 matches

by lukkes
Wed May 08, 2019 2:27 am
Forum: Scripting
Topic: Check if interface has no IP
Replies: 5
Views: 543

Re: Check if interface has no IP

163 Views and nobody knows, I can't believe it.
by lukkes
Fri May 03, 2019 9:06 pm
Forum: Scripting
Topic: Check if interface has no IP
Replies: 5
Views: 543

Re: Check if interface has no IP

The problem its that when the system evaluates the line it stop running the script, to be or not inside the if.
by lukkes
Thu May 02, 2019 10:12 pm
Forum: Scripting
Topic: Check if interface has no IP
Replies: 5
Views: 543

Re: Check if interface has no IP

Nobody? :shock:
by lukkes
Wed May 01, 2019 9:17 pm
Forum: Scripting
Topic: Check if interface has no IP
Replies: 5
Views: 543

Check if interface has no IP

Hello, I'm trying to update my DDNS interfaces but when I try to obtain the IP of an interface that has no IP, sometimes some interfaces did not get IP by DHCP cause the ISP is down, then the script abort in that interface, this is the line I use to obtain the ip :local ddnsinterface "wan3_route" :l...
by lukkes
Wed May 17, 2017 10:44 pm
Forum: General
Topic: Unavailabilty to LAN Resources While Sharing VPN over VLAN Interfaces
Replies: 4
Views: 506

Re: Unavailabilty to LAN Resources While Sharing VPN over VLAN Interfaces

Hello, I have the same problem and seems that to many people its the same, nobody can help with this problem. if you know the solution, please tell me, thanks
by lukkes
Tue May 17, 2016 6:56 pm
Forum: Scripting
Topic: Backup over SSH or telnet ?
Replies: 24
Views: 14012

Re: Backup over SSH or telnet ?

MTU in the same network segment? in a local LAN, i dont think so, also there is no firewall blocking nothing between them
and the problem it's just with one ap, other tan the email with attachment problem.
by lukkes
Tue May 17, 2016 5:23 pm
Forum: Scripting
Topic: Backup over SSH or telnet ?
Replies: 24
Views: 14012

Re: Backup over SSH or telnet ?

I have the same problem, with one of my 16 ap, with SCP the transfer is stalled. any ideas?
thanks
by lukkes
Sun May 15, 2016 6:29 am
Forum: Scripting
Topic: error sending email WITH ATTACHMENTS
Replies: 5
Views: 703

Re: error sending email WITH ATTACHMENTS

ok, i understand your advice, but just to clarify to you, this ap is behind a router like other 16 aps, all of them can send the email without problems, there's nothing blocking ping, in fact, i dont have nothing blocked in my network, so where i must change the mtu and how? also, i dont understand ...
by lukkes
Sat May 14, 2016 3:38 pm
Forum: Scripting
Topic: error sending email WITH ATTACHMENTS
Replies: 5
Views: 703

Re: error sending email WITH ATTACHMENTS

it's so strange cause, without the attachment the email goes fine, the same script it's working in all other aps in the network, same RouterOS version, all it's the same config.
by lukkes
Sat May 14, 2016 12:14 pm
Forum: Scripting
Topic: error sending email WITH ATTACHMENTS
Replies: 5
Views: 703

error sending email WITH ATTACHMENTS

Good night, this command /tool e-mail send to="destination@gmail.com" subject=([/system identity get name]." backup") file=export.rsc start-tls=yes; works fine and send the email when I remove the file attachment, but when i try to send the export file the log show stuck in "email: send ." and the e...
by lukkes
Sat Apr 09, 2016 6:00 am
Forum: Scripting
Topic: run an array and compare
Replies: 0
Views: 610

run an array and compare

good nights, i have an array with routing marks array1 ("wan1","wan2","wan3","wan4","wan5",..."wanX") and I get an array with the command :foreach routes in=[/ip route find where comment~"^[a-z]*wan" ] do={ :set routename ([/ip route get $routes comment]); :set array2 ($array2, $routename); } the se...
by lukkes
Sat Jun 20, 2015 1:45 am
Forum: Forwarding Protocols
Topic: Anyone running MPLS on production WISP network ?
Replies: 4
Views: 1731

Re: Anyone running MPLS on production WISP network ?

I have The same question, I have a few wireless nodes with basebox in routed mode, and a backhaul bridged so I want to know I migrating the backhaul to mpls will improve the performance of the backhaul links.
by lukkes
Sat May 02, 2015 3:42 am
Forum: General
Topic: DHCP relay and external Linux DHCP server
Replies: 8
Views: 3342

Re: DHCP relay and external Linux DHCP server

hello did you resolve your problem? i test the same scenario and doesn't work at first test, so i increment the "delay threshold" and works fine
by lukkes
Tue Apr 21, 2015 8:54 pm
Forum: Scripting
Topic: find with logic AND
Replies: 4
Views: 599

Re: find with logic AND

ok bro, i will try that, thanks a lot.
by lukkes
Tue Apr 21, 2015 7:15 pm
Forum: Scripting
Topic: find with logic AND
Replies: 4
Views: 599

Re: find with logic AND

this is so shameful for me, i hace experience in some programming languages, routers included, and when i post some question it's because i've tried everything, last night i try a lot of times this :foreach iface in=[/ip dhcp-client find comment~"balance" && status="bound"] do={ :set ifname ([/ip dh...
by lukkes
Tue Apr 21, 2015 5:57 pm
Forum: Scripting
Topic: find with logic AND
Replies: 4
Views: 599

find with logic AND

Hello people, i have a list of dhcp-client interfaces wan1 bound comment balanced wan2 bound comment balanced wan3 bound comment balanced wan4 bound comment balanced wan5 bound comment balanced wan6 bound comment balanced wan7 bound comment admin there is a way to ([find status = "bound"] and commen...
by lukkes
Sat Jan 24, 2015 12:55 am
Forum: General
Topic: Simple Queue on transparent bridge in v.6.1
Replies: 1
Views: 987

Re: Simple Queue on transparent bridge in v.6.1

hi, did you find a solution? now i have the same problem.
by lukkes
Fri Sep 05, 2014 4:18 pm
Forum: Wireless Networking
Topic: What would happen if...
Replies: 20
Views: 4261

Re: What would happen if...

when you install the sxt on side, there is no problem with water drop inside the antenna?
by lukkes
Fri Sep 05, 2014 3:30 pm
Forum: Wireless Networking
Topic: ch0/ch1...the polarity of sextant 5hnd
Replies: 25
Views: 11131

Re: ch0/ch1...the polarity of sextant 5hnd

I got a strange behaivor, i try to connect a sxt5 to a Vpol rootena, i try everything, disabling chain0-tx as indicated in manual, also enabling all chains, but the only way ut can connect is truning the radio 90degrees and connect perfect with an impressive signal strenght, but i cant leave the rad...
by lukkes
Fri Sep 05, 2014 5:32 am
Forum: General
Topic: Which Load Balancing Option?
Replies: 1
Views: 498

Re: Which Load Balancing Option?

PCC works great, try it
by lukkes
Fri Sep 05, 2014 5:28 am
Forum: General
Topic: how to load balance "router itself" "local" traffic
Replies: 1
Views: 451

how to load balance "router itself" "local" traffic

Good Nights, i have a 6 adsl load balance, works great, but all the dns request goes trough the default gateway, i want to load balance those requests and disable any default gateway, i try to mark connections in output, but doesnt work, somebody has this same issue? thanks
by lukkes
Wed Mar 05, 2014 6:07 pm
Forum: Beginner Basics
Topic: what does it mean ??
Replies: 1
Views: 401

Re: what does it mean ??

the user is trying to log on, but has some error, sometime password issue
by lukkes
Wed Mar 05, 2014 4:56 am
Forum: General
Topic: QoS + Load Balance same router
Replies: 1
Views: 725

Re: QoS + Load Balance same router

I resolved this using another router. thanks anyway
by lukkes
Wed Mar 05, 2014 4:53 am
Forum: General
Topic: Btest on multi wan doesn't work
Replies: 0
Views: 371

Btest on multi wan doesn't work

Good nights, i have a strange behavior in my router, i have 7 DSL lines with pcc load balance, everything works perfect, i can access my router, and the server inside my network remotely, so the prerouting chains to in & out for the same gateway is working perfect, i can use all my 7 ip to access pe...
by lukkes
Tue Mar 04, 2014 5:42 am
Forum: Scripting
Topic: is there any associative array, hash, map?
Replies: 24
Views: 6577

Re: is there any associative array, hash, map?

hi, is there a way to assign values to a variable array in ros 5.21 ? just ike this
{a=1;b=3}

thanks;
by lukkes
Tue Feb 25, 2014 6:40 pm
Forum: General
Topic: QoS + Load Balance same router
Replies: 1
Views: 725

QoS + Load Balance same router

hello everybody, i'm trying to configure a working QoS on a router with a 12 ADSL PCC balance, it seems don't works fine cause the QoS marks overwrite the PCC load balance marks, somebody has configured something like that? thanks
by lukkes
Tue Mar 12, 2013 6:02 am
Forum: Virtualization
Topic: frequent changing of gateway in load balancing
Replies: 6
Views: 3746

Re: frequent changing of gateway in load balancing

I have change the per-connection-classifier to "both addresses, i noticed that the IP address are no longer changing. But another problem i noticed now is that ISP2 which is 4M seems to be carrying traffic more than the ISP1 that is 10M. I want clients to pass through the 10M more than the 4M. what...
by lukkes
Sat Mar 09, 2013 11:42 pm
Forum: Virtualization
Topic: frequent changing of gateway in load balancing
Replies: 6
Views: 3746

Re: frequent changing of gateway in load balancing

if you are using pcc you should use a connection classifier Both-Addresses, add action=mark-connection chain=prerouting comment="balance conn $routemark" \ disabled=no dst-address-type=!local in-interface=bridge1 \ new-connection-mark="$routemark" passthrough=yes per-connection-classifier= "both-add...
by lukkes
Tue Mar 05, 2013 3:41 am
Forum: Scripting
Topic: startup script runs at every hour error
Replies: 2
Views: 1048

Re: startup script runs at every hour error

Thanks for the answer, i really dont worry about the globals, cause is with the result of script running every 5 minutes, the real problem is why the startup script runs at many times on day if the router has not rebooted.
by lukkes
Mon Mar 04, 2013 6:03 am
Forum: Scripting
Topic: startup script runs at every hour error
Replies: 2
Views: 1048

startup script runs at every hour error

good nights, i have a script to send email when the router reboots, it works fine, but sometimes it runs when the router has not reboot, also i can see that my global variables disappears from the environment tab, i checked the uptime of the router and is normal,so the router has not been rebooted. ...
by lukkes
Sat Mar 02, 2013 4:31 am
Forum: General
Topic: Webfig skins (tutorial)
Replies: 100
Views: 93853

Re: Webfig skins (tutorial)

i want remove or add column in the wireless registration table, also i want to view inline comments, is's possible? thanks
by lukkes
Wed Nov 14, 2012 3:34 pm
Forum: General
Topic: Error sending e-mail: error handling file
Replies: 12
Views: 4044

Re: Error sending e-mail: error handling file

Hi, i got the same error, the email can go fine when has no attachement, the snesitive policy is set, the debug log stucks in RCV: 354 enter mail, end with "." on a line by itself, error sending email, abnormal termination timeout when i send the email without backup it works fine, also i try to sen...
by lukkes
Mon Nov 12, 2012 8:13 pm
Forum: Scripting
Topic: working, assign to array var the ip to compare later change
Replies: 1
Views: 1108

working, assign to array var the ip to compare later change

god morning, in this script i scan all the interfaces that have name "WANxxx" like WAN1, WAN2, and then obtain it's ip address, then put that ip in an array, make it global and later run script again to check if any has changed, it works fine, but i have a problem, when some interface has no ip addr...
by lukkes
Mon Nov 12, 2012 4:03 am
Forum: Scripting
Topic: simple log info command doesn't print
Replies: 2
Views: 926

Re: simple log info command doesn't print

Thanks
how you say it works, but i need that the lines be print just one time, not for each interface, so, i dont need it inside the loop, Understand?
by lukkes
Sat Nov 10, 2012 6:09 am
Forum: Scripting
Topic: simple log info command doesn't print
Replies: 2
Views: 926

simple log info command doesn't print

Good nights people, can somebody tell me why the two last lines in my script, it's not printed? but when i comment this line ":set currip [/ip address get [find interface="$ifname"] address];" it print the lines.. what i'm doing wrong? the script works good, but with the problem of the two last line...
by lukkes
Thu Jun 14, 2012 7:29 am
Forum: Scripting
Topic: Get the interface name in dhcp-client
Replies: 4
Views: 2636

Re: Get the interface name in dhcp-client

tratando de obtener los nombres de las interfaces que estan en dhcp-client para luego preguntar sus defaults gateways y crear las rutas dinamicamente

sorry for write in spanish

im trying to get the interfaces names to use it for recreate the routes dynamically
by lukkes
Thu Jun 14, 2012 7:20 am
Forum: Scripting
Topic: Get the interface name in dhcp-client
Replies: 4
Views: 2636

Re: Get the interface name in dhcp-client

thanks, it works, but doesnt understand why doesnt work by the way y test...
thanks again
by lukkes
Thu Jun 14, 2012 5:51 am
Forum: Scripting
Topic: Get the interface name in dhcp-client
Replies: 4
Views: 2636

Get the interface name in dhcp-client

Good night, i need to monitor the status of a interface in the dhcp-client module, status like, bound, searching, renewing, etc, i need to get the interface name to make some process but nothing works for me, i have 12 wan interfaces, all of them with dhcp-client active i try with :local intname [ /...
by lukkes
Sat Apr 28, 2012 10:25 am
Forum: The Dude
Topic: Dude on Mac
Replies: 5
Views: 8003

Re: Dude on Mac

works perfect, but only if connect to a remot and change de ip as you told, thanks...
by lukkes
Sat Apr 28, 2012 5:02 am
Forum: The Dude
Topic: Dude on Mac
Replies: 5
Views: 8003

Re: Dude on Mac

i tryed wineskin, it install perfect and runs, but stuck in conecting to server....! seems that the local server dont start
by lukkes
Tue Sep 27, 2011 11:50 pm
Forum: General
Topic: ping routing-table error, manual gateway issue
Replies: 5
Views: 960

Re: ping routing-table error, manual gateway issue

:(
Anyone helps please
by lukkes
Mon Aug 29, 2011 3:58 pm
Forum: General
Topic: ping routing-table error, manual gateway issue
Replies: 5
Views: 960

Re: ping routing-table error, manual gateway issue

Yes, you're right, but remember that the gateway i'm talking about are the gateway created manually for the balancing, the routes with specific routing-mark, understand? in other side, all ethernet has marked the in dhcp client the option add-default-route with differents distance, so when one gatew...
by lukkes
Mon Aug 29, 2011 3:33 pm
Forum: General
Topic: ping routing-table error, manual gateway issue
Replies: 5
Views: 960

Re: ping routing-table error, manual gateway issue

Thanks for your help.. it's ethernet adsl, really it's a 8 wan balancer, it's strange cause 7 of them works fine, i double check that all the routes are identical, only change the routing mark and the wan gateway.. why you say that it's not working good? so what it's the correct way to make a router...
by lukkes
Sat Aug 27, 2011 4:36 am
Forum: General
Topic: ping routing-table error, manual gateway issue
Replies: 5
Views: 960

ping routing-table error, manual gateway issue

hello forum, i got a problem when i try to set automatic the gateway for a route when i set a interface as a gateway the ping with routing table parameter doesn't work, but when i set the gateway manually it works perfect, this is the scenario --------------------- with this config: ;;; route wan1 d...
by lukkes
Wed Dec 08, 2010 9:51 pm
Forum: General
Topic: Step by step Load balancing in v4.4 helpfull for many users.
Replies: 55
Views: 12849

Re: Step by step Load balancing in v4.4 helpfull for many us

hmmm so i should program an script that take the default gateway and create the static route, but when run this script? that's the problem...
by lukkes
Tue Dec 07, 2010 5:45 am
Forum: General
Topic: Step by step Load balancing in v4.4 helpfull for many users.
Replies: 55
Views: 12849

Re: Step by step Load balancing in v4.4 helpfull for many us

hi chupaka, what about the dhcp taken gateways when two or more adsl have the same gateway? how should i use your command?
by lukkes
Tue Dec 07, 2010 5:37 am
Forum: General
Topic: two or more adsl with the same gateway
Replies: 1
Views: 372

two or more adsl with the same gateway

Hello, i have a load balance with 8 dsl modem, but sometimes two or more of them take the same default gateway, there is a way to manually set the default gateway that appears in the nexthops tab? thanks
by lukkes
Wed Sep 29, 2010 2:15 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 16061

Re: Load Balance, Multiwan with webproxy

set prerouting rule over the others with the ipsec mark and action accept it will send all packets to the default gateway and will not use the balance, also you can do it with all that breaks with the balance, https, msn, etc
by lukkes
Mon Sep 27, 2010 3:50 am
Forum: General
Topic: Redirect traffic to Squid ( Linux )
Replies: 30
Views: 87475

Re: Redirect traffic to Squid ( Linux )

ip firewall nat add action=dst-nat dst-port=80 protocol=tcp src-address="client's_used subnet" to-addresses="squid_address" to-ports=8080 chain=dstnat http://www.mikrotik.com/testdocs/ros/2.9/ip/nat.php This is the correct way, dont waste more time, your problem it's on the squid box, a bad squid a...
by lukkes
Sun Sep 26, 2010 5:23 am
Forum: General
Topic: Redirect traffic to Squid ( Linux )
Replies: 30
Views: 87475

Re: Redirect traffic to Squid ( Linux )

using a parent proxy and setup many clients can use all your cpu of the routerboard, the best way it's to use the redirect chains
by lukkes
Mon Sep 06, 2010 9:54 pm
Forum: Beginner Basics
Topic: dstnat problem
Replies: 18
Views: 1847

Re: dstnat problem

what do you mean when say PRIVATE SITE? dont understand
by lukkes
Mon Sep 06, 2010 9:45 pm
Forum: Beginner Basics
Topic: dstnat problem
Replies: 18
Views: 1847

Re: dstnat problem

what it's the ip address and gateway of the apache webserver?
by lukkes
Mon Sep 06, 2010 8:53 pm
Forum: Beginner Basics
Topic: dstnat problem
Replies: 18
Views: 1847

Re: dstnat problem

of course the webserver should have as a default gateway the LAN ip of the mikrotik router
by lukkes
Mon Sep 06, 2010 8:44 pm
Forum: Beginner Basics
Topic: dstnat problem
Replies: 18
Views: 1847

Re: dstnat problem

/ip firewall nat add action=masquerade chain=srcnat comment="" disabled=no out-interface=ether1 add action=dst-nat chain=dstnat comment="" disabled=no dst-port=8080 in-interface=ether1 protocol=tcp to-addresses=192.168.88.5 to-ports=80 add action=dst-nat chain=dstnat comment="" disabled=no dst-port...
by lukkes
Mon Sep 06, 2010 8:21 pm
Forum: Beginner Basics
Topic: dstnat problem
Replies: 18
Views: 1847

Re: dstnat problem

hello try changing the dst-port from 80 to 8080 as the in port
this is one of my forward and works perfect

add action=dst-nat chain=dstnat comment="" disabled=no dst-port=8080 in-interface=ether1 protocol=tcp to-addresses=192.168.88.5 to-ports=80

the scr-nat rule it's not necessary
by lukkes
Sat Jun 19, 2010 6:15 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 16061

Re: Load Balance, Multiwan with webproxy

you must put another line before that accepting the redirected site thanks, one point karma is for you ;p @gtpro im not sure but i think that is impossible to run web-proxy for more than one wan .... proxy works on one WAN, you can load-balance traffic to any output interfaces but traffic which goe...
by lukkes
Fri Jun 18, 2010 12:48 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 16061

Re: Load Balance, Multiwan with webproxy

you must put another line before that accepting the redirected site
by lukkes
Tue Jun 15, 2010 3:29 pm
Forum: Wireless Networking
Topic: frustration all around
Replies: 31
Views: 2890

Re: frustration all around

hello all, finally get the prob solved, i hav one 411 with ROS 4.5 and compex 23 dbm a/b/g card i just changed miktoik box at Site-A with the above box on same antenna... and the link beacome stable, aslo when i see the tx power setting ROS shows the correct 23 dBm also i manulayy fixed data rates ...
by lukkes
Sat Jun 12, 2010 8:22 pm
Forum: Scripting
Topic: learn how to Shape Download Traffic only & leave Browsing
Replies: 24
Views: 16944

Re: learn how to Shape Download Traffic only & leave Browsin

very good job, what about the cpu resources? have you tested it with how many clients?
by lukkes
Fri Jun 11, 2010 5:18 am
Forum: Wireless Networking
Topic: 37Km Backhaul link with 29Db Jirous Dual-polarized parabolic
Replies: 30
Views: 6336

Re: 37Km Backhaul link with 29Db Jirous Dual-polarized parab

I Manually set both ends to work at 24mbps, and set the ack on both ends to 410. CCQ was 98/98% 24/24MB P Throughput 18146 kbps Bandwidth test on vertical radio 12.8 Mbps Recieve. Bandwidth test on the same radio Sending only 13.0 Mbps. Bandwidth test Both 2.0 Mbps/2.1 Mbps Bandwidth test on the Ho...
by lukkes
Wed Jun 09, 2010 2:59 pm
Forum: General
Topic: Layer 7 protocol
Replies: 4
Views: 4206

Re: Layer 7 protocol

the L7 filter doesn't work perfectly with so many traffics, in the sites suggested above you will find a list of protocol that tested works perfect, but i prefer dont use L7 it's "EAT" a lot of cpu, i allways try to block some traffics with "triks" maybe, some ports, some ips, some content with "con...
by lukkes
Wed Jun 09, 2010 2:45 pm
Forum: Wireless Networking
Topic: 37Km Backhaul link with 29Db Jirous Dual-polarized parabolic
Replies: 30
Views: 6336

Re: 37Km Backhaul link with 29Db Jirous Dual-polarized parab

Manually set both ends to work at 24mbps, and set the ack on both ends to 410. then make the bandwidth test again, make this test with the two radios radios but not at the same time, (first one then the another but disabling the first one,) excuseme english it's not my primary language....
by lukkes
Sun Jun 06, 2010 6:29 am
Forum: Wireless Networking
Topic: frustration all around
Replies: 31
Views: 2890

Re: frustration all around

Maybe it's not an error, maybe it's cause the RB sotftwre versión of that site cant reas the sensor. Try update the ROS and compare again, i told you, dont waste your time in software i beleive that your problem is physical,
by lukkes
Fri Jun 04, 2010 1:11 pm
Forum: Wireless Networking
Topic: lost connection, got deauth (urgent help)
Replies: 15
Views: 5184

Re: lost connection, got deauth (urgent help)

I've got the same problem on some distant links. Thus I have clear view between wireless points, not everheaded freqency and signal strength -65/-66 dBm, CCQ 99/95. Despite this I have my link disconnected one time in several days. I using Nstream, static WDS, no encryption, default security profil...
by lukkes
Fri Jun 04, 2010 5:14 am
Forum: General
Topic: how can i show to all my customers when internet is down?
Replies: 30
Views: 4154

Re: how can i show to all my customers when internet is down

really good idea, another easy way can do this it's make an script that check the internet connection by ping, or simple netwatch and when the connection is down just enable a hotspot with customized login page, it's simple... when the connection is up again the script disable the hotspot like this ...
by lukkes
Fri Jun 04, 2010 4:59 am
Forum: General
Topic: web proxy
Replies: 5
Views: 950

Re: web proxy

take a look at your connection tracking, or torch the interface. you should see there the reason.
by lukkes
Thu Jun 03, 2010 4:45 pm
Forum: General
Topic: Internet through different modems.
Replies: 6
Views: 670

Re: Internet through different modems.

Please use the search, there is a good example from janisk "i beleive" search "bursting" or search about connection limit.
by lukkes
Thu Jun 03, 2010 3:14 pm
Forum: General
Topic: help me about RB450G Web Proxy
Replies: 12
Views: 1045

Re: help me about RB450G Web Proxy

Thank you for all the replies. Although the reasons for the language, I still do not quite understand, but I'm going to try.
:)
just view the post link'ed above, there's an a graphical example
by lukkes
Thu Jun 03, 2010 2:52 pm
Forum: General
Topic: help me about RB450G Web Proxy
Replies: 12
Views: 1045

Re: help me about RB450G Web Proxy

jejeje, it's ok "Karma-Men"
by lukkes
Thu Jun 03, 2010 2:41 pm
Forum: General
Topic: help me about RB450G Web Proxy
Replies: 12
Views: 1045

Re: help me about RB450G Web Proxy

Chupaka you're right, that's the way i suggest in my post.. http://forum.mikrotik.com/viewtopic.php?f=2&t=42208
by lukkes
Thu Jun 03, 2010 6:43 am
Forum: General
Topic: Acceso A Acces Point Detraz de Mikrotik
Replies: 6
Views: 2958

Re: Acceso A Acces Point Detraz de Mikrotik

debes hacer un dstnat con action dst-nat apuntando hacia la ip del AP interno y el puerto, es simple
trata de escribir en ingles, no postees preguntas en espaniol eso aca no les gusta mucho...
by lukkes
Wed Jun 02, 2010 9:03 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 16061

Load Balance, Multiwan with webproxy

I've read a lot of post asking how we can make a load balance and web proxy can use it, to many people say that it's not possible, but yes it is, only we need to do it's mark in the output the packets go to destination port 80 and assign a routing mark, thats it. I you found this useful don't forget...
by lukkes
Wed Jun 02, 2010 4:26 pm
Forum: General
Topic: Forum feature: karma voting
Replies: 54
Views: 32139

Re: Forum feature: karma voting

chuuupakaaa, chuuupaaakaa, hip hip, horayyyyy, Chupaka for president... LOL
by lukkes
Wed Jun 02, 2010 4:20 pm
Forum: Forwarding Protocols
Topic: PCC load balance with separate proxy - interesting situation
Replies: 9
Views: 3596

Re: PCC load balance with separate proxy - interesting situa

use just only one proxy server, more requests done, more requests saved.. more cache use.. more users happy
by lukkes
Wed Jun 02, 2010 3:34 pm
Forum: Beginner Basics
Topic: Load Balancing over Multiple Gateways and Web Proxy
Replies: 5
Views: 1800

Re: Load Balancing over Multiple Gateways and Web Proxy

yes it's possible, dont remember how :( but i did it sometime, I check the traffic as local in the prerouting rules maybe with the port of web proxy, but it works i remember it
by lukkes
Wed Jun 02, 2010 3:29 pm
Forum: General
Topic: help me about RB450G Web Proxy
Replies: 12
Views: 1045

Re: help me about RB450G Web Proxy

i beleive that when you activate the web proxy, the traffic it's generated from the router itself, it catch the client request then process it and make the request to internet, so the mangle routes dont see the traffic to internet like clients traffic. log time ago i used proxy and have the same pro...
by lukkes
Wed Jun 02, 2010 3:14 pm
Forum: Wireless Networking
Topic: frustration all around
Replies: 31
Views: 2890

Re: frustration all around

yuo have a very, very poor signal for this link distance, ther first you need to check it's a possible power loss, the routeros version you using it's very stable and good, but the advice of our friend about update in order to use new drivers that match the real power of the card maybe help, if you ...
by lukkes
Wed Jun 02, 2010 2:59 pm
Forum: Wireless Networking
Topic: lost connection, got deauth (urgent help)
Replies: 15
Views: 5184

Re: lost connection, got deauth (urgent help)

This problem can be for many reasons, interference, poor signal, chanel overload, acces list restriction, you can post your interface wireless config, also the config on the other side, thanks
by lukkes
Mon May 31, 2010 2:30 pm
Forum: Scripting
Topic: exit or break a loop statement
Replies: 10
Views: 8588

Re: exit or break a loop statement

Right, Thanks, the problem was resolved with while. more job to do but the same result.
by lukkes
Fri May 28, 2010 9:48 pm
Forum: Scripting
Topic: exit or break a loop statement
Replies: 10
Views: 8588

exit or break a loop statement

Hello everybody, I'm making a script that ping more than 3 hosts, if first fail then ping second and so on, but if some of the hosts it's up then the loop should terminate and dont ping the rest of the servers, in mikrotik language there is some break or exit order than can make this possible i need...
by lukkes
Mon May 24, 2010 12:12 am
Forum: Beginner Basics
Topic: Same DHCP pool on 2 interfaces?
Replies: 3
Views: 1192

Re: Same DHCP pool on 2 interfaces?

Bridge the two interfaces? maybe... i dont understand your point.
by lukkes
Mon May 24, 2010 12:10 am
Forum: Beginner Basics
Topic: Can I allocate the bandwidth only when needed?
Replies: 9
Views: 1381

Re: Can I allocate the bandwidth only when needed?

Just use PCQ, dont complicate with bursting, NOT YET... Until you get experience, setup according the examples in the wiki it's very easy and works PERFECT
by lukkes
Mon May 24, 2010 12:08 am
Forum: Wireless Networking
Topic: Problem. Solving 30km 11N wireless link issues.
Replies: 7
Views: 2730

Re: Problem. Solving 30km 11N wireless link issues.

set the ACK to 408 in both sides... please tell me if this helps you.. I'm almost sure that this is your problem...
by lukkes
Mon May 24, 2010 12:03 am
Forum: Scripting
Topic: Allocating bandwidth priority for VOIP at the CPE
Replies: 1
Views: 917

Re: Allocating bandwidth priority for VOIP at the CPE

read in the wiki about mangle/queues, to prioritarize VoIP it's not a simple task, it's easy if you use an application that use a specific port, or if you want to give priority to a specific IP/CLIENT, search in the wiki, there is a VoIP examples.
by lukkes
Sun May 23, 2010 7:08 am
Forum: General
Topic: Netinstall on RB411R and RB750
Replies: 38
Views: 12390

Re: Netinstall on RB411R and RB750

Hi, it works for me with netinstall 4.9, holding the reset button near the power plug, until the ACT led stop blink, and wait a few seconds the netinstall detect the RB750...
by lukkes
Wed May 05, 2010 5:46 am
Forum: General
Topic: Redirect traffic to Squid ( Linux )
Replies: 30
Views: 87475

Re: Redirect traffic to Squid ( Linux )

Hello, I tried this alredy a few minutes ago, but I get this error in return: ERROR The requested URL could not be retrieved While trying to retrieve the URL: /firefox?client=firefox-a&rls=org.mozilla:en-US:official The following error was encountered: * Invalid URL Some aspect of the requested URL...
by lukkes
Sat Apr 24, 2010 1:11 am
Forum: General
Topic: Redirect traffic to Squid ( Linux )
Replies: 30
Views: 87475

Re: Redirect traffic to Squid ( Linux )

there is a way to redirect to an external proxy with the original client ip instead of the MT ip? in order to log the client web surf? you may add route with gateway=squid and some routing mark, and then mark all traffic to port 80 and with src-mac-address=!squid's_one with that mark hmmm, i'm not ...
by lukkes
Thu Apr 22, 2010 9:52 am
Forum: General
Topic: working mikrotik gateway with external proxy
Replies: 2
Views: 853

Re: working mikrotik gateway with external proxy

ok bro, i will, thanks
by lukkes
Thu Apr 22, 2010 6:50 am
Forum: General
Topic: DHCP,Radius, Accounting
Replies: 1
Views: 829

Re: DHCP,Radius, Accounting

http://forum.mikrotik.com/viewtopic.php?f=2&t=38114

Chupaka said that it's not possible not possible...
by lukkes
Sat Apr 17, 2010 4:12 am
Forum: General
Topic: working mikrotik gateway with external proxy
Replies: 2
Views: 853

working mikrotik gateway with external proxy

hi, i have a linux proxy server with dns, dhcp, qos, proxy, etc. i want to change everything to mikrotik but i really need to log the visited sites of the clients, i do this with sarg and squid log, i setup a mikrotik with, dhcp, dns, qos, and redirect the port 80 to linux ip and squid port, works g...
by lukkes
Sat Apr 17, 2010 4:03 am
Forum: General
Topic: Redirect traffic to Squid ( Linux )
Replies: 30
Views: 87475

Re: Redirect traffic to Squid ( Linux )

there is a way to redirect to an external proxy with the original client ip instead of the MT ip? in order to log the client web surf?
by lukkes
Thu Apr 08, 2010 2:49 am
Forum: Scripting
Topic: Solved Script to recreate the load balance mangle rules
Replies: 12
Views: 17539

Re: Solved Script to recreate the load balance mangle rules

Hi I try to use this script and appear syntax error (line 49 column 14) I try to looking for the bug but i can't. Can you check the sintaxis? (i try with v3 and v4) Regards M. Hi max, this is working in my router i dont know whats the problem.. hola, max nos conocimos en el mum de argentina, el scr...
by lukkes
Wed Mar 24, 2010 7:14 am
Forum: RouterBOARD hardware
Topic: RB800 + RB/816 link intermittent (link up and down)
Replies: 3
Views: 972

Re: RB800 + RB/816 link intermittent (link up and down)

hi, the problem it's no PSU i've changed and problem persist, i beleive that it's incopatibilty with 3com swith or something like that. i will try with other switch to test. thanks
by lukkes
Mon Mar 22, 2010 10:04 pm
Forum: RouterBOARD hardware
Topic: RB800 + RB/816 link intermittent (link up and down)
Replies: 3
Views: 972

Re: RB800 + RB/816 link intermittent (link up and down)

48v? Hmmm ok i will try this.. Thanks
by lukkes
Mon Mar 22, 2010 5:35 pm
Forum: RouterBOARD hardware
Topic: RB800 + RB/816 link intermittent (link up and down)
Replies: 3
Views: 972

RB800 + RB/816 link intermittent (link up and down)

Hi, everybody.. i have a RB493 conected to a 3Com Spuertack 3, it used as a load balancer, i need 4 ether more then i bought a RB800 + RB/816, al works fine, i programmed the board all it's ok, al was done by the ethr1 port, but when connected to the 3Com switch, then le port 4 - 16 intermittent lon...
by lukkes
Sat Mar 20, 2010 3:55 pm
Forum: Beginner Basics
Topic: how to block pictures (jpg, jpeg,pnp, etc)
Replies: 5
Views: 2673

Re: how to block pictures (jpg, jpeg,pnp, etc)

changeip it's on the right way.. the best way to block/deny content it's with a squid proxy server and squidguard... runnig parallel to mikrotik an receiving all the port 80 redirected requests.
by lukkes
Sat Mar 20, 2010 7:54 am
Forum: Beginner Basics
Topic: how to block pictures (jpg, jpeg,pnp, etc)
Replies: 5
Views: 2673

Re: how to block pictures (jpg, jpeg,pnp, etc)

/ip firewall filter
add action=drop chain=forward comment="" content=.jpg disabled=no
add action=drop chain=forward comment="" content=.JPG disabled=no
by lukkes
Fri Mar 19, 2010 5:34 am
Forum: General
Topic: ip problem
Replies: 2
Views: 433

Re: ip problem

:shock:

I really don't understand you problem, but i beleive that you have another DHCP in your switch. can you be more specific?
by lukkes
Wed Mar 17, 2010 2:42 pm
Forum: Scripting
Topic: incorrec output of print command?
Replies: 6
Views: 2416

Re: incorrec output of print command?

thanks everybody for help me,
the problem solved at.

http://forum.mikrotik.com/viewtopic.php?f=9&t=40109
by lukkes
Wed Mar 17, 2010 2:40 pm
Forum: Scripting
Topic: Use a variable as a firewall rule parameter
Replies: 7
Views: 1502

Re: Use a variable as a firewall rule parameter

thanks everybody for your help, problem solved at.

http://forum.mikrotik.com/viewtopic.php?f=9&t=40109
by lukkes
Wed Mar 17, 2010 2:38 pm
Forum: Scripting
Topic: Solved Script to recreate the load balance mangle rules
Replies: 12
Views: 17539

Solved Script to recreate the load balance mangle rules

Hi, I make a 10 wan load balance (dsl) with PCC, but i have a big problem, in my country sometimes we have a intermitent down of a various adls at same time, sometimes i have 4 or 5 wand down at same time, this is a big problem because the RouterOS send all the traffic of this 5 down wan for the def...
by lukkes
Wed Mar 17, 2010 2:02 pm
Forum: General
Topic: Can I give a variable to a name of variable?
Replies: 12
Views: 1153

Re: Can I give a variable to a name of variable?

:global aa {1;1;2}
:set aa ($aa , 3)

[admin@MikroTik] /> :environment print
"aa"={1; 1; 2; 3}

Everything is in the manual:
http://wiki.mikrotik.com/wiki/M:Scripti ... _Operators

Yes i found in the manual, thanks a lot.
by lukkes
Wed Mar 17, 2010 1:34 am
Forum: General
Topic: Can I give a variable to a name of variable?
Replies: 12
Views: 1153

Re: Can I give a variable to a name of variable?

can somebody give an example in how to fill an array in runtime? not in declaration. thanks
by lukkes
Wed Mar 17, 2010 12:49 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

yes you're right but it will be a fake load balance, well but better than collapse the first link, i'm tryng to make an script to recreate the pcc mangle rules dinamically and the routing marks too.. somebody have any idea? thanks again
by lukkes
Tue Mar 16, 2010 6:00 pm
Forum: Scripting
Topic: Use a variable as a firewall rule parameter
Replies: 7
Views: 1502

Re: Use a variable as a firewall rule parameter

ok, Thanks a lot, i will try this, i'm so hurry now but later i will post another command that its not working good, or maybe the problem is between the chair and te keyboard.. ok excuseme for post here because this is yet post in another threat but maybe here it's more appropiate because i really n...
by lukkes
Tue Mar 16, 2010 3:46 pm
Forum: Scripting
Topic: Use a variable as a firewall rule parameter
Replies: 7
Views: 1502

Re: Use a variable as a firewall rule parameter

Yes, it is possible example set ip address from variable :global myIP 10.1.1.1 /ip firewall mangle add chain=input src-address=$myIP; Thanks for your help, in my specific case it doesn't work. maybe cause i need to concatenate the both-addresses:with the variable? can you help me in this? i dont kn...
by lukkes
Tue Mar 16, 2010 7:44 am
Forum: Scripting
Topic: Use a variable as a firewall rule parameter
Replies: 7
Views: 1502

Use a variable as a firewall rule parameter

hi, i need to change, delete an create rules dynamically, it's possible to use a variable as a firewall rule parameter, e.g. :local wans; set wans 3; /ip firewall mangle :log info "Setting filters"; add action=mark-connection chain=prerouting comment="TEST RULE" \ disabled=no dst-address-type=!local...
by lukkes
Tue Mar 16, 2010 5:20 am
Forum: Scripting
Topic: incorrec output of print command?
Replies: 6
Views: 2416

Re: incorrec output of print command?

So, how i can count the number of routes that have 0.0.0.0 in all the tables need to count these in order to delete and write again dinamic the number of mangle rules to make the pcc marks...
by lukkes
Tue Mar 16, 2010 3:59 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

for example, you have /ip route add dst-address=0.0.0.0/0 gateway=gw1 routing-mark=to_gw1 then add /ip route add dst-address=0.0.0.0/0 gateway=gw2 routing-mark=to_gw1 distance=10 /ip route add dst-address=0.0.0.0/0 gateway=gw3 routing-mark=to_gw1 distance=10 /ip route add dst-address=0.0.0.0/0 gate...
by lukkes
Tue Mar 16, 2010 3:21 am
Forum: Scripting
Topic: incorrec output of print command?
Replies: 6
Views: 2416

Re: incorrec output of print command?

Try using quotation marks: /ip route print where dst-address="0.0.0.0/0" thanks bud, but the output it's the same [admin@router-plaza] > /ip route print where dst-address="0.0.0.0/0" Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blac...
by lukkes
Tue Mar 16, 2010 3:12 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

simply add backup default routes (with bigger distances) to each routing table Sorry Chupaka, i cant understand your point... also can you see this post for me? it's another topic, but i don't know how to talk with you directly, and thanks for your help... i have 8 wan, how i can do what you advise...
by lukkes
Tue Mar 16, 2010 1:18 am
Forum: Scripting
Topic: incorrec output of print command?
Replies: 6
Views: 2416

Re: incorrec output of print command?

Try using quotation marks: /ip route print where dst-address="0.0.0.0/0" thanks bud, but the output it's the same [admin@router-plaza] > /ip route print where dst-address="0.0.0.0/0" Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blac...
by lukkes
Tue Mar 16, 2010 12:53 am
Forum: Scripting
Topic: incorrec output of print command?
Replies: 6
Views: 2416

incorrec output of print command?

Hi everybody, please can somebody tell me why i fi have this route lists *********************************************************************** [admin@router-plaza] > /ip route print Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blac...
by lukkes
Mon Mar 15, 2010 11:52 pm
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

@lukkes, the script to distribute the load can be achieved with simple scripting and with more complex to do it in a more precise way so ... its the scripting that will help as usual. i was affraid about that answer, i dont know much about scripting, i just imagine an script to change dynamic 20 ru...
by lukkes
Mon Mar 15, 2010 9:38 pm
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

I make a loda balance with 8 wan, all works perfect, the issue is that when some provider goes down then the router send the traffic marked to the down provider for the default gateway, it's normal, but can you imagine what happen when 5 of 8 providers is down? all traffic for that 5 providers will ...
by lukkes
Tue Feb 23, 2010 5:07 am
Forum: General
Topic: Question About Load Balancing
Replies: 13
Views: 1994

Re: Question About Load Balancing

yes, this syntax is available only in 'routing-test', not 'routing' for example, if you have two links to the provider (eth1 and eth2), and gateway addresses are the same (1.2.3.4), then you should add two routes, like /ip routes add routing-mark=gw1 gateway=1.2.3.4%eth1 /ip routes add routing-mark...
by lukkes
Tue Jan 26, 2010 7:31 am
Forum: General
Topic: Feature request: Ability to store/compare ROS ping statistic
Replies: 10
Views: 4848

Re: Feature request: Ability to store/compare ROS ping statistic

Ozelo, realy, realy thanks for share, not much want to do it.. i will try to make the upload part and will post it, that you check, comment and suggest, thanks again
by lukkes
Mon Jan 25, 2010 7:06 am
Forum: General
Topic: QOS: how can one identify heavy side of an TCP connection?
Replies: 8
Views: 1252

Re: QOS: how can one identify heavy side of an TCP connection?

please if you can find the way, please tell us. i'm working on it too..
by lukkes
Sun Jan 24, 2010 7:17 am
Forum: General
Topic: Feature request: Ability to store/compare ROS ping statistic
Replies: 10
Views: 4848

Re: Feature request: Ability to store/compare ROS ping statistic

hi Ozelo, i'm sorry for i can help you, so i hope you can help me, i'm searching a way to implement a good qos, i've read a lot and mine is working but i'm collecting from working examples, can you share your mangle rules, your queues rules looks good, thanks a lot anyway
by lukkes
Sun Jan 24, 2010 1:14 am
Forum: General
Topic: QoS on a gateway with more than two interfaces.
Replies: 12
Views: 1547

Re: QoS on a gateway with more than two interfaces.

ok, bro thanks for your advice, hey i work with the advise you told me about look only in table, remember from another post, and works great. thanks a lot..
by lukkes
Sat Jan 23, 2010 11:44 pm
Forum: General
Topic: QoS on a gateway with more than two interfaces.
Replies: 12
Views: 1547

Re: QoS on a gateway with more than two interfaces.

UPDATE: actually, there's about ~2% difference in CPU load! conclusion: matching against ~1100-items address-list is 2% of 3166 MHz cpu... p.s. mine traffic is ~800 Mbps w/o NAT thanks again for your tests, i think that a 2% in a 3000+ cpu it's a huge difference and much for me that im runnig a 8 w...
by lukkes
Sat Jan 23, 2010 9:13 pm
Forum: General
Topic: QoS on a gateway with more than two interfaces.
Replies: 12
Views: 1547

Re: QoS on a gateway with more than two interfaces.

ok understood make almost the same test, with and without connection marks, matching ALL TRAFFIC up/down and sendig to two queues and llimiting, and the cpu load is the same, can you give me the link to your performance issue post? now, have you some experience marking ACK packets, i've read a lot o...
by lukkes
Sat Jan 23, 2010 5:55 pm
Forum: General
Topic: QoS on a gateway with more than two interfaces.
Replies: 12
Views: 1547

Re: QoS on a gateway with more than two interfaces.

ok, in someplaces i've read that we need to mark connectios because the router when the connection it's started then it save it in the connection track, then check packets use more cpu, than check connection firts (mainly we need to mark connections for performnce issue, do you ever heard something ...
by lukkes
Sat Jan 23, 2010 8:48 am
Forum: General
Topic: QoS on a gateway with more than two interfaces.
Replies: 12
Views: 1547

Re: QoS on a gateway with more than two interfaces.

hi Chupaka i hope you can help me (once again :roll: ), when i need to mark upload and download packets i need to make two connection marks ight? one connection mark and packet mark to upload and another one to download? i got a confusion with this.. something like this it's correct? /ip firewall ma...
by lukkes
Sat Jan 23, 2010 8:29 am
Forum: General
Topic: Queue Tree and QoS problems
Replies: 12
Views: 1858

Re: Queue Tree and QoS problems

can you post your mangle rules please? i got a confuse with the packets mark, or maybe can you help me my email is lukkes@cantv.net
by lukkes
Sat Jan 23, 2010 8:15 am
Forum: General
Topic: QOS: how can one identify heavy side of an TCP connection?
Replies: 8
Views: 1252

Re: QOS: how can one identify heavy side of an TCP connection?

dont understand your question, excuse me
by lukkes
Sun Jan 17, 2010 6:15 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

first, you should limit route lookup to the routes with that packet-mark: /ip route rule add routing-mark=to_ISP1 action=lookup-only-in-table table=to_ISP1 now your default route from 'main' table won't work for packets with 'to_ISP1' mark then you can simply use 'ping' command via that routing tab...
by lukkes
Fri Jan 15, 2010 11:11 pm
Forum: General
Topic: Burst for each TCP connection
Replies: 37
Views: 21202

Re: Burst for each TCP connection

well, the forward chain marks connection based on src-adress-list but the prerouting chains marks packets based on src and dst ports. alos mark some connection to use the connection-bytes but its marked also by src port 80.. any idea?
by lukkes
Fri Jan 15, 2010 6:15 pm
Forum: General
Topic: Traffic shaper in bridge mode - is that possible?
Replies: 4
Views: 664

Re: Traffic shaper in bridge mode - is that possible?

yes it's possible, here in the forum are examples, just search.. activate in bridge "use ip firewall" and test..
by lukkes
Fri Jan 15, 2010 5:38 pm
Forum: General
Topic: Problems with DNS for www.google.com
Replies: 173
Views: 41398

Re: Problems with DNS for www.google.com

As an update to all of my earlier posts. I now know a little more about this problem. The issue definitely is that http://www.google.com (and occasionally other Google domains) is cached for 1 week. Once the problem has affected one router, anything that relies on that routers cache is affected bec...
by lukkes
Fri Jan 15, 2010 7:27 am
Forum: General
Topic: Burst for each TCP connection
Replies: 37
Views: 21202

Re: Burst for each TCP connection

Bump. I've been using this, works great, however, does TCP have to be identified in the mangle rules? I'm having a hard time shaping other traffic separately. If I try to use mangle to prioritize port 80 and give other ports a 256k limit, PCQ just stops. In order to shape P2P, I have to use another...
by lukkes
Thu Jan 14, 2010 7:13 am
Forum: General
Topic: Is (( PRIORITY )) Really working ???
Replies: 188
Views: 38735

Re: Is (( PRIORITY )) Really working ???

this works for me /ip firewall mangle add action=mark-connection chain=forward comment="" disabled=no new-connection-mark=new_conn passthrough=yes protocol=\ tcp src-port=80 add action=mark-packet chain=forward comment="math first 1mb" connection-bytes=0-1000000 connection-mark=conn disabled=no\ new...
by lukkes
Thu Jan 14, 2010 6:18 am
Forum: Beginner Basics
Topic: Working QoS configuration
Replies: 44
Views: 71593

Re: Working QoS configuration

hmmm, ok understod, thanks, maybe i didn't read well the link, somebody know if i's really needed another lenght more tha 0-80? with the others lenght it catch much traffic, including p2p traffic
thanks
by lukkes
Thu Jan 14, 2010 12:41 am
Forum: Beginner Basics
Topic: Working QoS configuration
Replies: 44
Views: 71593

Re: Working QoS configuration

Negge, first congratulation, it works good.. i'm trying to modify it to work in my scenario, i just want to know why you use thats packet size for ack? why you did no use 0-80 too? i've read the site that you told but they dont talk about the packets size you used, can you help me? where did you fin...
by lukkes
Wed Jan 13, 2010 2:44 am
Forum: General
Topic: Traffic shaper
Replies: 17
Views: 4794

Re: Traffic shaper

about the limit-at i've tested and woks better if you set limit-at and max-lmit in parent queue, then set a max-limit in a leaf queue but not a limit-at with that config it works as you said, something like a round robin, network can you help me with something? i dont find a definitive way to mark t...
by lukkes
Wed Jan 13, 2010 1:47 am
Forum: General
Topic: Traffic shaper
Replies: 17
Views: 4794

Re: Traffic shaper

hi, congrat for your post it very good, just some remarks, to mark youtube, metacafe and others i use the mark content, i use content=flv, and it catch all the sites with videos, youtube, youporn redtube, googlevideo, dailymotion, etc... also i've read that the piority just work win t limitation, it...
by lukkes
Tue Jan 12, 2010 11:38 pm
Forum: Beginner Basics
Topic: how can i do this ?
Replies: 5
Views: 1110

Re: how can i do this ?

use conection-bytes mark. search in this forum
by lukkes
Sun Jan 10, 2010 7:56 am
Forum: General
Topic: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!
Replies: 38
Views: 17160

Re: Does Queue processing (QoS, PCQ, HTB, etc.) depend on ISP?!!

maybe netwokpro is talking about the special caracter that appear when the rules are pasted in the terminal, not when added directly in the "+" butto.. just try this. paste the pattern in te terminal and you will see the error, try to add the battlefiel1942 pattern form terminal console...
by lukkes
Thu Dec 31, 2009 6:45 pm
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

pcc works perfect for me, in the firewall mangle you can see that the packet count it's almost balanced perfect, also in the interface statics. maybe you miss something,
by lukkes
Wed Dec 23, 2009 9:15 am
Forum: General
Topic: Hotspot Hijack MAC address
Replies: 1
Views: 486

Hotspot Hijack MAC address

hello, i've setup a hotspot in my network the problem is that the hotspot is responding to ARP packets of other hosts, example in my arp table i see 10.19.91.254 max xx.xx.xx.xx.xx.11 it correct but i see too 10.19.91.35 xx.xx.xx.xx.xx.11, i hope you understand my bad english, i'm usin arp=enabled a...
by lukkes
Mon Dec 21, 2009 7:12 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

Normis, yeah it's simple but very special too, jejej
by lukkes
Mon Dec 21, 2009 7:11 am
Forum: Wireless Networking
Topic: TX/RX HW frames somebody clear please...
Replies: 0
Views: 620

TX/RX HW frames somebody clear please...

hi everybody, i have some clients conected with NS5 to an mikrotik ap, they both report 100% CCQ but in the tx/rx hw frames the difference is huge 258000/100000 i remember that i've read somewhere that the values must be equal or very close to have a good link, somebody have some experience with thi...
by lukkes
Sat Dec 19, 2009 1:12 am
Forum: General
Topic: Redirect FROM external server to mikrotik Hotspot
Replies: 2
Views: 1288

Re: Redirect FROM external server to mikrotik Hotspot

yes, i beleive you're right, i was thinking in just to REDIRECT the traffic port 80 to the hotspot machine, but sounds like impossible, i know that it's possible to redirect from mikrotik to external PROXY but i dont knoe if this other scenarios it's possible too, now you or somebody knows or have a...
by lukkes
Sat Dec 19, 2009 12:48 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

sorry it's yet created but seems that it's really borred, no replies :'(

http://forum.mikrotik.com/viewtopic.php?f=2&t=37652

my clients ip is 10.19.91.1 - 10.19.91.200

10.19.91.254 linux
10.19.91.253 mk hotspot

talk you in the another topic.. thanks
by lukkes
Sat Dec 19, 2009 12:19 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

sorry, I'm not familiar with Hotspot. try simply dst-nat all port 80 requests to your Hotspot... 'man iptables' =) Thanks Anyway Chupaka, i've try iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to-destination 10.19.91.253:80 it redirect all 80 traffic to the port 80 of the hotspot but do...
by lukkes
Fri Dec 18, 2009 11:12 pm
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

Hey Chupaka, i will make you a question off topic, i have a linux server with, squid, dns, dhcp, etc etc etc, i need to publish a temporal logn page, i dont want to replace all my linux box for a mikrotik router yet, but i need a simple hotspo to show the page for a few days, it possible to setup a ...
by lukkes
Fri Dec 18, 2009 5:51 pm
Forum: General
Topic: Redirect FROM external server to mikrotik Hotspot
Replies: 2
Views: 1288

Redirect FROM external server to mikrotik Hotspot

Hi people, I have a linux server working as squid. dhcp, firewall, ntop, squid analizer, etc, etc. my complete WISP solution is working on it, im starting to migrate all but squid to mikrotik, later i will redrect port 80 to my external squid server, but it is another history by now, my question is ...
by lukkes
Wed Dec 16, 2009 2:43 pm
Forum: Scripting
Topic: very simple script to enable/disable rules
Replies: 8
Views: 11884

Re: very simple script to enable/disable rules

OK acknowledge boss, thanks a lot, my doubt is now clear...
by lukkes
Tue Dec 15, 2009 8:37 pm
Forum: Scripting
Topic: very simple script to enable/disable rules
Replies: 8
Views: 11884

Re: very simple script to enable/disable rules

Because 'numbers' isn't a valid parameter. Try it without the 'numbers=' part:
/ip firewall filter disable 1

Thanks for your help, as i told with numbers=0 works perfect, i try with and without numbers= but with parameter 1, and doesnt work
by lukkes
Tue Dec 15, 2009 8:08 pm
Forum: Scripting
Topic: very simple script to enable/disable rules
Replies: 8
Views: 11884

Re: very simple script to enable/disable rules

hello, as mrz suggest it works perfect, it's the actual way i yet implemented to work, but i just want an easy and direct way, without put a comment. but why doesnt work with 1?
by lukkes
Tue Dec 15, 2009 7:16 am
Forum: Scripting
Topic: very simple script to enable/disable rules
Replies: 8
Views: 11884

very simple script to enable/disable rules

hi everybody. this little script works perfect but only with the chain 0 when i try to enable/disable chain 1, doesnt work, i have only two chains in /ip firewall filter, remember WORKS perfect with chain 0 but dont with chain 1 simply doens nothing with chain 1 [admin@router-gelo] > /ip firewal fil...
by lukkes
Tue Dec 15, 2009 3:46 am
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

Thanks Chupaka i will try this, now i want to know if i can use action=lookup ? because i´m using 3.30 and not 4.x OS. thanks
by lukkes
Mon Dec 14, 2009 10:59 pm
Forum: General
Topic: New firewall matcher PCC
Replies: 298
Views: 73074

Re: New firewall matcher PCC

[admin@MikroTik] > tool traceroute ya.ru max-hops=4 ADDRESS STATUS 1 192.168.16.250 2ms 2ms 10ms 2 192.168.0.200 9ms 10ms 12ms 3 192.168.0.200 6ms 11ms 10ms network unreachable 4 192.168.0.200 14ms 6ms 53ms network unreachable max-hops reached [admin@MikroTik] > /ip route add disabled=no dst-addres...
by lukkes
Fri Apr 10, 2009 7:21 pm
Forum: General
Topic: load balance nth config
Replies: 6
Views: 2217

Re: load balance nth config

thanks dude, i think the same of you, but in the wiki tak about the passthrough and f is on or off change the match of the rule, maybe somebody has tested, anyway i will try with your help, thanks again
by lukkes
Thu Apr 09, 2009 6:14 am
Forum: General
Topic: load balance nth config
Replies: 6
Views: 2217

Re: load balance nth config

Thanks a lot for your answer, i've read alot of times the iki but really dont understand, somebody can explainme detailed how it works, and much better if somebody knows the config for 8 wans? thanks again
by lukkes
Wed Apr 08, 2009 4:25 am
Forum: General
Topic: hotspot cpu load
Replies: 1
Views: 459

hotspot cpu load

good nights, i have an rb433ah with hotspot enabled but when a 20 clients is logged then the cpu load gos to 80 - 90% load, and the web browsing goes to slow, is this issue normal? how many hotspot users can handle this board? the routerOs is 3.20, and have no other rules. thanks a lot
by lukkes
Tue Apr 07, 2009 9:30 pm
Forum: General
Topic: load balance nth config
Replies: 6
Views: 2217

load balance nth config

good morning dudes, i'm balancing wery well with nth 2,1 and nth 1,1 routeros version 3.0, i need to balance 8 wans, how is the correct nth config for 8 wans? thanks
by lukkes
Tue Apr 07, 2009 9:27 pm
Forum: General
Topic: Hotspot with external proxy
Replies: 2
Views: 727

Re: Hotspot with external proxy

ok dude, i will try this thanks
by lukkes
Fri Mar 27, 2009 4:55 am
Forum: General
Topic: Hotspot with external proxy
Replies: 2
Views: 727

Hotspot with external proxy

hello dudes,

i succesfull redirect the traffic to port 80 from my MT to an external squid proxy server with dst-nat, but when i setu a hotspot t doesnt work, any helps.? thanks
by lukkes
Mon Oct 27, 2008 4:34 am
Forum: General
Topic: load balancing 5 pppoe same isp problem on v3.7
Replies: 8
Views: 4648

Re: load balancing 5 pppoe same isp problem on v3.7

you should use per packet and not per session balance
by lukkes
Tue Jun 17, 2008 1:39 am
Forum: RouterBOARD hardware
Topic: proxy cache store device
Replies: 9
Views: 2330

Re: proxy cache store device

ok seems good, but i want to use RB433AH for the powerfull CPU and it doest have cf slot only microsd, have you ever heard about some routerboard that can handle a hard disk?
by lukkes
Mon Jun 16, 2008 7:26 am
Forum: RouterBOARD hardware
Topic: proxy cache store device
Replies: 9
Views: 2330

proxy cache store device

hello forum good night, i want to build a router with hotspot and many features included proxy, i worked with squid on a pc, but i want to use a routerboard to build this router, i buyed a 532a, rb333 and recently a rb433ah, the real questions is? wich device i can use to store the cache? maybe a po...