1) First, seal the borders to prevent a sudden and vast influx that cannot be controlled
2) Next - underage children of illegal immigrants should be granted the opportunity to participate in the naturalization process provided that upon graduating high school (a must) they either a) complete college, or b) serve in the active U.S. Armed Forces, or c) spend 4 years in the Peace Corps or other acceptable community service. If they fail to graduate high school, they may apply for the guest worker/green card program (see #3).
3) Adult illegal immigrants who have lived in the U.S. for at least 5 years may remain as a guest worker with a green card for as long as they remain gainfully employed to the degree that they are self-supporting (no welfare). After another 5 years these workers would be permitted to participate in the naturalization process, to become citizens.