[Ns-developers] GlobalRoutingManager and virtual interfaces
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Wed May 14 08:13:17 PDT 2008
On Wed, 2008-05-14 at 15:05 +0100, Gustavo Carneiro wrote:
> Hello, I am working on a VirtualNetDevice in ns-3.0.11, which is something
> similar to Linux "tap" interfaces.
>
> GlobalRoutingManager::PopulateRoutingTables () is segfaulting or aborting in
> this simulated network that I have. Maybe someone can give me some advice
> here.
>
> If I configure the virtual interface with EnableBroadcast() or
> EnablePointToPoint(), GlobalRoutingManager will assume the netdevice has a
> channel and try to do something with it. Obviously it doesn't have any
> channel, so GRM will just segfault.
Can't you just make your virtual device return a "virtual" channel which
implements the Channel API correctly ?
Mathieu
More information about the Ns-developers
mailing list