Yes, online play is free. You just need the right hardware hooked up.
Gather a memory card, a phone cord, a phone jack and an internet provider such as AT&T. Plug one end of the cord into the PS2 and the other into your provider's internet box.
From there, open the in-game starter menu, choose multiplayer, and follow the on-screen steps. The console walks you through the rest of the setup.