Will 2 applications work simultaneously on one node.

900 views
Skip to first unread message

Jakub Sphinx

unread,
Apr 22, 2015, 4:17:21 PM4/22/15
to ns-3-...@googlegroups.com

Hello,
I have tried to play around with the Third example from the the tutorials. I have managed to define two interfaces, two channels, two addresses for each node, and assigned different frequencies for each channel.
I know so far that the server can not be installed on the node using the node interface address, while it is possible when I will install client, as illustrated by the example.

 UdpEchoServerHelper echoServer (44);

  ApplicationContainer serverApps = echoServer.Install (wifiStaNodes.Get (0));
  serverApps.Start (Seconds (0.0));
  serverApps.Stop (Seconds (10.0));

  UdpEchoClientHelper echoClient (wifiInterfaces.GetAddress (0), 44);
  echoClient.SetAttribute ("MaxPackets", UintegerValue (10));
  echoClient.SetAttribute ("Interval", TimeValue (Seconds (0.0)));
  echoClient.SetAttribute ("PacketSize", UintegerValue (1024));

Instead, I have tried to install two Servers with different port numbers as the following, but it seems that they do not work simultaneously.

  Ipv4AddressHelper address;

  address.SetBase ("1.1.1.0", "255.255.255.0");
  Ipv4InterfaceContainer wifiInterfaces;
  wifiInterfaces = address.Assign (staDevices);

  address.SetBase ("2.2.2.0", "255.255.255.0");
  Ipv4InterfaceContainer wifiInterfacesx;
  wifiInterfacesx = address.Assign (staDevicesx);

  UdpEchoServerHelper echoServer (44);

  ApplicationContainer serverApps = echoServer.Install (wifiStaNodes.Get (0));
  serverApps.Start (Seconds (0.0));
  serverApps.Stop (Seconds (10.0));

  UdpEchoClientHelper echoClient (wifiInterfaces.GetAddress (0), 44);
  echoClient.SetAttribute ("MaxPackets", UintegerValue (10));
  echoClient.SetAttribute ("Interval", TimeValue (Seconds (0.0)));
  echoClient.SetAttribute ("PacketSize", UintegerValue (1024));

  ApplicationContainer clientApps = echoClient.Install (wifiStaNodes.Get (nWifi-1));
  clientApps.Start (Seconds (0.0));
  clientApps.Stop (Seconds (10.0));

  UdpEchoServerHelper echoServerx (55);

  ApplicationContainer serverAppsx = echoServerx.Install (wifiStaNodes.Get (0));
  serverApps.Start (Seconds (0.0));
  serverApps.Stop (Seconds (10.0));

  UdpEchoClientHelper echoClientx (wifiInterfacesx.GetAddress (0), 55);
  echoClientx.SetAttribute ("MaxPackets", UintegerValue (10));
  echoClientx.SetAttribute ("Interval", TimeValue (Seconds (0.0)));
  echoClientx.SetAttribute ("PacketSize", UintegerValue (1024));

  ApplicationContainer clientAppsx = echoClientx.Install (wifiStaNodes.Get (nWifi-1));
  clientAppsx.Start (Seconds (0.0));
  clientAppsx.Stop (Seconds (10.0));

Could anybody please comment on this

Regards
Jakub

Tommaso Pecorella

unread,
Apr 22, 2015, 4:46:06 PM4/22/15
to ns-3-...@googlegroups.com
Hi,

short and simple: you can install and use as many applications as you want on a single node. They'll all work together (provided that there's no collision on opening sockets and ports.

I must also point out a couple of imprecisions (for the sake of future readers).
You say "the server can not be installed on the node using the node interface address, while it is possible when I will install client"

This is not true.
The UdpEchoServer does not contain an address to be blinded to. I.e., it will reply to any UDP packet incoming on the specified port, regardless of the address.
This (of course) doesn't mind that you can't define a server bound to a specific address or interface... it's only a limitation of the UdpEchoServer.

Moreover, also for the client this is incorrect. You specify the destination address in the client, not the source address. The client will use the normal IP routing to decide the outgoing interface (and the source address).

This was the introduction.

The main body is: you could have found a bug, or you could have found a patched bug.
Without the full script and without knowing what version of ns-3 you're using, no conclusion is possible.

As a side note, I hope you're not using a version older than 3.21 (we're at 3.22 and working toward 3.23).

T.

On Wednesday, April 22, 2015 at 10:17:21 PM UTC+2, Jakub Sphinx wrote:

Hello,
I have tried to play around with the Third example from the the tutorials. I have managed to define two interfaces, two channels, two addresses for each node, and assigned different frequencies for each channel.
I know so far that the server can not be installed on the node using the node interface address, while it is possible when I will install client, as illustrated by the example.


Hi,

 

Mohammad Ya'kub Abualhoul

unread,
Apr 22, 2015, 5:00:42 PM4/22/15
to ns-3-...@googlegroups.com

Thank you for the clarification. some times miss-expressing the problem bring up more clear explanation.

I am using ns-3.22 which is also my first version I use:

and I modified the third.cc as following:

#include "ns3/core-module.h"
#include "ns3/point-to-point-module.h"
#include "ns3/network-module.h"
#include "ns3/applications-module.h"
#include "ns3/wifi-module.h"
#include "ns3/mobility-module.h"
#include "ns3/csma-module.h"
#include "ns3/internet-module.h"

#include "ns3/wifi-net-device.h" // OYunadded
#include "ns3/names.h"
#include "ns3/ocb-wifi-mac.h"
#include "ns3/wifi-80211p-helper.h"
#include "ns3/wave-mac-helper.h"

using namespace ns3;

NS_LOG_COMPONENT_DEFINE ("ThirdScriptExample");

int
main (int argc, char *argv[])
{
  bool verbose = true;
//  uint32_t nCsma = 3;
  uint32_t nWifi = 3;

  CommandLine cmd;
//  cmd.AddValue ("nCsma", "Number of \"extra\" CSMA nodes/devices", nCsma);
  cmd.AddValue ("nWifi", "Number of wifi STA devices", nWifi);
  cmd.AddValue ("verbose", "Tell echo applications to log if true", verbose);

  cmd.Parse (argc,argv);

  if (nWifi > 18)
    {
      std::cout << "Number of wifi nodes " << nWifi <<
                   " specified exceeds the mobility bounding box" << std::endl;
      exit (1);
    }

  if (verbose)
    {
      LogComponentEnable ("UdpEchoClientApplication", LOG_LEVEL_INFO);
      LogComponentEnable ("UdpEchoServerApplication", LOG_LEVEL_INFO);
    }

  NodeContainer wifiStaNodes;
  wifiStaNodes.Create (nWifi);

//  YansWifiChannelHelper channel = YansWifiChannelHelper::Default ();
  YansWifiChannelHelper Channel = YansWifiChannelHelper::Default ();
  YansWifiChannelHelper Channelx = YansWifiChannelHelper::Default ();

  YansWifiPhyHelper phy =  YansWifiPhyHelper::Default ();
  YansWifiPhyHelper phyx =  YansWifiPhyHelper::Default ();

  Ptr<YansWifiChannel> channel = Channel.Create ();
  phy.SetChannel (channel);
//  phy.Set("ChannelNumber",UintegerValue(1));
  phy.Set ("Frequency", UintegerValue (900));

  Ptr<YansWifiChannel> channelx = Channelx.Create ();
    phyx.SetChannel (channelx);
    phyx.Set ("Frequency", UintegerValue (700));

  Wifi80211pHelper wifi = Wifi80211pHelper::Default ();
  wifi.SetRemoteStationManager ("ns3::ConstantRateWifiManager",
                                        "DataMode",StringValue ("OfdmRate6MbpsBW10MHz"),
                                        "NonUnicastMode",StringValue ("OfdmRate6MbpsBW10MHz"),
                                        "ControlMode",StringValue ("OfdmRate6MbpsBW10MHz"));
  Wifi80211pHelper wifix = Wifi80211pHelper::Default ();
  wifix.SetRemoteStationManager ("ns3::ConstantRateWifiManager",
                                        "DataMode",StringValue ("OfdmRate6MbpsBW10MHz"),
                                        "NonUnicastMode",StringValue ("OfdmRate6MbpsBW10MHz"),
                                        "ControlMode",StringValue ("OfdmRate6MbpsBW10MHz"));

  QosWaveMacHelper mac = QosWaveMacHelper::Default ();
  QosWaveMacHelper macx = QosWaveMacHelper::Default ();

  NetDeviceContainer staDevices;
  staDevices = wifi.Install (phy, mac, wifiStaNodes);

  NetDeviceContainer staDevicesx;
  staDevicesx = wifi.Install (phyx, macx, wifiStaNodes);

  MobilityHelper mobility;

  mobility.SetPositionAllocator ("ns3::GridPositionAllocator",
                                 "MinX", DoubleValue (0.0),
                                 "MinY", DoubleValue (0.0),
                                 "DeltaX", DoubleValue (5.0),
                                 "DeltaY", DoubleValue (10.0),
                                 "GridWidth", UintegerValue (3),
                                 "LayoutType", StringValue ("RowFirst"));

  mobility.SetMobilityModel ("ns3::RandomWalk2dMobilityModel",
                             "Bounds", RectangleValue (Rectangle (-50, 50, -50, 50)));
  mobility.Install (wifiStaNodes);

  InternetStackHelper stack;
  stack.Install (wifiStaNodes);

  Ipv4AddressHelper address;

  address.SetBase ("1.1.1.0", "255.255.255.0");
  Ipv4InterfaceContainer wifiInterfaces;
  wifiInterfaces = address.Assign (staDevices);

  address.SetBase ("2.2.2.0", "255.255.255.0");
  Ipv4InterfaceContainer wifiInterfacesx;
  wifiInterfacesx = address.Assign (staDevicesx);

  UdpEchoServerHelper echoServer (44);

  ApplicationContainer serverApps = echoServer.Install (wifiStaNodes.Get (0));
  serverApps.Start (Seconds (0.0));
  serverApps.Stop (Seconds (10.0));

  UdpEchoClientHelper echoClient (wifiInterfaces.GetAddress (0), 44);
  echoClient.SetAttribute ("MaxPackets", UintegerValue (10));
  echoClient.SetAttribute ("Interval", TimeValue (Seconds (0.0)));
  echoClient.SetAttribute ("PacketSize", UintegerValue (1024));

  ApplicationContainer clientApps = echoClient.Install (wifiStaNodes.Get (nWifi-1));
  clientApps.Start (Seconds (0.0));
  clientApps.Stop (Seconds (10.0));

  UdpEchoServerHelper echoServerx (55);

  ApplicationContainer serverAppsx = echoServerx.Install (wifiStaNodes.Get (0));
  serverApps.Start (Seconds (0.0));
  serverApps.Stop (Seconds (10.0));

  UdpEchoClientHelper echoClientx (wifiInterfacesx.GetAddress (0), 55);
  echoClientx.SetAttribute ("MaxPackets", UintegerValue (10));
  echoClientx.SetAttribute ("Interval", TimeValue (Seconds (0.0)));
  echoClientx.SetAttribute ("PacketSize", UintegerValue (1024));

  ApplicationContainer clientAppsx = echoClientx.Install (wifiStaNodes.Get (nWifi-1));
  clientAppsx.Start (Seconds (0.0));
  clientAppsx.Stop (Seconds (10.0));

  Ipv4GlobalRoutingHelper::PopulateRoutingTables ();

  Simulator::Stop (Seconds (10.0));
  AsciiTraceHelper ascii;
  phy.EnableAsciiAll(ascii.CreateFileStream("wiii.tr"));

  Simulator::Run ();
  Simulator::Destroy ();
  return 0;
}

Thank you

Jakub


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

Tommaso Pecorella

unread,
Apr 22, 2015, 5:51:32 PM4/22/15
to ns-3-...@googlegroups.com
Hi,

two bad ideas:

  echoClient.SetAttribute ("Interval", TimeValue (Seconds (0.0)));

This will make the client send all its data at the same time. This will flood the ARP cache (the node still needs to probe for the next hop MAC address) and packets will be dropped.
Use a more logical interval.

  clientApps.Start (Seconds (0.0));
  clientApps
.Stop (Seconds (10.0));

Have the client start after and stop before the server. Otherwise it could start sending packets before the server is ready (the opposite for the stop).

Cheers,

T.

Jakub Sphinx

unread,
Apr 22, 2015, 5:57:31 PM4/22/15
to ns-3-...@googlegroups.com
Thank you. Well appreciated help

Jakub Sphinx

unread,
Apr 23, 2015, 1:01:50 PM4/23/15
to ns-3-...@googlegroups.com
One Last concern please regarding this, I have changed the time Interval and made the both Servers starting one second in advance, following the examples.
Should not I expect to receive packet on the both interfaces of the client at the same time, Why I am still having delay, I expected to have two physically seperated interfaces.

At time 1s client sent 1024 bytes to 1.1.1.1 port 44
At time 1s client sent 1024 bytes to 2.2.2.1 port 55
At time 1.00817s server received 1024 bytes from 1.1.1.2 port 49153
At time 1.00817s server sent 1024 bytes to 1.1.1.2 port 49153
At time 1.0103s server received 1024 bytes from 2.2.2.2 port 49154
At time 1.0103s server sent 1024 bytes to 2.2.2.2 port 49154
At time 1.01331s client received 1024 bytes from 1.1.1.1 port 44
At time 1.02144s client received 1024 bytes from 2.2.2.1 port 55

Jakub

unread,
Apr 23, 2015, 1:57:27 PM4/23/15
to ns-3-...@googlegroups.com

Sorry for being buggy here, but I am trying to understand a fundamental issue regarding Redundancy.

When I am sending more than one packet, there is no delay in receiving  any packet after the first one, but there is always presented delay with the first packet arrival? Do I miss something here ?

Thank you'r comments.

At time 1s client sent 1024 bytes to 1.1.1.1 port 44
At time 1s client sent 1024 bytes to 2.2.2.1 port 55
At time 1.00817s server received 1024 bytes from 1.1.1.2 port 49153
At time 1.00817s server sent 1024 bytes to 1.1.1.2 port 49153
At time 1.0103s server received 1024 bytes from 2.2.2.2 port 49154
At time 1.0103s server sent 1024 bytes to 2.2.2.2 port 49154
At time 1.01331s client received 1024 bytes from 1.1.1.1 port 44    --------------- 1st Packet reception delay on the two interfaces ??
At time 1.02144s client received 1024 bytes from 2.2.2.1 port 55
At time 2s client sent 1024 bytes to 1.1.1.1 port 44
At time 2s client sent 1024 bytes to 2.2.2.1 port 55
At time 2.0015s server received 1024 bytes from 1.1.1.2 port 49153
At time 2.0015s server sent 1024 bytes to 1.1.1.2 port 49153
At time 2.0015s server received 1024 bytes from 2.2.2.2 port 49154
At time 2.0015s server sent 1024 bytes to 2.2.2.2 port 49154
At time 2.00324s client received 1024 bytes from 1.1.1.1 port 44    ---------------No Delay for the second Packet
At time 2.00324s client received 1024 bytes from 2.2.2.1 port 55

Tommaso Pecorella

unread,
Apr 23, 2015, 2:19:32 PM4/23/15
to ns-3-...@googlegroups.com
One word: random number generators.
The interfaces have random parts (e.g., the random backoff), so it's normal to have slightly different results.

This is the most plausible explanation. However, on my computer (0.1 sec interval, apps starting at 0.1) all is synchronous.
As a consequence, I'd suggets to check the pcap files to be sure of what's happening (i.e., that the packets are sent on the right channels).

Cheers,

T.


On Thursday, April 23, 2015 at 7:01:50 PM UTC+2, Jakub wrote:

Jakub

unread,
Apr 23, 2015, 2:19:42 PM4/23/15
to ns-3-...@googlegroups.com
I hope it will be useful for future NS-3 beginners, when tackling the fundamental issues, it seems that port creation require about 8 ms in my case, and this is presented in the 1st packet reception, as soon as the time interval for echoClient is larger than 8 ms, nothing will be observed with the second reception.

If the interval in the both clients are set to be less than 8 ms such as
  echoClient.SetAttribute ("Interval", TimeValue (MilliSeconds (1.0)));
The delay is accumulated over every reception.

Thank you Tommaso.

...

Tommaso Pecorella

unread,
Apr 23, 2015, 2:27:06 PM4/23/15
to ns-3-...@googlegroups.com
Not really... 8ms is the time needed to perform the ARP resolution :)
The port are created right away, but the first packet will trigger an ARP resolution (two indeed, one for the client, one for the server).

If the interval is too short, the packets will be queued until the ARP is finished. And they could be discarded too (the ARP queue is limited).
Never underestimate the ARP...

Cheers,

T.

Jakub

unread,
Apr 23, 2015, 2:37:20 PM4/23/15
to ns-3-...@googlegroups.com
Thank you Tommaso for the clarification. It's the explanation try from who does not know anything about Address resolution involvement here, its always great to  know new things.

Regards
Jakub

Tommaso Pecorella

unread,
Apr 23, 2015, 3:03:44 PM4/23/15
to ns-3-...@googlegroups.com
Don't worry. The first time I met ARP effect I was puzzled too.

Cheers,

T.

Durgesh Kshirsagar

unread,
Dec 2, 2021, 12:17:31 PM12/2/21
to ns-3-users
Sir, I am also facing same issue. I have two interfaces. One is 802.11n(10.0.0.0) and 802.11ac(192.168.0.0). When I am sending packets between 192.168.0.0 network's nodes they are received from 10.0.0.0. I am really struggling to this part. I will really appreicate your help sir. Below is the code of my wifi and application installation.


    
        YansWifiChannelHelper wifiChannel = YansWifiChannelHelper::Default();
    //    wifiChannel.SetPropagationDelay("ns3::ConstantSpeedPropagationDelayModel");
        wifiChannel.AddPropagationLoss("ns3::RangePropagationLossModel", "MaxRange",
                DoubleValue(250));
        Ptr<YansWifiChannel> wifi_channel = wifiChannel.Create();
    
        YansWifiPhyHelper wifiPhyHelper = YansWifiPhyHelper::Default();
        wifiPhyHelper.SetChannel(wifi_channel);
        wifiPhyHelper.Set("ShortGuardEnabled", BooleanValue(true));
        wifiPhyHelper.Set("TxAntennas", UintegerValue(2));
        wifiPhyHelper.Set("RxAntennas", UintegerValue(2));
        wifiPhyHelper.Set("ChannelWidth", UintegerValue(20));
        wifiPhyHelper.Set("ChannelNumber", UintegerValue(1));
    
        HtWifiMacHelper mac_n = HtWifiMacHelper::Default();
        mac_n.SetType("ns3::AdhocWifiMac");
    
        WifiHelper wifi_n = WifiHelper::Default();
        wifi_n.SetStandard(WIFI_PHY_STANDARD_80211n_2_4GHZ);
        wifi_n.SetRemoteStationManager("ns3::ConstantRateWifiManager", "DataMode",
                StringValue("HtMcs0"), "ControlMode", StringValue("HtMcs0"));
        devices = wifi_n.Install(wifiPhyHelper, mac_n, nodes);
   
//ferriesSTA are three nodes which are 0, 1 and 2.
    ferriesSTA.Add(nodes.Get(0));
        ferriesSTA.Add(nodes.Get(1));
        ferriesSTA.Add(nodes.Get(2));

        YansWifiPhyHelper wifiPhy_ac = YansWifiPhyHelper::Default();
        wifiPhy_ac.SetChannel(wifi_channel);
        wifiPhy_ac.Set("ShortGuardEnabled", BooleanValue(true));
        //wifiPhy_ac.Set("TxAntennas", UintegerValue(2));
        //wifiPhy_ac.Set("RxAntennas", UintegerValue(2));
        wifiPhy_ac.Set("ChannelWidth", UintegerValue(80));
        wifiPhy_ac.Set("ChannelNumber", UintegerValue(42));
    
        VhtWifiMacHelper mac_ac = VhtWifiMacHelper::Default();
        mac_ac.SetType("ns3::AdhocWifiMac");
    
        WifiHelper wifi_ac = WifiHelper::Default();
        wifi_ac.SetStandard(WIFI_PHY_STANDARD_80211ac);
        //wifi_ac.SetRemoteStationManager("ns3::ConstantRateWifiManager", "DataMode",
        //    StringValue("VhtMcs0"), "ControlMode", StringValue("VhtMcs0"));
    
        //wifiPhy_ac.SetPcapDataLinkType (YansWifiPhyHelper::DLT_IEEE802_11_RADIO);
        fastDevices = wifi_ac.Install(wifiPhy_ac, mac_ac, ferriesSTA);

Code to install application
Ptr<UniformRandomVariable> x = CreateObject<UniformRandomVariable>();
    TypeId udp_tid = TypeId::LookupByName("ns3::UdpSocketFactory");
    Ptr<DtnApp> app[nodeNum];

    for (uint32_t i = 0; i < nodeNum; ++i) {
     app[i] = CreateObject<DtnApp>();
     app[i]->Setup(nodes.Get(i));
     nodes.Get(i)->AddApplication(app[i]);
     app[i]->SetStartTime(Seconds(0.5 + 0.00001 * i));
     app[i]->SetStopTime(Seconds(duration - 10));

     //Destination nodes
     Ptr<Socket> dst = Socket::CreateSocket(nodes.Get(i), udp_tid);
     char dststring[1024] = "";
     sprintf(dststring, "10.0.0.%d", (i + 1));
     InetSocketAddress dstlocaladdr(Ipv4Address(dststring), 50001);
     dst->Bind(dstlocaladdr);
     dst->SetRecvCallback(MakeCallback(&DtnApp::ReceiveBundle, app[i]));

     Ptr<Socket> source = Socket::CreateSocket(nodes.Get(i), udp_tid);
     InetSocketAddress remote(Ipv4Address("10.255.255.255"), 80);
     source->SetAllowBroadcast(true);
     source->Connect(remote);

     app[i]->SendHello(source, duration, Seconds(0.1 + 0.00085 * i), 1);

     char srcip[1024] = "";
     sprintf(srcip, "10.0.0.%d", (i + 1));
     Ptr<Socket> recvSink = Socket::CreateSocket(nodes.Get(i), udp_tid);
     InetSocketAddress local(Ipv4Address(srcip), 80);
     recvSink->Bind(local);
     recvSink->SetRecvCallback(MakeCallback(&DtnApp::ReceiveHello, app[i]));
     }

    Ptr<DtnApp> app1[3];
    for (uint32_t i = 0; i < 3; ++i) {
        app1[i] = CreateObject<DtnApp>();
        app1[i]->Setup(nodes.Get(i));
        nodes.Get(i)->AddApplication(app1[i]);
        app1[i]->SetStartTime(Seconds(200 + 0.00001 * i));
        app1[i]->SetStopTime(Seconds(duration - 10));

        //char dststring1[1024] = "";
        //sprintf(dststring1, "192.168.0.%d", (i + 1));
        Ptr<Socket> dst1 = Socket::CreateSocket(nodes.Get(i), udp_tid);
        InetSocketAddress dstlocaladdr1(Ipv4Address("192.168.0.1"), 50001);
        dst1->Bind(dstlocaladdr1);
        dst1->SetRecvCallback(MakeCallback(&DtnApp::ReceiveBundle, app1[i]));
        //    NS_LOG_UNCOND(dststring1);

        Ptr<Socket> source = Socket::CreateSocket(nodes.Get(i), udp_tid);
        InetSocketAddress remote(Ipv4Address("255.255.255.255"), 80);
        source->SetAllowBroadcast(true);
        source->Connect(remote);
        app1[i]->SendHello(source, duration, Seconds(0.1 + 0.00085 * i), 1);

        char srcip[1024] = "";
        sprintf(srcip, "192.168.0.%d", (i + 1));
        Ptr<Socket> recvSink = Socket::CreateSocket(nodes.Get(i), udp_tid);
        InetSocketAddress local(Ipv4Address(srcip), 80);
        recvSink->Bind(local);
        recvSink->SetRecvCallback(MakeCallback(&DtnApp::ReceiveHello, app1[i]));
    }

Output:

Waf: Entering directory `/opt/ns-allinone-3.25/ns-3.25/build'
Waf: Leaving directory `/opt/ns-allinone-3.25/ns-3.25/build'
Build commands will be stored in build/compile_commands.json
'build' finished successfully (1.108s)
Creating 11 nodes.
Starting simulation for 300s, seed value 10
192.168.0.7 sending 1817 bundle to 192.168.0.1 at time 11.699
10.0.0.7
10.0.0.11 Receiving bundle 1817 from: 10.0.0.7
10.0.0.11
10.0.0.7 Receiving bundle 1853 from: 10.0.0.11
192.168.0.7 sending 3898 bundle to 192.168.0.1 at time 24.974
192.168.0.11 sending 5935 bundle to 192.168.0.1 at time 38.088
192.168.0.7 sending 6751 bundle to 192.168.0.1 at time 43.24
192.168.0.10 sending 9219 bundle to 192.168.0.1 at time 59.092
192.168.0.6 sending 10732 bundle to 192.168.0.1 at time 68.748
192.168.0.8 sending 11843 bundle to 192.168.0.1 at time 75.818
192.168.0.6 sending 12849 bundle to 192.168.0.1 at time 82.211
192.168.0.11 sending 14603 bundle to 192.168.0.1 at time 93.586
192.168.0.5 sending 16577 bundle to 192.168.0.1 at time 106.18
10.0.0.10
192.168.0.10 sending 17689 bundle to 192.168.0.1 at time 113.24
10.0.0.3 Receiving bundle 17689 from: 10.0.0.10
10.0.0.3
10.0.0.10 Receiving bundle 17722 from: 10.0.0.3
192.168.0.5 sending 18817 bundle to 192.168.0.1 at time 120.42
10.0.0.5
10.0.0.5 Receiving bundle 9219 from: 10.0.0.10
10.0.0.10 Receiving bundle 19255 from: 10.0.0.5
10.0.0.5 Receiving bundle 17689 from: 10.0.0.10
10.0.0.10 Receiving bundle 19259 from: 10.0.0.5
192.168.0.9 sending 21172 bundle to 192.168.0.1 at time 135.35
192.168.0.8 sending 22935 bundle to 192.168.0.1 at time 146.69
10.0.0.6
192.168.0.10 sending 24757 bundle to 192.168.0.1 at time 158.38
10.0.0.8
192.168.0.5 sending 25996 bundle to 192.168.0.1 at time 166.23
192.168.0.9 sending 26670 bundle to 192.168.0.1 at time 170.51
192.168.0.11 sending 29472 bundle to 192.168.0.1 at time 188.47
10.0.0.9
192.168.0.10 sending 31089 bundle to 192.168.0.1 at time 198.88
192.168.0.2 sending 31260 bundle to 192.168.0.1 at time 200
192.168.0.3 sending 31261 bundle to 192.168.0.1 at time 200
10.0.0.3
192.168.0.1 Receiving bundle 31261 from: 10.0.0.3
10.0.0.1
At time 200.71 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.70546 bundle hop count: 1 sequence number: 31261 bundle queue occupancy: 0
At time 200.71 send antipacket with sequence number 31261 original ts 200 new ts 0 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 31382 from: 10.0.0.1
192.168.0.10 sending 31578 bundle to 192.168.0.1 at time 202
192.168.0.2 sending 32847 bundle to 192.168.0.1 at time 210
192.168.0.3 sending 32848 bundle to 192.168.0.1 at time 210
192.168.0.1 Receiving bundle 32848 from: 10.0.0.3
At time 210.7 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.70148 bundle hop count: 1 sequence number: 32848 bundle queue occupancy: 0
At time 210.7 send antipacket with sequence number 32848 original ts 210 new ts 0 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 32966 from: 10.0.0.1
192.168.0.9 sending 33193 bundle to 192.168.0.1 at time 212.03
192.168.0.2 sending 34453 bundle to 192.168.0.1 at time 220
192.168.0.3 sending 34454 bundle to 192.168.0.1 at time 220
192.168.0.1 Receiving bundle 34454 from: 10.0.0.3
At time 220.71 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.70576 bundle hop count: 1 sequence number: 34454 bundle queue occupancy: 0
At time 220.71 send antipacket with sequence number 34454 original ts 220 new ts 0 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 34581 from: 10.0.0.1
192.168.0.10 sending 35460 bundle to 192.168.0.1 at time 226.13
192.168.0.2 sending 36082 bundle to 192.168.0.1 at time 230
192.168.0.3 sending 36083 bundle to 192.168.0.1 at time 230
192.168.0.9 sending 37406 bundle to 192.168.0.1 at time 237.93
192.168.0.2 sending 37734 bundle to 192.168.0.1 at time 240
192.168.0.3 sending 37735 bundle to 192.168.0.1 at time 240
192.168.0.1 Receiving bundle 37735 from: 10.0.0.3
At time 240.71 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.70568 bundle hop count: 1 sequence number: 37735 bundle queue occupancy: 0
At time 240.71 send antipacket with sequence number 37735 original ts 240 new ts 0 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 37866 from: 10.0.0.1
192.168.0.8 sending 38353 bundle to 192.168.0.1 at time 243.56
192.168.0.2 sending 39418 bundle to 192.168.0.1 at time 250
192.168.0.3 sending 39419 bundle to 192.168.0.1 at time 250
192.168.0.1 Receiving bundle 39419 from: 10.0.0.3
At time 250.71 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.7058 bundle hop count: 1 sequence number: 39419 bundle queue occupancy: 0
At time 250.71 send antipacket with sequence number 39419 original ts 250 new ts 0.705 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 39548 from: 10.0.0.1
192.168.0.9 sending 40317 bundle to 192.168.0.1 at time 254.98
192.168.0.2 sending 41188 bundle to 192.168.0.1 at time 260
192.168.0.3 sending 41189 bundle to 192.168.0.1 at time 260
192.168.0.1 Receiving bundle 41189 from: 10.0.0.3
At time 260.71 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.70621 bundle hop count: 1 sequence number: 41189 bundle queue occupancy: 0
At time 260.71 send antipacket with sequence number 41189 original ts 260 new ts 10.706 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 41332 from: 10.0.0.1
192.168.0.4 sending 41951 bundle to 192.168.0.1 at time 263.99
10.0.0.4
10.0.0.10 Receiving bundle 41951 from: 10.0.0.4
10.0.0.4 Receiving bundle 41991 from: 10.0.0.10
192.168.0.2 sending 43059 bundle to 192.168.0.1 at time 270
192.168.0.3 sending 43060 bundle to 192.168.0.1 at time 270
192.168.0.1 Receiving bundle 43060 from: 10.0.0.3
At time 270.71 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.70721 bundle hop count: 1 sequence number: 43060 bundle queue occupancy: 0
At time 270.71 send antipacket with sequence number 43060 original ts 270 new ts 20.707 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 43225 from: 10.0.0.1
192.168.0.4 sending 43829 bundle to 192.168.0.1 at time 273.94
192.168.0.2 sending 44966 bundle to 192.168.0.1 at time 280
192.168.0.3 sending 44967 bundle to 192.168.0.1 at time 280
192.168.0.1 Receiving bundle 44967 from: 10.0.0.3
At time 280.71 received 100 bytes at 192.168.0.1 (final dst) from 10.0.0.3 delay: 0.70821 bundle hop count: 1 sequence number: 44967 bundle queue occupancy: 0
At time 280.71 send antipacket with sequence number 44967 original ts 280 new ts 30.708 from 192.168.0.1 to 192.168.0.3
10.0.0.3 Receiving bundle 45114 from: 10.0.0.1
192.168.0.9 sending 45912 bundle to 192.168.0.1 at time 284.72
192.168.0.2 sending 46915 bundle to 192.168.0.1 at time 290
192.168.0.3 sending 46916 bundle to 192.168.0.1 at time 290
Finished the simulation!

Reply all
Reply to author
Forward
0 new messages