[LARTC] shaping using source IP after NAT

Marco Aurelio marco.casaroli at gmail.com
Mon Jun 11 22:44:48 CEST 2007


Use IFB which seems to be already on kernel 2.6

On 6/11/07, VladSun <vladsun at relef.net> wrote:
> Ethy H. Brito написа:
> > Hi all
> >
> > I am using a pass trhu router and I need to QoS some clients output by its
> > IP address. The problem is that QoS is due after NATing.
> >
> > Is there some clever way of doing this besides MARKing every packet with
> > some IP hashing in POSTROUTING NAT table?
> >
> > Regards
> >
> > Ethy
> > _______________________________________________
> > LARTC mailing list
> > LARTC at mailman.ds9a.nl
> > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> >
> TC is performed after POSTROUTING, so you can not do any IP related TC
> filtering. You can use CPU friendly patches for iptables like IPMARK or
> IPCLASSIFY. Take a look at them.
>
> Regards!
> _______________________________________________
> LARTC mailing list
> LARTC at mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>


-- 
Marco Casaroli
SapucaiNet Telecom
+55 35 34712377 ext 5


More information about the LARTC mailing list