Shaper a routovani

Jaroslav Stribrsky Jaroslav.Stribrsky na vscht.cz
Čtvrtek Březen 16 10:22:52 CET 2000


Jaroslav Cibulka wrote:

> >....
> > insmod -o shaperX shaper
> > shapecfg attach shaper0 eth0
> > shapecfg speed shaper0 128000
> > ifconfig shaper0 10.0.0.Y netmask 255.255.255.240 broadcast
> > 255.255.255.223 up
> > route add 10.0.0.Y dev shaperX
>
> ???????
>
> iconfig shaperX klidne_porad_stejna_adresa
>

Jojo, preklep, mam tam
ifconfig shaper0 10.0.0.209 netmask 255.255.255.240 broadcast 255.255.255.223
up

> a nevim jestli to je jen preklep. ale:
> route add cilova_adresa dev shaperX
> (mas tam adresu shaperu - to je trosku k nicemu :-)))

route add 10.0.0.Y dev shaperX, kde Y je od 211 do 222 (stanice klientu)

jinak by to melo fungovat ?

    Jarda

--
****************************************************
  Ing. Jaroslav Stribrsky
  Vysoka skola chemicko-technologicka
  Ustav pocitacove a ridici techniky
  Technicka 1905, 166 28 Praha 6, CZ
  E-mail: Jaroslav.Stribrsky(at)vscht.cz
  WWW: http://staff.vscht.cz/~stribrsj
  Tel: +420-2-24352970
****************************************************




Další informace o konferenci Linux