Place large rocks, partially buried, along the bottom of the fence line. Bury the bottom of the fence one to two feet below the surface. Place chain link fencing on the ground (anchored to the bottom of the fence) to make it uncomfortable for your dog to walk near the fence.