Sign Up|Login Courses F.a.q Resources

Cisco CLI Error: Invalid next hop address (it's this router)

When does this error appear?

Appears while attempting to configure a Static Route on a Layer 3 device running Cisco IOS.

What does this error mean?

The next hop IP address specified in the route is invalid because it is an IP address assigned to an interface on the device itself.


Router1 Router2
Segment 2
Segment 1
Segment 3
Router1 Console
Router1(config)#ip route
% Invalid next hop address (it's this router)
The example above shows 2 routers and 3 network segments. In order to route traffic to Segment 3, Router1 would require a static route.
Given a network diagram as shown above, sometimes a student may try to configure a static route on Router1 as follows:
ip route is an interface on Router1 itself. When the next hop in an ip route command is specified as an IP Address, it should be the IP Address of the next router along the path to the destination network.
The correct ip route command would be:
ip route

Static Routing on Cisco routers is covered extensively in Course 4 - Static Routes on this website.