Configuring a physical interface as next hop
Note: You cannot add an interface-based static route to a network if there is already a
static route of any type with the same metric you specify for the interface-based
route.
Note: ARP will be generated for a forwarded packet destination IP address when an interface
is configured as the next hop.
- Enter global configuration mode.
- Enter the IP address and prefix length, or enter the IP address and network mask for
the route destination network. On the same command line, enter the keyword
ethernet followed by the interface number to be used as next hop.
This example configures an IP static route with a destination network address of 10.128.2.69, a network mask of 255.255.255.0, and Ethernet port 1/4/1 as the next hop.