FreeRTOS+TCP determines whether an IP packet can be sent directly, or if it needs to be sent to a router. FreeRTOS+TCP users only need to provide a gateway address. Like the IP address, the IP address of a gateway can be configured either statically as a parameter to FreeRTOS_IPInit(), or dynamically from a DHCP server.