Host Identity Protocol version 2 (HIPv2), also known as HIP version 2, is an update to the protocol that enhances security and support for mobile environments. HIP continues to separate the roles of identification and location in IP addressing by implementing a host identity namespace based on cryptography. This version introduces new features that allow devices to connect more securely and efficiently, even in scenarios involving mobility and multihoming (connecting to multiple networks).
HIPv2 strengthens device authentication security and provides protection against spoofing and denial-of-service (DoS) attacks. Host Identifiers (HIs) are generated with cryptographic keys, giving each device a unique identity. The protocol also uses the Encapsulating Security Payload (ESP) format for encrypting data, which ensures the integrity and confidentiality of communications.
HIPv2's design enables devices to change networks without losing the session, a crucial advantage for mobile and IoT applications. This capability to switch networks seamlessly makes HIPv2 well-suited for devices that require constant and reliable connectivity, such as mobile phones and IoT sensors. Additionally, HIPv2 facilitates multihoming, allowing simultaneous connections to multiple networks, which improves connection resilience and availability.
RFC 4423, Host Identity Protocol (HIP) Architecture, Section 4.1 ↩