[LARTC] bridge & QoS
hi everybody. i have a bridge, and i want to apply QoS with htb and layer7 on both interfaces(eth0 and eth1), should i apply qdiscs and classes to each individual interface (eth0 and eth1, not br0)? if someone is using layer7, which is the right place to put the iptables rules to assure that all packets (fom internet to LAN and viceversa) get analyzed for layer7 patterns, including those that are for/from the bridge (it will have an ip address)? (maybe iptables -A POSTROUTING -m layer7 --l7proto someproto -j MARK --set-mark 3 ?) thanks in advance. Roberto Scattini _ MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/ ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
RE: [LARTC] Bridge+QOS
Works very well. Have been using it for 8 months so. Bridging provides transparency on network and does not affect the tc operation in any manner. If you want marking of packets and routing based on fwmark, then you'll have to juggle a bit as the packet flow in a bridge is different from that of a router. Marking is possible only on the FORWARD Chain/table. Alternatively, you can force packets thro' iptables chains - prerouting, nat, input, forward, postrouting, output using ebtables. I'm not sure if ebtables can mark packets. Have not looked deep enough. Mohan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hare ram Sent: Monday, March 17, 2003 12:35 PM To: [EMAIL PROTECTED] Subject: [LARTC] Bridge+QOS Hi all iam setting up a bridge with QOS Services i would like to you to have coments on setup, is this works i ahve setup like this LAN--eth1(Bridge)eth0--router--Internet in LAN i have users 10 people i would like to have QOS Services for 5 people burstable 5 People commited ( bounded b/w what i have) Can i use TC+htb to make this setup is the tc+htb work with my transparent bridge thanks hare ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Re: [LARTC] Bridge+QOS
On Monday 17 March 2003 08:04, hare ram wrote: > Hi all > > > iam setting up a bridge with QOS Services > > i would like to you to have coments on setup, is this works > > i ahve setup like this > > LAN--eth1(Bridge)eth0--router--Internet > > > in LAN i have users 10 people > i would like to have QOS Services for 5 people burstable > 5 People commited ( bounded b/w what i have) > > Can i use TC+htb to make this setup yes > is the tc+htb work with my transparent bridge yes. You have to shape on eth0 and eth1. Just like you should do on a normal router. Stef -- [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/
[LARTC] Bridge+QOS
Hi all iam setting up a bridge with QOS Services i would like to you to have coments on setup, is this works i ahve setup like this LAN--eth1(Bridge)eth0--router--Internet in LAN i have users 10 people i would like to have QOS Services for 5 people burstable 5 People commited ( bounded b/w what i have) Can i use TC+htb to make this setup is the tc+htb work with my transparent bridge thanks hare ___ LARTC mailing list / [EMAIL PROTECTED] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/