Hello lartc, I have a linux bridge between my mail server and the cisco router (internet).. The linux bridge can shape the inconmig mail ? ( mail server run windows2000) or outgoing www traffic? I read some howto''s but only talk about linux router (not bridge). Diagram: [Mail Server1] ---\ [www Server2] --- [Bridge Linux] --- [Cisco router] [xxx Server3] ---/ Best regards, fabian mailto:fabian@catamarca.rffdc.edu.ar
Hi,> I read some howto''s but only talk about linux router (not bridge).Shaping also works on bridges. Christian
I completed the diagram :> [Mail Server1] ---\ eth0 > [www Server2] --- [Bridge Linux] --- [Cisco router] > [xxx Server3] ---/ eth1- Incoming traffic : You have to use eth0 (traffic goes out on NIC eth0) and you have the use the destination ip-address to split the traffic (filter u32 or filter fw+firewall-rules) - Outgoing traffic : For this you have to use eth1 and you can use the source ip-address to filter the traffic. I tested it, so I know it''s working. -- Staf More QOS info : http://users.belgacom.net/staf/ fabian wrote:> > Hello lartc, > I have a linux bridge between my mail server and the cisco router > (internet).. > The linux bridge can shape the inconmig mail ? ( mail server run > windows2000) or outgoing www traffic? > I read some howto''s but only talk about linux router (not bridge). > > Diagram: > > [Mail Server1] ---\ > [www Server2] --- [Bridge Linux] --- [Cisco router] > [xxx Server3] ---/ > > Best regards, > fabian mailto:fabian@catamarca.rffdc.edu.ar > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
Hello Ramin, RA> I don''t know what the problem is but: RA> Why don''t you upgrade to 2.4 kernel as opposed to 2.2.18? RA> Why don''t you upgrade to iptables as opposed to ipchains? I am going to test redhat 7.1 in this week. anyhow, the stability is a critical point for this system, and I don''t have experience working with the kernel 2.4 Regards, fabian>> Thanks for your replys, then.. someones try to compile the kernel >> 2.2.18 with wrr-010302 (wrr-linux-2.2.18.patch) / >> + bridge-0.0.9-against-2.2.18.diff / >> + bridge-ipchains-against-0.0.9-against-2.2.18.diff ??? >> I get error making modules :(
>> Why don''t you upgrade to 2.4 kernel as opposed to 2.2.18?>> > 2.2.18 with wrr-010302 (wrr-linux-2.2.18.patch) /CWM> Of course I don''t know why, but WRR is less tested on 2.4 kernels (i.e.: CWM> I have done no real testing except trying it - I have not received any CWM> problem or success repports) Christian: i get this error message when trying to compile the kernel 2.2.18 modules with wrr and bridge patch: sch_wrr.c: In function ''mac_classify'': sch_wrr.c:600: structure has no member named ''pkt_bridged'' make[2]: *** [shc_werr.o] Error 1 make[2]: *** Leaving directory ''/usr/src/linux-2.2.18/net/sched'' make[1]: *** [_modsubdir_sched] Error 2 make[1]: *** Leaving directory ''/usr/src/linux-2.2.18/net'' make: *** [mod_net] Error 2 -- Best regards, fabian mailto:fabian@catamarca.rffdc.edu.ar
>> Christian: i get this error message when trying to compile the kernel >> 2.2.18 modules with wrr and bridge patch: >> sch_wrr.c: In function ''mac_classify'': >> sch_wrr.c:600: structure has no member named ''pkt_bridged''CWM> Hmm, it seems like wrr is not compatible with this bridge patch. CWM> To fix the problem you can replace "skb->pkt_bridged" with "0" in CWM> sch_wrr.c. CWM> You will not be able to use mac classifying mode, then, though. Ok. I will try it. I now found the new page of bridge, it moved to http://bridge.sourceforge.net/ and download the 2.2.19 patch, and i get the same error compiling modules :( -- Best regards, fabian mailto:fabian@catamarca.rffdc.edu.ar
Hello Guys, Thanks for your replys, then.. someones try to compile the kernel 2.2.18 with wrr-010302 (wrr-linux-2.2.18.patch) / + bridge-0.0.9-against-2.2.18.diff / + bridge-ipchains-against-0.0.9-against-2.2.18.diff ??? I get error making modules :( Regards, Fabian.
I don''t know what the problem is but: Why don''t you upgrade to 2.4 kernel as opposed to 2.2.18? Why don''t you upgrade to iptables as opposed to ipchains? Ramin On Fri, Apr 27, 2001 at 02:58:04PM +0100, Fabian Alejandro Gervan wrote:> Hello Guys, > > Thanks for your replys, then.. someones try to compile the kernel > 2.2.18 with wrr-010302 (wrr-linux-2.2.18.patch) / > + bridge-0.0.9-against-2.2.18.diff / > + bridge-ipchains-against-0.0.9-against-2.2.18.diff ??? > I get error making modules :( > > Regards, Fabian.
Hi,> Why don''t you upgrade to 2.4 kernel as opposed to 2.2.18?> > 2.2.18 with wrr-010302 (wrr-linux-2.2.18.patch) /Of course I don''t know why, but WRR is less tested on 2.4 kernels (i.e.: I have done no real testing except trying it - I have not received any problem or success repports) Christian
Hi,> Christian: i get this error message when trying to compile the kernel > 2.2.18 modules with wrr and bridge patch: > sch_wrr.c: In function ''mac_classify'': > sch_wrr.c:600: structure has no member named ''pkt_bridged''Hmm, it seems like wrr is not compatible with this bridge patch. To fix the problem you can replace "skb->pkt_bridged" with "0" in sch_wrr.c. You will not be able to use mac classifying mode, then, though. Christian
Christian, Just for my information, what is mac classifying mode, what functionality does it provide? Ramin On Fri, Apr 27, 2001 at 11:54:39PM +0200, Christian Worm Mortensen wrote:> Hi, > > > Christian: i get this error message when trying to compile the kernel > > 2.2.18 modules with wrr and bridge patch: > > sch_wrr.c: In function ''mac_classify'': > > sch_wrr.c:600: structure has no member named ''pkt_bridged'' > > Hmm, it seems like wrr is not compatible with this bridge patch. > > To fix the problem you can replace "skb->pkt_bridged" with "0" in > sch_wrr.c. > > You will not be able to use mac classifying mode, then, though. > > > Christian > > > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/-- Ramin Alidousti ramin@UU.NET Advanced Development tel +1 703 886 2640 UUNET, A WorldCom Company fax +1 703 886 0536
Hi,> Just for my information, what is mac classifying mode, what > functionality does it provide?WRR classifies packets on a pr-machine basis. Normally it will use IP addresses to distinguish each machine but on 2.2 kernels it is possible to use MAC addresses on bridged packets. If anyone knows a way to get the MAC address of packets on 2.4 kernels/with the bridge patch for 2.2/for non-bridged packets I would like to know how. Christian