HP-UX IPSec and HP-UX Mobile IPv6

Mobile IPv6 Configuration Example

Gateway IPSec Policy for Home Agent - Correspondent NodeSegmentsadd gateway mn2222_rr_to_cn \

-source 3ffe::83ff:fef7:2222 \(Mobile Node’s Home Address) -destination 0::0 \(wildcard for any Correspondent Node)

-protocol MH -pri 200 -action FORWARD -flags MIPV6Gateway IPSec Policy for Home Agent - Mobile Node Segmentsadd gateway mn2222_rr_to_mobile_node \

-source 0::0 \(wildcard for any Correspondent Node)

-destination 3ffe::83ff:fef7:2222 \(Mobile Node’s Home Address)

-protocol MH -pri 210 -tunnel mn2222_rr_tunnel \ -flags MIPV6Return Routability Tunnel IPSec Policy

Configure the tunnel between the local system (Home Agent) and the Mobile Node. This tunnel is used when forwarding Mobile IPv6 protocol packets (protocol MH) between the Mobile Node and Correspondent Nodes. The tunnel endpoints are the Mobile Node and the local system (Home Agent), and uses manual keys for authenticated ESP, with AES128 encryption and HMAC SHA-1 authentication.

add tunnel mn2222_rr_tunnel \-tsource 3ffe::83ff:fef7:1111 \(Home Agent)

-tdestination 3ffe::83ff:fef7:2222 \(Mobile Node’s Home Addr.) -source 0::0 \(wildcard for any Correspondent Node)

-destination 3ffe::83ff:fef7:2222 \(Mobile Node’s Home Address)

-protocol MH \-action ESP_AES128_HMAC_SHA1 \

-in ESP/2500010/0x1234567890123456789012345678901234567890\ /0x12345678901234567890123456789012/0x1234567890123456 \ -out ESP/2500011/0x0123456789012345678901234567890123456789\ /0x01234567890123456789012345678901/0x0123456789012345

(Optional) Prefix Discovery Messages

The following batch file entry configures a host IPSec policy to secure Mobile Prefix Solicitation and Mobile Prefix Advertisement messages (protocol ICMPV6) between the local node (Home Agent) and the Mobile Node. ICMPv6 Echo Request and Echo Reply messages are also secured.

228

Chapter 7