Saw this command on slashdot (http://ask.slashdot.org/article.pl?sid=04/03/24/0434224&mode=flat&tid=126&tid=95 ) 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?sid=101542&threshold=-1&commentsort=3&tid=126&tid=95&mode=flat&pid=8653105 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? -- Catholic.org is just my email provider, my main email. jago25_98@hotmail.com is my spammail account. ----------------------------------------- This email was sent using FREE Catholic Online Webmail! http://webmail.catholic.org/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Am Saturday 01 May 2004 15:14 schrieb Jago Pearce:> 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.> 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/