All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] TC on bridge
@ 2001-04-24  6:57 fabian
  2001-04-25  5:44 ` Christian Worm Mortensen
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: fabian @ 2001-04-24  6:57 UTC (permalink / raw)
  To: lartc

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/

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

* Re: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
@ 2001-04-25  5:44 ` Christian Worm Mortensen
  2001-04-26  6:20 ` Stef Coene
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Christian Worm Mortensen @ 2001-04-25  5:44 UTC (permalink / raw)
  To: lartc

Hi,

> I read some howto's but only talk about linux router (not bridge).

Shaping also works on bridges.


Christian


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

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

* Re: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
  2001-04-25  5:44 ` Christian Worm Mortensen
@ 2001-04-26  6:20 ` Stef Coene
  2001-04-27  5:27 ` Re[2]: " fabian
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Stef Coene @ 2001-04-26  6:20 UTC (permalink / raw)
  To: lartc

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/

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

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

* Re[2]: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
  2001-04-25  5:44 ` Christian Worm Mortensen
  2001-04-26  6:20 ` Stef Coene
@ 2001-04-27  5:27 ` fabian
  2001-04-27  5:35 ` fabian
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fabian @ 2001-04-27  5:27 UTC (permalink / raw)
  To: lartc

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 :(



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

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

* Re[2]: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
                   ` (2 preceding siblings ...)
  2001-04-27  5:27 ` Re[2]: " fabian
@ 2001-04-27  5:35 ` fabian
  2001-04-27  6:25 ` Re[4]: " fabian
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fabian @ 2001-04-27  5:35 UTC (permalink / raw)
  To: lartc

>> 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



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

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

* Re[4]: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
                   ` (3 preceding siblings ...)
  2001-04-27  5:35 ` fabian
@ 2001-04-27  6:25 ` fabian
  2001-04-27 13:58 ` Re[2]: " Fabian Alejandro Gervan
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: fabian @ 2001-04-27  6:25 UTC (permalink / raw)
  To: lartc

>> 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



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

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

* Re[2]: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
                   ` (4 preceding siblings ...)
  2001-04-27  6:25 ` Re[4]: " fabian
@ 2001-04-27 13:58 ` Fabian Alejandro Gervan
  2001-04-27 19:14 ` Ramin Alidousti
  2001-04-27 19:19 ` Christian Worm Mortensen
  7 siblings, 0 replies; 9+ messages in thread
From: Fabian Alejandro Gervan @ 2001-04-27 13:58 UTC (permalink / raw)
  To: lartc

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.



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

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

* Re: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
                   ` (5 preceding siblings ...)
  2001-04-27 13:58 ` Re[2]: " Fabian Alejandro Gervan
@ 2001-04-27 19:14 ` Ramin Alidousti
  2001-04-27 19:19 ` Christian Worm Mortensen
  7 siblings, 0 replies; 9+ messages in thread
From: Ramin Alidousti @ 2001-04-27 19:14 UTC (permalink / raw)
  To: lartc

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.

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

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

* Re: [LARTC] TC on bridge
  2001-04-24  6:57 [LARTC] TC on bridge fabian
                   ` (6 preceding siblings ...)
  2001-04-27 19:14 ` Ramin Alidousti
@ 2001-04-27 19:19 ` Christian Worm Mortensen
  7 siblings, 0 replies; 9+ messages in thread
From: Christian Worm Mortensen @ 2001-04-27 19:19 UTC (permalink / raw)
  To: lartc

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



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

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

end of thread, other threads:[~2001-04-27 19:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-24  6:57 [LARTC] TC on bridge fabian
2001-04-25  5:44 ` Christian Worm Mortensen
2001-04-26  6:20 ` Stef Coene
2001-04-27  5:27 ` Re[2]: " fabian
2001-04-27  5:35 ` fabian
2001-04-27  6:25 ` Re[4]: " fabian
2001-04-27 13:58 ` Re[2]: " Fabian Alejandro Gervan
2001-04-27 19:14 ` Ramin Alidousti
2001-04-27 19:19 ` Christian Worm Mortensen

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.