This document presents a comparative analysis of the overhead imposed by Internet Protocol Security (IPsec) on both IPv4 and IPv6 communications, focusing on end-to-end delay, throughput, and processing overheads. The study reveals that while IPsec enhances security by covering vulnerabilities in IPv4 and is inherently integrated into IPv6, it introduces additional overhead costs, especially for larger packet sizes. Results indicate that both protocols experience increased end-to-end delays with IPsec, particularly when using both authentication and confidentiality measures, with IPv6 showing slightly higher delays in certain scenarios.