Code: https://gist.github.com/anonymous/d586b6dd3a00e598acbada85dfdae3f3
I'm getting the following error:
assert failed. cond="m_ecmpRootExits.size () <= 1", msg="Assumed there is at most one exit from the root to this vertex", file=../src/internet/model/global-route-manager-impl.cc, line=316
terminate called without an active exception
Command ['/home/marahman/ndnSIM/ns-3/build/scratch/tcp-ap'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").
I have tried other forum posts on GlobalRouting for ECMP turning true and false, but none works. The other routing protocols are all said to be designed for ad hoc except for NixVector which is not working for me either.
ipv4.SetBase ("10.1.8.0", "255.255.255.0");
Ipv4InterfaceContainer wifiInterfaces = ipv4.Assign (staDevice);
Ipv4InterfaceContainer wifiApInterfaces = ipv4.Assign (apDevices);
aborted. cond="!(networkHere == networkThere)", msg="GlobalRouter::ProcessSingleBroadcastLink(): Network number confusion", file=../src/internet/model/global-router-interface.cc, line=852 terminate called without an active exception
I found a similar issue in this thread: https://groups.google.com/forum/#!topic/ns-3-users/hpFmzzYv7tw
I think I'm having similar issues and need to install global routing in all the nodes except the sta nodes and Static routing in sta nodes. This might be a dumb question but I am facing difficulties on how to install global routing on certain nodes and static routing on some other nodes.