Go to Configuration Mode
Router(config)#ip route Destination_network Mask Next-Hop_Address
or
Router(config)#ip route Destination_network Mask Exit interface
Terminologies
ip route : The command used to create the static route.
destination_network : The network you’re placing in the routing table.
mask : The subnet mask being used on the network.
next-hop_address : The address of the next-hop router
Exitinterface : You can use it in place of the next-hop address
administrative_distance : By default, static routes have an administrative distance of 1
Subscribe to:
Post Comments (Atom)
0 comments: