My goats are half miniature, so it's possible they're a little easier to contain that some. But my current fence in the smaller pens is a 5' hight pallet fence, I've had no issues with that. The plus side of a pallet fence is lots of people have stacks of them they're giving away for free. My larger perimeter fence is again 5' high, but it's paige wire with a 2x6 plank on the top and bottom. I've been happy with how it's worked. I went with 12' post spacing.