Hi again Konstantinos, I've tried the code that I posted before on ns-3.22 and I have the same problem.... There some flows:
Flow ID: 1 Src Addr 1.0.0.2 Dst Addr 7.0.0.3
Tx Packets = 11
Rx Packets = 0
Throughput: -0 Kbps
Packet loss= 1
Flow ID: 2 Src Addr 7.0.0.3 Dst Addr 1.0.0.2
Tx Packets = 11
Rx Packets = 0
Throughput: -0 Kbps
Packet loss= 1
Flow ID: 3 Src Addr 1.0.0.2 Dst Addr 7.0.0.7
Tx Packets = 11
Rx Packets = 0
Throughput: -0 Kbps
Packet loss= 1
Flow ID: 4 Src Addr 7.0.0.7 Dst Addr 1.0.0.2
Tx Packets = 11
Rx Packets = 0
Throughput: -0 Kbps
Packet loss= 1
And I also attach the code I'm using it.