Restrict each interface from receiving other interface packets

90 views
Skip to first unread message

Hassam Mughal

unread,
Oct 10, 2019, 8:07:39 AM10/10/19
to ns-3-users
Greetings Everyone!
I have been trying to receive the packet from only the same interface. For instance;
10.1.1.1 <------> 10.1.1.2 or 10.1.1.1
10.1.2.1 <------> 10.1.2.2 or 10.1.2.1
10.1.3.1 <------> 10.1.3.2 or 10.1.3.1

However, I am unable to achieve that. And my packets are being received by every interface. I have attached my dsdv-manet.cc and dsdv-routing-protocol.cc classes along with the routing table being printed.
Any guidance or help in this regard will be highly appreciated.
Thanks
routingtable.png
dsdv-manet.cc
dsdv-routing-protocol.cc
Reply all
Reply to author
Forward
0 new messages