You can also download Xenu Link Sleuth and use it to crawl a site. Tell it to check external links... Then use it crawl the site. It will report 404s, 301s, 302s, 200s, and every other status each page on the site returns. Then you can get a report at the end of all 404s.