If you want to ride these vehicles on private property, you don't need any license at all. If you want to drive them on any public highway or property, you do need a motorcycle license for the dirt bike, and a driver license for the ATV.