Solved

Restrict bandwidth in Samba

Posted on 2004-04-01
3
667 Views
Last Modified: 2012-08-13
Hi

Is it possible to restrict bandwidth to certain Samba shares?

I have some shares that users of a VPN access, and I don't want them hogging the bandwidth on our leased line when transferring files.

Gareth
0
Comment
Question by:localgareth
  • 2
3 Comments
 
LVL 20

Accepted Solution

by:
Gns earned 400 total points
ID: 10733284
Not necessarily a samba thing... you could perhaps look into trafficshaping/limiting/QoS/whatchamacallit:-) for your VPN instead.
What you have available is highly dependant on the network infrastructure/components.
Have a look at https://sourceforge.net/projects/cbqinit and https://sourceforge.net/projects/htbinit ...

-- Glenn
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 10736387
Glenn already gave you the correct answer. If you want some information before you start to work with either one of these projects, check out the Advanced Routing HOWTO, it has some information about traffic shaping, and it may also help to decide with of the two is better suited for you.
0
 
LVL 44

Assisted Solution

by:Karl Heinz Kremer
Karl Heinz Kremer earned 100 total points
ID: 10736390
... next time I'll include the link right away :-)

http://lartc.org/howto/
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
iptables limit connection per ip correct way ? 2 86
Ubuntu/Asterisk after upgrade Wav issue 19 54
Linux "time" command output redirection 16 114
Choosing CentOS 16 50
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now