I’m in a house rental and it would be expensive to install a fence, besides, the landlord doesn’t want one.
What about a pen? You can get temporary fencing at most farm supply stores.