bandwidth restriction through Linux

Any questions about the Command Line Interface can be placed here!
Forum rules
Please note the disclaimer before modifying your Synology Product.

bandwidth restriction through Linux

Postby laith.said » Tue Oct 28, 2008 8:30 pm

Hi,

I'm trying to implement an Automatic Controlled Bandwidth Restriction, so that DS207 (or similars) auto detect the load on my WAN interface and adjust the bandwidth.

I'm stack with the Linux commands to set the bandwidth restriction, any one can help here ...

rgds.
laith.said
Trainee
Trainee
 
Posts: 15
Joined: Fri Jun 20, 2008 7:47 pm

Re: bandwidth restriction through Linux

Postby RobinGB » Mon Dec 22, 2008 11:31 am

Hi laith,

What you are requesting is normally a router/gateway function, i.e. "QOS" and/or "Port/IP Prioritisation". However unless you have a high end router (or a hacked one running something like Tomato/DD-WRT) these functions are normally only on expensive routers. I do not know how to do it on the Syno box but would be interested if anyone knows as my WAN syncronisation of syno to syno can eat all my upload bandwidth very quickly resulting in my normal internet use crawling along.

RobinGB
RobinGB

Dont forget the modifications wiki area at http://forum.synology.com/wiki/index.php/Modifications

DS412+ (4xWD30EFRX in 2x RAID1) on LAN, CS407 (4xWD10EADS in 2x RAID1) on LAN, QNAP TS-119 (1x HD103UJ) on LAN, DS212j (2xWD30EFRX) on WAN, DS210j (2xWD10EADS in RAID1) on WAN, DS207+ (2xWD5000AAKS in RAID1) on WAN, ipkg, Y-CAM Black, APC Back-UPS ES 700, Sonos, Media Monkey, Zina, Samsung S3.
RobinGB
Knowledgeable
Knowledgeable
 
Posts: 382
Joined: Mon Sep 17, 2007 1:24 pm
Location: England

Re: bandwidth restriction through Linux

Postby bzhou » Tue Dec 23, 2008 6:20 pm

There is an optware package called trickle that can do part of what you want in userspace if your NAS box is along the traffic path.

Of course, controlling traffic on your router is a better idea. If your router supports trickle package (openwrt, dd-wrt, oleg, etc.), you can also try it there.
bzhou
Knowledgeable
Knowledgeable
 
Posts: 344
Joined: Sat Jan 12, 2008 1:57 am


Return to Command Line Interface

Who is online

Users browsing this forum: No registered users and 2 guests