SD-MANET question

73 views
Skip to first unread message

Jiahua Zhang

unread,
Jan 2, 2025, 4:34:04 AM1/2/25
to mininet-wifi-discuss
    Hello, recently I’ve been researching how to implement a software-defined mobile ad-hoc network (SD-MANET) based on Mininet-Wifi. 
    For the source code example, adhoc.py, I successfully ran both the OLSR and Batman routing protocols, but this is still a traditional network, not one implemented under a software-defined architecture. 
    In adhoc.py, the ad-hoc network nodes are STAs, which seem to lack the functionality of a software-defined switch, so for the SD-MANET network nodes, I plan to use APs with a software-defined switch kernel.
    I need to solve the following problems:
   (1) Mobility of AP: Referencing the code related to STA mobility, adding mobility to the AP.
   (2) Wireless connection between APs: I use the mesh mode.
   (3) The ad-hoc network nodes need to have both the functionality of an endpoint and a switch, so I connected a host to each AP via a wired connection, treating each AP-Host pair as a single SD-MANET node.
   Based on the above idea, I created a network topology as shown in the document"SD-MANET.py" and connected it to the Ryu controller. 
    The current problem is that data can only be transmitted in a single hop. That is to say, if two APs are within each other’s communication range, then the hosts connected to these two APs can ping each other (like h1 and h3); but if two APs are outside of each other’s communication range, the hosts they are connected to cannot ping each other (like h2 and h3).
     Is my approach resonable? What should I do to achieve the multi-hop transmission capability that a MANET network should have?Thanks for any help!
If anyone has other solutions for implementing SD-MANET, welcome to exchange ideas together!
拓扑.png
1.png
2.png
SD-MANET.py
Reply all
Reply to author
Forward
0 new messages