Hello all! I have a small LAN at home and when someone starts to download (only one), interractive traffic (www, chat and online games) is impossible with standard kernel queues setup... So I started to shape. My ISP gives me a 512 kbits link to the Internet and a 100 Mbits link to some of the other big ISPs in my country. If I set the rate of the parent htb qdisc at 512 kbits, I will never use the MAN bandwidth from my network. If I set the rate of the parent htb qdisc at 100 Mbits, i cannot shape interractive traffic. Further, I would like to allocate for every station in the LAN a quantum of my Internet speed with ceiling but in MAN I want to have the full hardware speed if only one machine is connected, with any ceil. Any ideas would be VERY appreciated! I can''t imagine any good setup to meet these constraints. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hi there... I have an idea for you, just don''t ask me how to implement it. 1. bring up some virtual interface, I''m almost sure linux has some way of doing it. this interface should output data to your real interface. 2. try to route all MAN traffic trough this interface. you''ll need to know the destination addresses of this network. 3. shape the virtual interface.. I hope it''s possible.. I''ll be glad to know If you made it. Good luck.> Hello all! I have a small LAN at home and when someone > starts to download (only one), interractive traffic > (www, chat and online games) is impossible with > standard kernel queues setup... So I started to shape. > My ISP gives me a 512 kbits link to the Internet and a > 100 Mbits link to some of the other big ISPs in my > country. If I set the rate of the parent htb qdisc at > 512 kbits, I will never use the MAN bandwidth from my > network. If I set the rate of the parent htb qdisc at > 100 Mbits, i cannot shape interractive traffic. > Further, I would like to allocate for every station in > the LAN a quantum of my Internet speed with ceiling > but in MAN I want to have the full hardware speed if > only one machine is connected, with any ceil. > Any ideas would be VERY appreciated! I can''t imagine > any good setup to meet these constraints. >
That sounds like an overly complicated way to do it. I would just create a 512kbit class with subclasses for the internet traffic, and route all MAN traffic into a 100mbit class. Should be some way to know which ip''s will go to the MAN. Creating a virtual interface makes little sense here, since no matter what you''ll have to filter out the MAN traffic. - Jody Ori Shiloh wrote:>Hi there... >I have an idea for you, just don''t ask me how to implement it. > >1. bring up some virtual interface, I''m almost sure linux has some way of >doing it. this interface should output data to your real interface. >2. try to route all MAN traffic trough this interface. you''ll need to know the >destination addresses of this network. >3. shape the virtual interface.. > >I hope it''s possible.. I''ll be glad to know If you made it. >Good luck. > > > >>Hello all! I have a small LAN at home and when someone >>starts to download (only one), interractive traffic >>(www, chat and online games) is impossible with >>standard kernel queues setup... So I started to shape. >>My ISP gives me a 512 kbits link to the Internet and a >>100 Mbits link to some of the other big ISPs in my >>country. If I set the rate of the parent htb qdisc at >>512 kbits, I will never use the MAN bandwidth from my >>network. If I set the rate of the parent htb qdisc at >>100 Mbits, i cannot shape interractive traffic. >>Further, I would like to allocate for every station in >>the LAN a quantum of my Internet speed with ceiling >>but in MAN I want to have the full hardware speed if >>only one machine is connected, with any ceil. >>Any ideas would be VERY appreciated! I can''t imagine >>any good setup to meet these constraints. >> >> >> >_______________________________________________ >LARTC mailing list >LARTC@mailman.ds9a.nl >http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc > > >