bridging and shaping
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 5 lines · Rohan Almeida
Hi List,
I've truly sorry if this question has been tried on this LIST, but i'm quite desperate now!
Quoted 7 lines
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 expectedNow, 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.
Quoted 2 lines
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.
Quoted 1 line
Does tc need to be patched?
No
Quoted 1 line
Does this even work?
Yes
Quoted 2 lines
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 45 lines · Stef Coene
Quoted 5 lines · Rohan Almeida
Hi List,
I've truly sorry if this question has been tried on this LIST, but i'm quite desperate now!
Quoted 9 lines
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 expectedNow, 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.
Quoted 4 lines
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.
Quoted 3 lines
Does tc need to be patched?
No
Quoted 3 lines
Does this even work?
Yes
Quoted 11 lines
Quoted 4 lines
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 6 lines
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
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 2 lines · Rohan Almeida
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
Quoted 1 line
I noticed that you have to patch the kernel
Yes.
Quoted 1 line
as well as iptables.
No.
Quoted 4 lines
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
Signature · 6 lines
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 / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 4 lines · Stef Coene
Quoted 2 lines
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
Signature · 6 lines
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 / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/