An even better solution to coralling, although maybe not herding, is a henge. Lots of animals don't like crossing a ditch, especially if it's a moat. Hmmm, right?
Although I'm sure this has all been gone over before, here, at great and unprovable length!