- char* router_id = bprintf("router_%s%d%s", cluster->prefix, i, cluster->suffix);
- HostNs3* host_dst = new HostNs3();
- xbt_lib_set(as_router_lib, router_id, NS3_ASR_LEVEL, host_dst);
+ // Routers don't create a router on the other end of the private link by themselves.
+ // We just need this router to be given an ID so we create a temporary NetCardNS3 so that it gets one
+ NetCardNs3* host_dst = new NetCardNs3();