Guest posting is submitting high quality articles in various niche based blogs to promote your content and get a link back of your website. You need to contact blog owners in order to do quality guest posting service.
Blog commenting is commenting on existing blog posts with a link back to your website. Most blog comments provide a 'no follow' link back to your website, but they are much helpful to drive traffic to your domain.