12. Static Route (Next Hop IP Address way)

Опубликовано: 20 Март 2026
на канале: ITProDan
353
1

++ Configuring Static Route (Next Hop IP Address way) ++

Syntax:

conf t
ip route (remote net addr) (subnet mask) (next hop ip addr) //syntax

Terms:

*hop
packets passing through routers as they travel between source and destination
*hop counts
refer to the number of routers, that a pice of packet travels through
*next hop router
refers to the "next closest router a packet can go through"
*next hop IP Address
Interface IP address of the next hop router
*remote network address
the network address of the next hop router
*exit interface
interface of the router where the packet goes out

Sample:

'Router(config)#ip route (remote net addr) (subnet mask) (next hop ip addr) //syntax
Router(config)#ip route 10.0.0.0 255.255.255.0 192.168.10.2 //setting static route using exit int
Router(config)#ip route 172.16.16.0 255.255.255.0 192.168.10.2 //setting static route using exit int
Router#show ip route static //show all static routes (S)