News Update :

The IP Route Command

The IP Route Command

The command for configuring a static route is ip route. The complete syntax for configuring a static route is:

Router(config)#ip route prefix mask {ip-address | interface-type interface-number [ip-address]} [distance] [name] [permanent] [tag tag]

Most of these parameters are not relevant for this chapter or for your CCNA studies. As shown in the figure, we will use a simpler version of the syntax:

Router(config)#ip route network-address subnet-mask {ip-address | exit-interface }



The following parameters are used:
network-address - Destination network address of the remote network to be added to the routing table
subnet-mask - Subnet mask of the remote network to be added to the routing table. The subnet mask can be modified to summarize a group of networks.

One or both of the following parameters must also be used:
ip-address - Commonly referred to as the next-hop router's IP address
exit-interface - Outgoing interface that would be used in forwarding packets to the destination network

Note: The ip-address parameter is commonly referred to as the "next-hop" router's IP address. The actual next-hop router's IP address is commonly used for this parameter. However, the ip-address parameter could be any IP address, as long as it is resolvable in the routing table. This is beyond the scope of this course, but we've added this point to maintain technical accuracy.
Share this Article on :

0 comments:

Post a Comment

 

© Copyright Cisco elearning 2010 -2011 | Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.