I use one of these:
Superyard XT Play Gate by North States Industries : Target although I got mine at Toys R Us. I set it up in a rectangle. I also bought the extension but did not use it as it was quite large enough without it. I put a doggy bed at one end, pee pads under the whole thing, food and water at one end and lots of toys to keep them occupied.