What is your nat type? If it is strict, open the ports for black ops 2 zombies. Go to your router settings and change the settings for the game.
Change it to open, that should work.
Just go to the router providers website or a forum, and find a tutorial or help for opening ports.