Posts for wire boundary or cattle fences can be 25 feet apart. You can build a fence on a slope by letting the rails follow the contour of the ground (racking) or setting them level (step method).