Group assignment for IP