Use keys to identify groups rather than IP