Phylum Arthropoda: Myriapoda.
Millipedes (class Diplopoda) have two pairs of legs on each trunk segment. Centipedes (class Chilopoda) have one pair of legs per trunk segment.