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 / [email protected]
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: [email protected] [mailto:[email protected]] On Behalf Of Gilles Dégottex
Sent: Thursday, March 06, 2003 12:05 AM
To: [email protected]
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 / [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/
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
Quoted 31 lines · S Mohan
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: [email protected] [mailto:[email protected]] On Behalf Of Gilles Dégottex
Sent: Thursday, March 06, 2003 12:05 AM
To: [email protected]
Subject: [LARTC] ip alias questionHi 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 :PI'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" ?
Quoted 5 lines
Regards,
Gilles Dégottex
_______________________________________________
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/