So the WISP i work for is using mikrotik 433/450g's at our tower sites and radius to make a PPPOE connection to our subscribers. which works great unless our subscriber uses a service that breaks when behind more than one NAT, like VPN, or running a server. for those people i create a 1-1 nat rule so that a public IP gets forwarded to the customer private IP (10.0.0.x).
to limit the speed for the 1-1 nat customer ive done the following simple rule:
which does indeed limit the speed for us, however on the bench today i was testing, and when a PPPOE user (which creates a simple rule automatically when they log on) and my 1-1 nat user run a speedtest, at the same time, they both get spotty, shitty speed results. watching the two computers speedtest is like watching two kids fighting over a waterhose for a drink, one drinks, then the ther grabs it and drinks.
when i disable the simple rule for 1-1 nat one gets like 30meg and the other gets his proper speed too.
howcome I cant get both simple rules to play nice together? here is a photo of what it looks like in winbox.
If neither value of target-addresses nor of interface is specified, the queue will not be able to make difference between upload and download, and will limit all traffic twice.
You are setting a dst-address value when that SHOULD be a target-address value. Also, there is no need to add the interface for what you want to do with the simple queue. Your configuration will only limit traffic from any IP on ether1 when that device is talking to 10.0.0.90. Something like this would do what you want:
Joined: Tue Aug 11, 2009 2:19 am Posts: 7734
did you notice how the rates were backwards too? in testing when i set an upload speed un upload, and download in download, i got reversed results on a Speedtest. Wierd hey?
The documentation outlines that the rates are from the router port's perspective. When a client downloads data, the router sends data into the network (outbound on the port), so it's referred to as the upload rate. When a client uploads data, the router receives data from the network (inbound on the port), so it's referred to as the download rate.
Users browsing this forum: Bing [Bot], xucraig and 28 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum