Ok. My background is more than 30 years in obedience and field training labradors.
Here's my abridged edition on this issue, and on some of the input so far...
Things that don't, or won't work for long....
- Punishment. Not that there's never a time for negative reinforcement, but 99.99% of the time is unnecessary, and an "easy way out" for the "trainer."
- Expecting your dog to be outside, unattended for a long stretch of time and staying in the yard or out of the street is going to be a hopeless effort. They might get it at first, but will get lazy or push the envelope when you're not around. [See 3]
- Electronic fences are good if the trainer does his job. As Phil said, once a dog learns what it takes to get through them, you've lost the usefulness. Dogs will always, always take the path of least resistance to their perceived desire.
- I have used a shock collar one time, with one dog, for one "zap." In this case is was to reinforce a "down-stay" command at 200 yards. The dog was required to be there for 7 minutes without further input from me, and just wouldn't get it. I put the collar on him, gave him one spark at the lowest setting when he tried to get up, and he finally got it. That collar is gathering dust in the garage now.
What works...and yep, it's not "easy."
- A fence is good if you don't want to spend the time training.
- An electric fence is good, if you can see your way clear to paying for it, and recognize that the bulk of the training happens in the first two weeks. Most dogs trained to buried fences don't cross the line later, even if they're not wearing the collar. But, again, remember Phil's comment...once they learn that they can get through, you're in trouble!
- Positive reinforcement training. The BEST way. What you want is not just to train your dog to stay out of the street. Everything you want hinges on one command...COME! If you let your dog outside, and have gone through the training and know, just know that your dog will come when called, you've won the battle.
This is not bragging, and anyone who's ever competed a dog in AKC "Utility Dog" events knows that I'm not talking about an impossible nirvana of trained dogs.
I know for a fact that I can call my dogs away from running squirrels, rabbits, other dogs, kids, cars people, and even locations I don't want them in. And for even Novice levels of AKC obedience, this is expected from the dogs!
My best solution for you is to get into at least a novice class that teaches positive reinforcement training. You'll then get an obedient, happy dog. And it'll be a rewarding experience for you, too. And no, 18 months is definitely not too old to train.
You don't really want a dog who only stays out of the street...you want a dog who knows what to do when you command it, including coming when called. And the neat byproduct of consistently calling the dog away from the street is that sooner or later, he just gets it, and won't bother going near it anymore.
Good luck, and hope this helped!
Len