On 03/18/2016 09:25 AM, Felipe Román wrote:
> Hello guys, this is my first message to this list.
> 
> to the point.
> I have a "problem" with QoS, we have different speed in the network 
> provider link, 100mbit download and 100mbit upload in the national 
> connections, and 10mbit download and 10mbit upload on international 
> connections.
> 
> I set the qos to work with 100/100mbit and it works perfectly, but this 
> is ok with the national connections, but with international connections 
> I still have my link satured.
> 
> so, can I set a different speed in the same interface based on geoip or 
> something?
> 
> I thought in use 2 interfaces for the same provider, and make a masq 
> rule for national destinations (with geoip) and the rest of the 
> connection with a masq in other interface. this solves the different 
> speed problem for the qos, but how can I route the same provider with 2 
> interfaces using the same gateway.
> 
> any idea is welcome.
> 

For outbound traffic, you can use Geoip on the connection (not on each
packet) to place the traffic in a slower class. Not much you can do on
input, unless you do it on your LAN interface and use the same technique.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to