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/
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/
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/
> 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/
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 kernelYes.> 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/
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/