e252 ipfw traffic shaping - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Firewalls

Firewalls IPFW, PF, IPF (but not limited) related discussion

Reply
 
Thread Tools Display Modes
  #1  
Old October 9th, 2009, 18:00
alexus alexus is offline
Junior Member
 
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation ipfw traffic shaping

I have following rules:

Code:
pipe 1 config bw 1Mbit/s
add 8380 pipe 1 tcp from any to any src-port www
add 8380 pipe 1 tcp from any to any dst-port www
yet my MRTG show's way more traffic then just 1Mbit/s

can someone help me?
Reply With Quote
  #2  
Old October 13th, 2009, 13:57
kenbukan kenbukan is offline
Junior Member
 
Join Date: Sep 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello i have the same problems try

Code:
pipe 1 config bw 10Kbit/s
i don't know where is the bug.
Reply With Quote
  #3  
Old October 13th, 2009, 16:27
alexus alexus is offline
Junior Member
 
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by kenbukan View Post
Hello i have the same problems try

Code:
pipe 1 config bw 10Kbit/s
i don't know where is the bug.
I don't understand, are you asking me to try it as it as a solution for my issue? or as you showing me what you doing and it's similar to mine?
Reply With Quote
  #4  
Old October 14th, 2009, 11:26
kenbukan kenbukan is offline
Junior Member
 
Join Date: Sep 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello alexus,

i use two Gbit ethernet cards as bridge and to shape the traffic of this, if i use
Code:
ipfw pipe 1 config bw 10Mbit/s
the traffic is more than 10Mbit/s.

If i use
Code:
ipfw pipe 1 config bw 100Kbit/s
the traffic is shaping of 10Mbit/s

But the bridge is break after 2 minutes.
Reply With Quote
  #5  
Old October 14th, 2009, 17:19
alexus alexus is offline
Junior Member
 
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

do ipfw pipe show
Reply With Quote
  #6  
Old October 16th, 2009, 13:59
Pushrod's Avatar
Pushrod Pushrod is offline
Member
 
Join Date: Dec 2008
Posts: 257
Thanks: 5
Thanked 19 Times in 16 Posts
Default

Use different pipes for in and out.
Reply With Quote
  #7  
Old October 16th, 2009, 15:09
alexus alexus is offline
Junior Member
 
Join Date: Nov 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

isn't when i don't specify it goes both ways?
Reply With Quote
Reply

Tags
ipfw traffic shaping

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FreeBSD + PF cbq + borrow] Dynamic shaping Denok Firewalls 16 August 19th, 2010 16:34
Traffic Shaping - pf Rule Review Ruler2112 Firewalls 1 October 13th, 2009 21:03
Traffic Shaping - Bandwidth per Port? Ruler2112 Networking 6 September 24th, 2009 23:36
ISP Software, RADIUS, Traffic Shaping, Squid esz Web & Network Services 2 July 20th, 2009 22:53
ipfw and traffic shaper xer Firewalls 3 July 17th, 2009 07:38


All times are GMT +1. The time now is 13:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0