The IP packet header contains information about the packet such as the version and header length, type of service, total length, identification, flags, fragment offset, time to live, protocol, header checksum, source and destination IP addresses, and any options. This header information is used to route the packet to its destination.