My friend uses an invisible fence. The dog wears a special collar and if he goes to far away from the base unit he gets a shock. My friend says it doesn't hurt him, just enough to tell him to go back the other way.
[Non-text portions of this message have been removed]