what are the three classes of an IP