A general route to form topologically-protected surface and bulk Dirac fermions along high-symmetry lines