Problem managing peers
Hello All,
Is there any document describing the details of the peer management? I'm testing the innernet functionality, and while I can add the peer (which automatically allocates an IP from the available CIDR), and disable it, I'm not sure how to delete the peer and release the previously used IP.
You can't release the previously used address; see https://github.com/tonarino/innernet#enablingdisabling-peers
For security reasons, IP addresses cannot be re-used by new peers, and therefore peers cannot be deleted. However, they can be disabled. Disabled peers will not show up in the list of peers when fetching the config for an interface.
Disable a peer with
sudo innernet disable-peer <interface>Or re-enable a peer with
sudo innernet enable-peer <interface>
Once you run one of the above commands, you pick the peer to disable/enable from a list.
At this point I think I'm going to write a fork of innernet which allows for deletion of peers.