Hi all Sorry if i didnt found the answer in HOWTO''s, mailing lists archives or any other place. and sorry if i write english like a spanish cow :P I''m currently using ''tc'' to limit upload and stop breaking the connection of my cable modem. my eth0 has an ip alias eth0:1 which should not be limited by tc, but "tc qdisc add dev eth0" seems apply effect to eth0 AND eth0:1 :( Is there any smooth solution to leave eth0:1 in peace ? or do i have to limit effect with "ip src" and "ip dst" ? Regards, Gilles Dégottex _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
AFAIK, tc works on physical device queues. Thus having virtual devices over the same physical interface will not let the virtual devices be freed of control. You must use src/dst options. Instead of attaching to virtual devices, it might be better to do it using subnets whereby you do not have to give too many rules for matching src/dst ips. Mohan -----Original Message----- From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl] On Behalf Of Gilles Dégottex Sent: Thursday, March 06, 2003 12:05 AM To: lartc@mailman.ds9a.nl Subject: [LARTC] ip alias question Hi all Sorry if i didnt found the answer in HOWTO''s, mailing lists archives or any other place. and sorry if i write english like a spanish cow :P I''m currently using ''tc'' to limit upload and stop breaking the connection of my cable modem. my eth0 has an ip alias eth0:1 which should not be limited by tc, but "tc qdisc add dev eth0" seems apply effect to eth0 AND eth0:1 :( Is there any smooth solution to leave eth0:1 in peace ? or do i have to limit effect with "ip src" and "ip dst" ? Regards, Gilles Dégottex _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I had "match ip dst <net ip>" for dowload filters and "match ip src <net ip>" for upload filters and everything works fine now ! thx Gilles On Thursday 06 March 2003 02:25, S Mohan wrote:> AFAIK, tc works on physical device queues. Thus having virtual devices > over the same physical interface will not let the virtual devices be > freed of control. You must use src/dst options. Instead of attaching to > virtual devices, it might be better to do it using subnets whereby you > do not have to give too many rules for matching src/dst ips. > > Mohan > > -----Original Message----- > From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl] > On Behalf Of Gilles Dégottex > Sent: Thursday, March 06, 2003 12:05 AM > To: lartc@mailman.ds9a.nl > Subject: [LARTC] ip alias question > > > Hi all > > Sorry if i didnt found the answer in HOWTO''s, mailing lists > archives or any > other place. and sorry if i write english like a spanish cow :P > > I''m currently using ''tc'' to limit upload and stop breaking the > connection of > my cable modem. my eth0 has an ip alias eth0:1 which should not be > limited by > tc, but "tc qdisc add dev eth0" seems apply effect to eth0 AND eth0:1 :( > Is there any smooth solution to leave eth0:1 in peace ? or do i > have to limit > effect with "ip src" and "ip dst" ? > > Regards, > Gilles Dégottex > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/