I used the Ryu controller, through which I could issue routing rules to each base station, and the base station would forward the packets to the vehicle according to these rules.
I installed routing when the vehicle switched to a new base station (here I found that the vehicle could communicate with vehicles under the base station that had not been through, but not with vehicles under the base station that had been through, I checked my routing rules and it was ok)
I then experimented with a vanet-Sumo.py network topology without any changes. There were two cars, CAR1 and Car2, both under the same base station at first. Then I let Car1 drive and switch to the next base station, and installed routing rules for car1 and CAR2 communication on both base stations. Car1 and CAR2 cannot establish communication.
WOM8NMWC8.jpg?part=0.1&view=1)
The link between BS1 and BS2 is OK
And both CAR1 and CAR9 can communicate with CAR6
![FU$UNY$9]EH9XPEXOE~HVO4.png](https://groups.google.com/group/mininet-wifi-discuss/attach/3c326cebd90fe/FU$UNY$9%5DEH9XPEXOE~HVO4.png?part=0.2&view=1)


In fact, the problem has little to do with the mobility management module in the SDN controller. Because the function of the controller is to update the routing rules, so that each network device can communicate normally.
When I discovered this problem, I was curious as to why the routing rules I installed didn't work. If Car1 has not been connected to the base station before, Car1 can establish communication with vehicles or stations under the base station. However, if car1 has previously established a connection with the base station, car1 cannot establish communication with the vehicle or site under the base station (even if the correct routing rules exist).
This problem can be reproduced without the help of the controller, and the controller can be replaced with the ovs-ofctl add-flow command.
Thanks again for your help, I will solve this problem in another way.
--
You received this message because you are subscribed to the Google Groups "mininet-wifi-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mininet-wifi-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mininet-wifi-discuss/7de41400-3ffe-4bac-8cce-5490af6f0d6en%40googlegroups.com.