I am starting to play ps2 online. :D Following is the help that I got from CerebralTiger.
You'll need an unhacked PS2, if you want to play the legit way. Else, on a hacked console, you can try X Link Kai. For that, you'll need to have your PS2 connected to your PC via a router or a direct ethernet connection.
Try these tutorials: