IP Information Requirements
There is no general requirement that IP keep information on a per host basis.
IP must make a decision about which directly attached network address to send each datagram to. This is simply mapping an IP address into a directly attached network address.
There are two cases to consider: the destination is on the same network, and the destination is on a different network.
Same Network
For some networks the the directly attached network address can be computed from the IP address for destination hosts on the directly attached network.
For other networks the mapping must be done by table look up (however the table is initialized and maintained, for example, [4]).
Different Network
The IP address must be mapped to the directly attached network address of a gateway. For networks with one gateway to the rest of the Internet the host need only determine and remember the gateway address and use it for sending all datagrams to other networks.
For networks with multiple gateways to the rest of the Internet, the host must decide which gateway to use for each datagram sent. It need only check the destination network of the IP address and keep information on which gateway to use for each network.
The IP does, in some cases, keep per host routing information for other hosts on the directly attached network. The IP does, in some cases, keep per network routing information.
A Special Case
There are two ICMP messages that convey information about particular hosts. These are subtypes of the Destination Unreachable and the Redirect ICMP messages. These messages are expected only in very unusual circumstances. To make effective use of these messages the receiving host would have to keep information about the specific hosts reported on. Because these messages are quite rare it is strongly recommended that this be done through an exception mechanism rather than having the IP keep per host tables for all hosts.