routing tables problem while dynamically changing routes

27 views
Skip to first unread message

nahid

unread,
Oct 29, 2017, 4:09:00 AM10/29/17
to ns-3-users
Hi,
I have a topology consisting of n clients and m intermediate node that forward client traffics to my single server. Clients will connect to different intermediate nodes during simulation. So I need to create all links and "SetUp" interfaces related to the active intermediate node as one of our friends said here. The problem is that when I set up interfaces during simulation using schedules, only one of my intermediates route the traffic. even when I use "static routing" to change default route or using "Ipv4GlobalRoutingHelper::RecomputeRoutingTables ()" the other nodes do not forward traffic and it seems that my routing tables have problems.
Is there any other way to achieve this? if not what can I do to solve the problem?
I will appreciate your helps.

Tommaso Pecorella

unread,
Oct 29, 2017, 1:05:38 PM10/29/17
to ns-3-users
Hi,

please explain a little bit better how you dynamically add (or remove) interfaces. That can be the root of your issues.

T.

nahid

unread,
Oct 30, 2017, 3:22:28 PM10/30/17
to ns-3-users
Thanks for your response. you are right. I found the problem. I was making mistake with setting the sink interface.
Reply all
Reply to author
Forward
0 new messages