error in packets received in MCUeNetDevice node in a network with dual conectivity network

61 views
Skip to first unread message

Jose Luis Chavez

unread,
Jan 24, 2019, 9:52:41 AM1/24/19
to ns-3-users
Hi, everybody

I'm having an error due to the type packets received in McUeNetDevice node in a network with dual conectivity (Lte - mmWave). I ran the programm in the gdb debugger and got the following:

************* UPDATING CHANNEL MATRIX (instance 9) *************
m_lteOutputFilename LteSwitchStats.txt
UE register to enb 1
UE register to enb 2
UE register to enb 2
aborted. msg="McUeNetDevice::Receive - Unknown IP type...", file=../src/mmwave/model/mc-ue-net-device.cc, line=417
terminate called without an active exception

Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51    ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

the following is the portion of the code that generates the packages:

uint16_t dlPort = 1234;
  uint16_t ulPort = 2000;
  uint16_t otherPort = 3000;
  ApplicationContainer clientApps;
  ApplicationContainer serverApps;

  for (uint32_t u = 0; u < ueNodes.GetN (); ++u)
    {
      ++ulPort;
      ++otherPort;
      PacketSinkHelper dlPacketSinkHelper ("ns3::UdpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), dlPort));
      PacketSinkHelper ulPacketSinkHelper ("ns3::UdpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), ulPort));
      PacketSinkHelper packetSinkHelper ("ns3::UdpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), otherPort));
      serverApps.Add (dlPacketSinkHelper.Install (ueNodes.Get (u)));
      serverApps.Add (ulPacketSinkHelper.Install (remoteHost));
      serverApps.Add (packetSinkHelper.Install (ueNodes.Get (u)));

      UdpClientHelper dlClient (ueIpIface.GetAddress (u), dlPort);
      dlClient.SetAttribute ("Interval", TimeValue (MicroSeconds (interPacketInterval)));
      dlClient.SetAttribute ("MaxPackets", UintegerValue (0xFFFFFFFF));

      UdpClientHelper ulClient (remoteHostAddr, ulPort);
      ulClient.SetAttribute ("Interval", TimeValue (MicroSeconds (interPacketInterval)));
      ulClient.SetAttribute ("MaxPackets", UintegerValue (0xFFFFFFFF));

      clientApps.Add (dlClient.Install (remoteHost));

    }
  serverApps.Start (Seconds (0.01));
  clientApps.Start (Seconds (0.01));

-_________________________________________________________
please help me....

thanks
--Jose

tarcian...@gmail.com

unread,
Jun 10, 2022, 8:48:27 AM6/10/22
to ns-3-users
Hello,

I know it's been a long time since you posted this, but I'm experiencing the same type of error. So, I was wondering, did you find a solution to it?

Thank you in advance,

- Tarciana

Reply all
Reply to author
Forward
0 new messages