I thought about electric fencing, but would a polywire fence keep a dog out?
How many posts would i need for ~2 miles of fence?
Just found the Polywire reels at the Kenovice web-site, 660' is about $30, so just one strain would require 15 reels for about $450… You see the dimensions that i am dealing with…
An entire 1/4 mile roll only weighs 6.5lbs according to my scale -- to give you an idea of how low the post requirements are- it is super light. If you get decent insulators (that snap tightly onto the T-posts), you can actually go a long ways in between the posts with this stuff- and use the plastic push-in posts to manage terrain variations.
Powerfields is one brand- have a look at your local farm supply store for the less expensive brands. I use Kencove for what I call the "do-dads" - the gate handles, cut off switches and so on- usually those kinds of things are more expensive (and inferior quality) in the store. But when it comes to the polywire itself - look around online for better deals- just pay attention to the # of wires.
For Powerfields 9 wire, I found it for around $55 for the 1320ft roll at Valley Vet with free shipping.
9-wire Heavy Duty Poly Wire Powerfields - Wire, Tape Rope | Electric Fencing (valleyvet.com)
But certainly there is cheaper material out there, especially in the bigger rolls. Gallagher has a good product (costs more than powerfields in their "Turbowire" which is stainless steel and copper wires) -- but they've also got the 6 wire stuff which isn't as good.
For t-posts I would start looking on craigslist - might find a treasure trove there- or see if you can find a recycle/rebuild type store that sells off leftovers from job sites and the like. In our area we have a few, for example this one- they're worth searching out.
Building Material Resources (materialforless.com)
Now ... To train doggie ... once the fence is up and you've got it zapping nicely ...
To get doggie's attention once the fence is up so it means something ... you can attach a yummy treat- along the area it likes to cross onto your property- to the polywire by wrapping a piece of foil around the polywire, with something rubbed on it like peanut butter or maybe a stinky cat wet food - and lesson learned.