It'll take border enforcement and internal enforcement. And you'll never cut off all the jobs and benefits because courts have ruled that illegals can't be denied many benefits and there will always be illegals used in the underground, off the books cash economy.
Half measures won't work no matter how badly someone wants to make Perry's absurd, have it both ways policies sound reasonable. He's as bad as W on immigration.
And, until the anchor baby nonsense is ended, there will still be pregnant women entering illegally and going into hospitals who cannot deny them maternity services.
It's silly to think jobs are the only reason people come here illegally. And, again, courts have prevented states from denying benefits to illegals.
But if we enforce the border with double fencing and personnel, and enforce the law internally, we could cut out 90% of the illegal entries. It'll never be perfect, but it can be improved dramatically over what it's been for years when no president even wanted to enforce immigration law.
I lived on the Mexican border for several years and witnessed the problems first hand.
The vast majority of 'anchor babies' born in the U.S. are born in midwife homes, not hospitals. It's a major cottage business on the border. A more efficient system, that is commonly used, is the babies are actually born in Mexico. Then paperwork is created falsifying that the birth was in the U.S. Counterfeit papers is another major cottage industry along the border.