An IP address uniquely identifies devices on a network. There are two types of IP addresses: static addresses that do not change and dynamic addresses that are temporarily assigned by a DHCP server. A gateway routes traffic between different subnets and networks when a computer does not have the direct route to a destination.