I have several Raspberry Pi connected to an ethernet hub. Every Raspberry Pi knows all the MAC addresses of the other Raspberry Pi connected to the hub.
Is there any way to make them communicate without the need to set up IP addresses and only using the MAC addresses?
The communications protocol that I need is very simple:
- One Raspberry Pi is the master and always starts the communications.
- It sends a message to another Raspberry Pi using the MAC address.
- The addressed Raspberry Pi replies back to the master with the requested information.
Ideally, I'm looking for some kind of library that exists already and that I could use.