Ballistic transport and electrostatics in metallic carbon nanotubes