Re: tc and virtual interfaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Fabio Marcone a écrit :
Hi all,
I need to add traffic shaping in a linux router (debian) and I need to understand tc behaviour with virtual interfaces.

Examples:
I have eth0 and eth0:0, if I set a limit on eth0 datarate, is also eth0:0 involved?

eth0:0 is not an interface, it is an IPv4 alias on eth0. The real and only interface here is eth0.

...or...
If I have a tunnel OpenVPN (tun0) on eth0, how is managed data rate limit?

tun0 is an interface on its own. However, if encapsulating traffic happens to go through eth0, it will be affected by traffic shaping just as any other traffic going through eth0.


--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux