aborted. cond="!(networkHere == networkThere)", msg="GlobalRouter::ProcessSingleBroadcastLink(): Network number confusion", file=../src/internet/model/global-router-interface.cc, line=846
terminate called without an active exception
YansWifiChannelHelper channel = YansWifiChannelHelper::Default ();
YansWifiPhyHelper phy = YansWifiPhyHelper::Default ();
phy.SetChannel (channel.Create());
phy.Set("ChannelNumber",UintegerValue(6));
//Installing protocol stacks on each group of nodes
InternetStackHelper stack;
stack.Install (p2pNodes);
Ipv4StaticRoutingHelper staticRoutingHelper;
stack.SetRoutingHelper (staticRoutingHelper);
stack.Install (wifiStaNodes_leftside);
stack.Install (wifiStaNodes_rightside);
address.SetBase ("10.1.1.0", "255.255.255.0");
Ipv4InterfaceContainer staDevices_leftsideInterfaces;
address.Assign (apDevices_leftside);
staDevices_leftsideInterfaces = address.Assign (staDevices_leftside);
NodeContainer::Iterator iter;
for (iter = wifiStaNodes_leftside.Begin (); iter != wifiStaNodes_leftside.End (); iter++)
{
Ptr<Ipv4StaticRouting> staticRouting;
staticRouting = Ipv4RoutingHelper::GetRouting <Ipv4StaticRouting> ((*iter)->GetObject<Ipv4> ()->GetRoutingProtocol ());
staticRouting->SetDefaultRoute ("<address of the AP>", 1 );
}
aborted. cond="!(networkHere == networkThere)", msg="GlobalRouter::ProcessSingleBroadcastLink(): Network number confusion", file=../src/internet/model/global-router-interface.cc, line=853