The IPsec articles Introduction to Windows Firewall with Advanced Security and Step-by-Step Guide: Deploying Windows Firewall and IPsec Policies were updated for corrections and to more accurately reflect changes made to Windows 7 and Windows Server 2008 R2.

These two articles are an excellent way to learn how Microsoft implements IPsec and to see it actually work.