The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
.
google unix.com



IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Bandwidth montor palm101 IP Networking 4 05-06-2008 02:48 PM
bandwidth big123456 IP Networking 4 12-07-2006 02:29 AM
Bandwidth Regulation Phobos IP Networking 2 02-14-2005 04:27 PM
AFP & FTP Bandwidth Monitoring? l008com UNIX for Advanced & Expert Users 0 02-13-2005 11:56 PM
Bandwidth Caping With PF nocturnal IP Networking 2 10-15-2003 03:54 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-06-2006
Alex_sh Alex_sh is offline
Registered User
  
 

Join Date: Jul 2006
Posts: 1
Question using dummynet to limit bandwidth

Hello
I need to limit the bandwidth from a list of ip addresses. I was planning to use the dummynet with lookup tables, so i took the example given in the manual pages:
Code:
ipfw pipe 1 config bw 1000Kbyte/s            
ipfw pipe 4 config bw 4000Kbyte/s           
 ...           
ipfw table 1 add 192.168.2.0/24 1            
ipfw table 1 add 192.168.0.0/27 4            
ipfw table 1 add 192.168.0.2 1            
...            
ipfw pipe tablearg ip from table(1) to any
I modified the network addresses as needed but there seems to be a problem with the last line:
Code:
ipfw pipe tablearg ip from table(1) to any 
bash: syntax error near unexpected token `('
I tried to do it another way, but it didn't work too:
Code:
 ipfw pipe tablearg ip from table 1 to any 
ipfw: bad command `tablearg'
I'm using FreeBSD 6.1
Could someone tell me what i'm doing wrong or where to find some info


Thanks
  #2 (permalink)  
Old 07-06-2006
Hitori's Avatar
Hitori Hitori is offline Forum Advisor  
Registered User
  
 

Join Date: Jun 2006
Posts: 360
To limit the bandwidth use traffic control (tc) tool from iproute2 package
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:21 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0