All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] bridging and shaping
@ 2002-09-25  5:55 Rohan Almeida
  2002-09-25  7:56 ` Stef Coene
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Rohan Almeida @ 2002-09-25  5:55 UTC (permalink / raw)
  To: lartc


Hi List,

I've truly sorry if this question has been tried
on this LIST, but i'm quite desperate now!

I'm currently using a linux box doing proxy-arp,
with same IP on both interfaces.
kernel 2.4.18 with htb and iproute2 patch
iptables and tc works perfectly as expected

Now, I want to convert the linux box to a
bridge, using (http://bridge.sourceforge.net)

I noticed that you have to patch the kernel
as well as iptables.
Does tc need to be patched?
Does this even work?
I mean is it possible to operate linux
in bridge mode and have bandwidth control also?

Thanx

--
arc_of_descent
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] bridging and shaping
  2002-09-25  5:55 [LARTC] bridging and shaping Rohan Almeida
@ 2002-09-25  7:56 ` Stef Coene
  2002-09-25 12:50 ` Julio E. Gonzalez P.
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2002-09-25  7:56 UTC (permalink / raw)
  To: lartc

On Wednesday 25 September 2002 07:59, Rohan Almeida wrote:
> Hi List,
>
> I've truly sorry if this question has been tried
> on this LIST, but i'm quite desperate now!
>
> I'm currently using a linux box doing proxy-arp,
> with same IP on both interfaces.
> kernel 2.4.18 with htb and iproute2 patch
> iptables and tc works perfectly as expected
>
> Now, I want to convert the linux box to a
> bridge, using (http://bridge.sourceforge.net)
This code is already available in kernel 2.4.x, so no patches needed if you 
use a 2.4.x kernel.

> I noticed that you have to patch the kernel
> as well as iptables.
It's only needed to patch the kernel if you want to use iptables on the 
bridge.

> Does tc need to be patched?
No

> Does this even work?
Yes

> I mean is it possible to operate linux
> in bridge mode and have bandwidth control also?
Yes.  You can use the u32 filter.  If you want to use the iptables+fw-filter, 
you will need extra patches.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] bridging and shaping
  2002-09-25  5:55 [LARTC] bridging and shaping Rohan Almeida
  2002-09-25  7:56 ` Stef Coene
@ 2002-09-25 12:50 ` Julio E. Gonzalez P.
  2002-09-25 15:39 ` Stef Coene
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Julio E. Gonzalez P. @ 2002-09-25 12:50 UTC (permalink / raw)
  To: lartc

Stef Coene wrote:

>On Wednesday 25 September 2002 07:59, Rohan Almeida wrote:
>  
>
>>Hi List,
>>
>>I've truly sorry if this question has been tried
>>on this LIST, but i'm quite desperate now!
>>
>>I'm currently using a linux box doing proxy-arp,
>>with same IP on both interfaces.
>>kernel 2.4.18 with htb and iproute2 patch
>>iptables and tc works perfectly as expected
>>
>>Now, I want to convert the linux box to a
>>bridge, using (http://bridge.sourceforge.net)
>>    
>>
>This code is already available in kernel 2.4.x, so no patches needed if you 
>use a 2.4.x kernel.
>
>  
>
>>I noticed that you have to patch the kernel
>>as well as iptables.
>>    
>>
>It's only needed to patch the kernel if you want to use iptables on the 
>bridge.
>
>  
>
>>Does tc need to be patched?
>>    
>>
>No
>
>  
>
>>Does this even work?
>>    
>>
>Yes
>
>  
>
>>I mean is it possible to operate linux
>>in bridge mode and have bandwidth control also?
>>    
>>
>Yes.  You can use the u32 filter.  If you want to use the iptables+fw-filter, 
>you will need extra patches.
>
>Stef
>
>  
>
I want to put very clear this idea, because I am interested in this too!
If I want to put a Linux machine with bridge and HTB shaping, and only 
that (NO firewall, no iptables, no nothing, only bridge and HTB for 
shaping).
Do I need to patch the kernel with anything other that the HTB patch (if 
my linux kernel < 2.4.20 )
Thanks!
Julio.


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] bridging and shaping
  2002-09-25  5:55 [LARTC] bridging and shaping Rohan Almeida
  2002-09-25  7:56 ` Stef Coene
  2002-09-25 12:50 ` Julio E. Gonzalez P.
@ 2002-09-25 15:39 ` Stef Coene
  2002-09-28 13:04 ` Jens Link
  2002-09-28 13:50 ` Jens Link
  4 siblings, 0 replies; 6+ messages in thread
From: Stef Coene @ 2002-09-25 15:39 UTC (permalink / raw)
  To: lartc

> I want to put very clear this idea, because I am interested in this too!
> If I want to put a Linux machine with bridge and HTB shaping, and only
> that (NO firewall, no iptables, no nothing, only bridge and HTB for
> shaping).
> Do I need to patch the kernel with anything other that the HTB patch (if
> my linux kernel < 2.4.20 )
No

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] bridging and shaping
  2002-09-25  5:55 [LARTC] bridging and shaping Rohan Almeida
                   ` (2 preceding siblings ...)
  2002-09-25 15:39 ` Stef Coene
@ 2002-09-28 13:04 ` Jens Link
  2002-09-28 13:50 ` Jens Link
  4 siblings, 0 replies; 6+ messages in thread
From: Jens Link @ 2002-09-28 13:04 UTC (permalink / raw)
  To: lartc

Rohan Almeida <arc_of_descent@gmx.net> writes:


> Now, I want to convert the linux box to a
> bridge, using (http://bridge.sourceforge.net)

You should also take a look a ebtables:

http://users.pandora.be/bart.de.schuymer/ebtables

> I noticed that you have to patch the kernel

Yes.

> as well as iptables.

No.

> Does tc need to be patched?
> Does this even work?
> I mean is it possible to operate linux
> in bridge mode and have bandwidth control also?

I'm not sure. I think somebody asked the same question on the 
bridge or ebtables Mailinglist but I can't find it. Check the 
archives.

Jens 
-- 
I just found out that the brain is like a computer.
If that's true, then there really aren't any stupid people.
Just people running Windows. 
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [LARTC] bridging and shaping
  2002-09-25  5:55 [LARTC] bridging and shaping Rohan Almeida
                   ` (3 preceding siblings ...)
  2002-09-28 13:04 ` Jens Link
@ 2002-09-28 13:50 ` Jens Link
  4 siblings, 0 replies; 6+ messages in thread
From: Jens Link @ 2002-09-28 13:50 UTC (permalink / raw)
  To: lartc

Stef Coene <stef.coene@docum.org> writes:

> > Now, I want to convert the linux box to a
> > bridge, using (http://bridge.sourceforge.net)
> This code is already available in kernel 2.4.x, so no patches
> needed  if you use a 2.4.x kernel.

You still need the patch to make iptables work on the bridge
interface. 

Jens
-- 
I just found out that the brain is like a computer.
If that's true, then there really aren't any stupid people.
Just people running Windows. 
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-09-28 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-25  5:55 [LARTC] bridging and shaping Rohan Almeida
2002-09-25  7:56 ` Stef Coene
2002-09-25 12:50 ` Julio E. Gonzalez P.
2002-09-25 15:39 ` Stef Coene
2002-09-28 13:04 ` Jens Link
2002-09-28 13:50 ` Jens Link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.