shaper
David Rohleder
davro na ics.muni.cz
Čtvrtek Září 9 13:01:28 CEST 1999
moravek na czcom.cz (Vojtech Moravek) writes:
> Dobry den,
>
> mam problemek
>
> mam pocitac s dvema sitovymi kartami, na kterych routuji nekolik siti, a
> potrebuji omezit traffic na vice ruznych ip adresach a sitich, ktere jsou
> zde routovany..
> myslel jsem si ze to udelam nasledovne:
>
> insmod shaper -o shaper0
> shapecfg attach shaper0 eth1
> shapecfg speed shaper0 64000
> ifconfig shaper0 0.0.0.0 up
tady bych dal ip adresu eth1
> route add -host 192.168.1.1 dev shaper0
> route add -host 128.1.2.1 dev shaper0
>
route ... dev xxxx je mozne zadat pouze pro primo pripojene site. Pro
site za nejakym dalsim routerem musite pouzit gateway a shapovat jej
na gateway.
Obrazek situace by nebyl na skodu.
--
-------------------------------------------------------------------------
David Rohleder davro na ics.muni.cz
Institute of Computer Science, Masaryk University
Brno, Czech Republic
-------------------------------------------------------------------------
Další informace o konferenci Linux