tc qdisc and multiple external IPs
Hello, there. I created a (mildly sloppy) prioritization script some time ago that looks somewhat like this:
Code:
prioritize() However, we have recently obtained a total of seven external static IP addresses and I am now trying to accomplish some more complex routing. The complicating element is the fact that my external interface (eth0) now has an additional six incarnations (eth0:0, eth0:1, ..., eth0:5) to accomodate the new IP addresses. As a result, the tc qdisc lines show above aren't sufficient; they only shape eth0's traffic and not the traffic on the other interfaces. Creating a new set of qdiscs for the other interfaces doesn't seem to be a good approach either. Our connection is a 1.5Mb/768Kb cable line; hence, handle "30:" above is capped at 650Kbit. This is designed to prevent non-interactive connections (FTP transfers, BitTorrent clients, Windows Update, etc.) from consuming the entire upstream and killing any chance we have of sending ACK packets or sending data for more interactive tasks (web browsing, SSH, Diablo II, etc.). For this reason, I would like to be able to shape all of the traffic leaving on any of these interfaces (eth0, eth0:0, ..., eth0:5) using the same set of qdiscs. So, the question is: how do I do this? Any references to documents or whatnot which may help me in solving this problem would be appreciated. Thanks! |
Perhaps I should confirm one of my assumptions. I am under the impression that the new interfaces (eth0:0, eth0:1, ..., eth0:5) are truly being treated as distinct. Am I correct in my assumption that I can't just add qdiscs to eth0 and have it pool for me? I just checked tc on my machine:
Code:
*******@*******:/etc/rc.d# tc qdisc |
My question seems to have been answered here: http://www.linuxquestions.org/questi...46#post1897846
In short, the answer to the question I posed in my second post is "yes." |
All times are GMT -5. The time now is 07:53 PM. |