[Babel-users] Babel and hwsim virtual wireless interfaces

Benjamin Henrion bh at udev.org
Mon Apr 27 17:25:04 UTC 2009


On Mon, Apr 27, 2009 at 7:11 PM, Juliusz Chroboczek
<Juliusz.Chroboczek at pps.jussieu.fr> wrote:
>>> interface hwsim0 wired false
>
>> I just want to know if Babel recognises the interface as wired or wireless.
>
> Do ``kill -USR1 $(cat /var/run/babel.pid)''.
>
> Babel will dump its internal tables to the log file.  For each
> neighbour, it will say something like
>
>  Neighbour fe80::cc78:f832:a600:e20e dev beta reach ffff rxcost 96 txcost 96
>
> Assuming you didn't tweak the interface costs, if the rxcost is always
> either 96 or 65535, the interface is recognised as wired.  If the rxcost
> oscillates smoothly between 256 and 65535, then the interface is
> wireless.

I will try to see how to build a network simulator, because I don't
know how to connect hwsim interfaces to other virtual wireless
interfaces, neither how to generate packet loss. I wonder if the hwsim
interfaces are actually half-duplex.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403



More information about the Babel-users mailing list