Sets the nexthop of an IP connection. The nexthop is the destination for packets going from the BIG-IP to the server. This is usually determined by the IP routing table. This command lets you specify the nexthop to use for a particular connection.


  • In 11.6, you can use the ‘nexthop’ command to direct traffic over PIP tunnels.
  • In 13.0, you can use the ‘nexthop’ command to make connections L2 transparent (preserve source and destination MAC address).

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.