|
|
On which device do I have to shape ? |
|
Aliases does not exists in linux. The ethx:y notation is only used by ifconfig, the rest of the linux kernel sees a network card with multple ip addresses. So you can not shape on ethx:y and you have to use ethx.
You can mark the packets with iptables and give each alias an other mark. That mark can be used to put the packets in different classes so each class contains the packets of an alias. You can only shape outgoing traffic, but if you are shaping on a router, you can shape on both network cards so you can control both directions. If you have a ppoe connection to your eth0 device, you also have a ppp0 device. Shaping must be done on the ppp devive. The eth0 device only sees ppoe packets.
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||