pfSense Support Subscription

Author Topic: Multiple Interface Shaping  (Read 4276 times)

0 Members and 1 Guest are viewing this topic.

Offline msamblanet

  • Newbie
  • *
  • Posts: 21
    • View Profile
Multiple Interface Shaping
« on: December 25, 2005, 09:24:17 pm »
I have VOIP on an optional interface and P2P traffic on my LAN interface and would like to shape the two.

I found some old posts indicating it was not possible back in October and being worked on but did not see any follow-ups...

My attempts to just try it were not successful - I got some very wierd shaping rules...is this supposed to be currently possible or is it still off in the future?

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Multiple Interface Shaping
« Reply #1 on: December 25, 2005, 09:37:01 pm »
Not supported for 1.0.

Offline iimre

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: Multiple Interface Shaping
« Reply #2 on: December 28, 2005, 03:54:10 pm »
... and what if the OPT and LAN are bridged, isn't it possible to create shapeing for lan which will affect the bridged OPT as well?
Sorry, if it is too stupid question.

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Multiple Interface Shaping
« Reply #3 on: December 28, 2005, 04:00:07 pm »
Not sure.  Give it a try and report back.

Offline iimre

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: Multiple Interface Shaping
« Reply #4 on: December 31, 2005, 07:26:02 am »
Not sure.  Give it a try and report back.


As per the first tests it seems to be working  :)

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: Multiple Interface Shaping
« Reply #5 on: December 31, 2005, 10:48:42 am »
Not sure.  Give it a try and report back.


As per the first tests it seems to be working  :)

Interesting, considering ALTQ won't be bound to the OPT interface.  Outbound traffic will be shaped however regardless of interface (and OPT->LAN will be shaped to the downstream connection speed).

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette

Offline iimre

  • Jr. Member
  • **
  • Posts: 27
    • View Profile
Re: Multiple Interface Shaping
« Reply #6 on: December 31, 2005, 12:57:39 pm »

Interesting, considering ALTQ won't be bound to the OPT interface.  Outbound traffic will be shaped however regardless of interface (and OPT->LAN will be shaped to the downstream connection speed).

--Bill

You are right. Testing a litlle bit more, it seems that speed is
O.K. WAN-->LAN
O.K. WAN-->OPT
(when downloading from  internet at the same time to a wlan and lan client, traffic shared roughly equally)
(O.K. LAN-->OPT (the limit was the wifi speed)
and really it seems to be limited to WAN outgoing speed at the OPT-->LAN relation.
Is there any way to solve this?

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: Multiple Interface Shaping
« Reply #7 on: December 31, 2005, 01:52:53 pm »

Interesting, considering ALTQ won't be bound to the OPT interface.  Outbound traffic will be shaped however regardless of interface (and OPT->LAN will be shaped to the downstream connection speed).

--Bill

You are right. Testing a litlle bit more, it seems that speed is
O.K. WAN-->LAN
O.K. WAN-->OPT
(when downloading from  internet at the same time to a wlan and lan client, traffic shared roughly equally)
(O.K. LAN-->OPT (the limit was the wifi speed)
and really it seems to be limited to WAN outgoing speed at the OPT-->LAN relation.
Is there any way to solve this?


Not at this time.

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette

Offline charles.regan

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Multiple Interface Shaping
« Reply #8 on: January 05, 2006, 06:54:02 am »
We really need a traffic shaper for multiple interfaces. If I donate will this accelerate the process..  ;)

Charles

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Multiple Interface Shaping
« Reply #9 on: January 05, 2006, 03:38:41 pm »
I'm sure it will but let me point out 1.0 is frozen, this will not make it into 1.0.

With that said, donate away to Bill, he needs new toys!

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: Multiple Interface Shaping
« Reply #10 on: January 07, 2006, 01:03:33 am »
We really need a traffic shaper for multiple interfaces. If I donate will this accelerate the process..  ;)

Charles

As Scott mentioned, 1.0 is frozen.  Development has started for 1.1, so get your requests in early.  I've got interface choosing done already (not multiple interfaces, but at least you get to make a choice as to which interfaces you want shaped) and am working on layer 7 shaping decisions.  Multiple interfaces is a possibility, but it's going to be a while before it's in anything but the next alpha (donations might help get it to alpha quicker as I've got other projects I really wanna work on other than the shaper).

See http://wiki.pfsense.com/wikka.php?wakka=BillM

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette

Offline agismaniax

  • Full Member
  • ***
  • Posts: 122
    • View Profile
Re: Multiple Interface Shaping
« Reply #11 on: February 27, 2006, 02:11:55 am »
I'm trying pfSense BETA iso in my testing machine.
pfSense probed my NIC:
- DLink DFE-580TX as ste0, ste1, ste2, ste3
- Compex as wb0
- NForce2 as nve0

I use nve0 as my LAN with speed 100Mb and ste0, ste1, ste2 as my WAN with speed 100Mb.
It seems pfSense didn't support multiple interface shaping.
Is there any workarround to enable this feature?

Offline sullrich

  • Hero Member
  • *****
  • Posts: 5110
    • View Profile
    • pfSense
Re: Multiple Interface Shaping
« Reply #12 on: February 27, 2006, 11:46:34 am »
Not at this time.  Patches accepted.

Offline billm

  • Administrator
  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • UCSecurity - Technology discovery and ramblings
Re: Multiple Interface Shaping
« Reply #13 on: February 28, 2006, 08:08:48 am »
Not at this time.  Patches accepted.

Patches accepted (although I know exactly what needs to be done, I backed out the code for this back in June due to other issues) - but be warned the shaper is under heavy development, you will want to coordinate any work you do with me.

Or again, donations are accepted - at this point a quiet machine with Intel FXPs would be appreciated.  I can no longer do shaper development on my (silent) Soekris as there's an OS level bug that affects the NICs on this machine.

--Bill
pfSense core developer
blog - http://www.ucsecurity.com/
twitter - billmarquette