I'm having trouble understanding how the BridgeNetworkDevice works.
- I want to simulate 20 UE, 1 Enb, 1 Pgw and 1 remote server.
- I use a pipeline with SUMO in order to provide NS3 the positions of the Ues.
me to docker in order to control my containers (as I am more familiar with docker than regular lxc). They provide an example that simulate an ad-hoc network that is based
I wanted to tune this example in order to replace the ad-hoc network part with an LTE.
But then, I
read here that BridgeNetDevices work only with WiFi and CSMA, (however I'm having trouble understanding if it also is the case for
TapBridgeNetworkDevices).
ACTUALPROBLEM
Which brings me to my problem, I tried the following :
NS_LOG_UNCOND ("Creating tap bridges");
std::string TapBaseName = "emu";
TapBridgeHelper tapBridge;
tapBridge.SetAttribute ("Mode", StringValue ("UseLocal"));
for (int i = 0; i < NODES_NB; i++)
{
std::stringstream tapName;
tapName << "tap-" << TapBaseName << (i+1) ;
// NS_LOG_UNCOND ("Tap bridge = " + tapName.str ());
tapBridge.SetAttribute ("DeviceName", StringValue (tapName.str ()));
tapBridge.Install (nodePool.Get (i), ueLteDevs.Get (i));
/* Error */
}
That returns the following :
msg="TapBridge::SetBridgedDevice: Device does not support eui 48 addresses: cannot be added to bridge.",
file=../src/tap-bridge/model/tap-bridge.cc, line=898
And honestly I did not manage to get where this comes from
(*I'm sure I'm missing something obvious, please don't throw these rocks at me*), even though I think that it is probably linked to what I said in the introduction.
I found that I could be able to bypass this issue using CsmaNetDevices on top of UeDevice and EnbDevice, however this would add an additional hop and I'm not sure if that is the best way of doing it.
- Is there a "clean" way to do this or have I to go with the dirty one ?
Thank you for your time, any help is appreciated.
I'm putting my example as an attachment, In the mean time I'm trying to isolate the issue by building a small example that would not require the whole SUMO and NS3DockerEmulator in order to reproduce the error, let me know if you don't need it.
Quentin Ricard.