Mac Help: Creating a guest network

Here's the scenario: A friend or relative is visiting and wants Internet access, which you're happy to provide. But for whatever reason, you have misgivings about giving them open access to everything else on your home network. What should you do? There's a solution, if you have an AirPort Extreme, AirPort Express, or Time Capsule of relatively recent (2009-later) vintage.