Tcp variants with multiple source-client network

57 views
Skip to first unread message

anagha thakur

unread,
Feb 6, 2018, 5:37:05 PM2/6/18
to ns-3-users
Hi,

I am trying to simulate a scenario same as TcpVariantsComparison but with one more router (total 2 routers between source and destination) and multiple sources and destinations in the network.
The connections are :
source0--gateway0  gateway0--gateway1  gateway1--destination0
source1--gateway0                                        gateway1--destination1
It is working perfectly for single source-destination but it does not work for more than one sources and destinations. I would need your guidance in understanding where exactly the problem is occurring. 

Please find attached the code.

Thank you!!

Best Regards,
Anagha
TcpNetwork.cc

Tommaso Pecorella

unread,
Feb 7, 2018, 10:48:26 PM2/7/18
to ns-3-users
Hi,

one word: routing.
Your network addresses are basically all messed up. Try drawing your network topology and assign the IP addresses to the network devices in the right way.

T.
Reply all
Reply to author
Forward
0 new messages