Understand how to calculate IPv4 subnet masks using IP classes, CIDR, and bit borrowing for effective subnetting.