[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors in LAN
You can insert an ErrorModel into LAN. There are different places
where you might place it:
1. On the sender side (e.g. between $ifq_ and $mac_ or before $ifq_).
Then only packet sent by this sender will be corrupted according to
the error model you use. Then all receivers will be dropping
corrupted packets from this sender at the mac layer.
2. On the receiver side (e.g. between $phy_ and $mac_ - receiver mac
drops, or $mac_ and $iface_ - but then specify drop-target for
errormodel, because the errormodel will be dropping packets
itself). Only this receiver will have errors no matter who the
sender is.
3. In a shared part of lan (between $phy_ and $channel_) so all
packets traversing the lan may be corrupted and dropped by
receivers at the mac layer.
I guess you can also use ErrorModule to induce flow-based errors
(only between particular source-destination on the lan). Insert it
the same place as in #1.
-Yuri
Chan Kwang Mien <[email protected]> writes:
> hi,
>
> does anyone know how i can input errors into a LAN ?
>
> i want to down the link connecting nodes in a LAN. does anyone know how i
> can do that ? i was thinking of crashing the virtual node but don�t know how
> to do
> that.
>
> thanks,
> Kwang Mien