lasthop

Description

Sets the lasthop of a IP connection. The lasthop is the MAC destination for packets going back to the client. This is usually the router (gateway) that forwards the client’s packets to the BIG-IP (if “auto lasthop” is set), or is determined by the IP routing table. This command lets you specify the lasthop to use for a particular connection.

Syntax

lasthop [<vlan>] <IP address>
lasthop <vlan> <ethernet address>

lasthop [<vlan>] <IP address>

  • Sets the lasthop to the ethernet address belonging to the specified IP address, optionally on the specified vlan. The IP address must be directly connected to the BIG-IP (no intermediate router).

lasthop <vlan> <ethernet address>

  • Sets the lasthop to the specified ethernet address on the specified vlan.

Examples

when CLIENT_ACCEPTED {
  lasthop external 01:23:45:ab:cd:ef
}