I have a local private network composed of 4 nodes. They have an ethernet interface and are in the same WiFi ad-hoc network. This is their routing table:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.21.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 192.168.21.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
The bootstrap list is empty (I want them to discover themselves alone, without the help of specific and predetermined peers).
If I have them connected through Ethernet and WiFi, running
ipfs swarm peers on every node will return the other 3 nodes. However, if I remove the cables and use WiFi only (they are pingable), the same command will return empty.
What do I need to do to make the discovery work? (mdns is enabled in the config)
- adding the Ethernet network to the swarm address filters
- only announcing the WiFi address in the config