Re: Using Token Bucket Filter to simulate a low bandwidth radio link

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




!!Hello,

!!I am attempting to use the LARTC traffic control to simulate a radio link that
!!has variable bandwidth and availability. The basic bandwidth could be as low
!!as 500 bits/sec but will generally be about 4000 bits/sec. If the simulated
!!radio link is unavailable (zero bandwidth) then packets should be queued
!!until a link is re-established.

!!i.e. Initial bandwidth is 5000bits/sec
!!then to 0 bits/sec
!!and back to 5000bits/sec

!!However, I am having several different problems

!!Problem 1:
!!Setting a very low bandwidth tbf - if the rate is less than my ethernet MTU
!!size then packets appear to just get thrown away

Hi ,

the module for simulating delay is sch_delay .

tc qdisc add dev eth0 root delay latency 300ms rate 100mbit

regards,

U.SivaKumar,

HCL Infosystems Limited.

 

 

 

_______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux