I have secured some used oilfield pipe for next to nothing. 2" schedule 40 pipe with the liner. I would like to build a 5' tall by three row pipe fence to keep in some horses and a donkey. I have about 1000 feet I want to run this fence along. I have never done this before. I'm looking for tips and any advice anyone can offer me here. The ground is dry year-round and hard and mostly sandstone and clay. Do I need to use concrete? How deep do I need to set the posts for a 5' tall fence? What is the best way to cut and weld this pipe with the liner? Its somewhat rusty too. I have a good MIG and of course a good oxy/actyl torch. Should I bother with paint? I would have to sand a lot of pipe to get paint to stick. I have used rust converter paint before and I am not impressed. I have seen pipe last a long time once the surface rust sets up on it. My main concern is the part that sticks in the dirt. Any tips here to keep rust from eating through it?