LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-07-2015, 10:34 AM   #1
Webix
LQ Newbie
 
Registered: Jun 2015
Distribution: Debian Linux
Posts: 1

Rep: Reputation: Disabled
Specific Traffic Shapping Question


Hello LQ.

Maybe this question has already been answered several times but i am searching the net for 4 days already and i can't manage to solve it.

First i explain what i want to do:
I have a OpenVZ container on a provider. On this OpenVZ container i have some services (http, ftp, teamspeak). I want that every user which connects to the teamspeak port (9987) have only 768Kbits of incoming bandwidth on that port, but once he access on the other services he has the normal bandwidth.

I have tested some scripts which i found over the internet, but i couldn't manage to make this work has it should.
What i did so far was on this:
http://www.iplocation.net/traffic-control
http://www.cyberciti.biz/faq/linux-t...-http-traffic/

I already asked my provider to enable some modules on kernel, but when i run this command line:
tc filter add dev $DEV parent 1: protocol ip prio 16 u32 match ip dst (My OpenVZ IP) flowid 1:1

I get this:
RTNETLINK answers: No such file or directory
We have an error talking to the kernel

Maybe someone here can help me to build a new script or to change the above script to match my needs.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
traffic shapping on centos/redhat timmy_sunter Linux - Networking 2 11-09-2011 08:06 PM
Help with traffic shapping ALInux Linux - Networking 1 05-18-2009 03:46 AM
Traffic shapping question(s) capthookb Linux - Networking 2 06-08-2008 05:22 AM
traffic shapping acidrop Linux - Networking 0 05-26-2005 11:06 AM
traffic shapping against msn/video marianop Linux - Networking 2 01-05-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration