Perhaps an electric fence would do. I border train all my pups when they are small so they know from the beginning their boundries.