Managed switch? | PRIO chain
Saw this command on slashdot
(http://ask.slashdot.org/article.pl?sid/03/24/0434224&mode=flat&tid6&tid•
) to basically make a box behave like a managed switch:
"tc qdisc add dev eth1 root tbf rate 250kbit latency 20ms burst 2kb"
Followup:
http://ask.slashdot.org/comments.pl?sid1542&threshold=-1&commentsort=3&tid6&tid•&mode=flat&pid†53105
Will this work?
Is there a simpler way to have traffic forwarded between 2 interfaces (or ip's??) to behave like a managed switch?
Also:
Still no howto on the PRIO chain?
This chain is the simplest and probably fine for most home users. Thing is, there isn't a howto dedicated to it, it's covered only in passing in other howto's and been mentioned a bit on the mailing list.
Has anyone used this chain and was it good enough for your basic "I've got DSL at home and I want to give port 80 pririty over p2p" style basic tasks?
Signature · 10 lines
Catholic.org is just my email provider, my main email. [email protected] is my spammail account. ----------------------------------------- This email was sent using FREE Catholic Online Webmail! http://webmail.catholic.org/ _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Am Saturday 01 May 2004 15:14 schrieb Jago Pearce:
Quoted 1 line
Still no howto on the PRIO chain?
PRIO is documented in the LARTC Howto. Compared to monsters like CBQ, there's not really much you can say about it.
Quoted 3 lines
Has anyone used this chain and was it good enough for your basic "I've got DSL at home and I want to give port 80 pririty over p2p" style basic tasks?
I use PRIO in combination with HTB and SFQ. Yes, it does help a lot. I don't know if it alone is sufficient for P2P stuff, though. I think it helps a lot for me because I do a lot of the TOS modification stuff that's listed on www.docum.org (great page, btw. ;)
About P2P, I always wanted to have a closer look on IPP2P, which is a kernel/iptables patch designed to provide a reliable way to detect P2P traffic. However, whenever I tried, I couldn't get it to work. And it seems that the current version is incompatible with kernel 2.4.25 and above. Maybe it's time to upgrade my debian router to 2.6 kernel?
Andreas
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/