The present invention pertains to a vaccine comprising an IgM protease antigen of Streptococcus suis, for use in a method for protecting pigs against an infection with Streptococcus suis of serotype 2 and against an infection with Streptococcus suis of serotype 9.