All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] ip alias question
@ 2003-03-05 18:34 Gilles Dégottex
  2003-03-06  1:37 ` S Mohan
  2003-03-08 19:41 ` Gilles Dégottex
  0 siblings, 2 replies; 3+ messages in thread
From: Gilles Dégottex @ 2003-03-05 18:34 UTC (permalink / raw)
  To: lartc

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/

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

* RE: [LARTC] ip alias question
  2003-03-05 18:34 [LARTC] ip alias question Gilles Dégottex
@ 2003-03-06  1:37 ` S Mohan
  2003-03-08 19:41 ` Gilles Dégottex
  1 sibling, 0 replies; 3+ messages in thread
From: S Mohan @ 2003-03-06  1:37 UTC (permalink / raw)
  To: lartc

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/

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

* Re: [LARTC] ip alias question
  2003-03-05 18:34 [LARTC] ip alias question Gilles Dégottex
  2003-03-06  1:37 ` S Mohan
@ 2003-03-08 19:41 ` Gilles Dégottex
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Dégottex @ 2003-03-08 19:41 UTC (permalink / raw)
  To: lartc

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/

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

end of thread, other threads:[~2003-03-08 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-05 18:34 [LARTC] ip alias question Gilles Dégottex
2003-03-06  1:37 ` S Mohan
2003-03-08 19:41 ` Gilles Dégottex

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.