Sunday, 6 October 2013

Static Routing

Static Routing
         In static routing we have to advertise the neighbours statically.each routing has AD values.Static routing Ad value-1[Administrative Distance].It defines the most trustable routing.
Syntax
Router(config)# IP ROUTE  <NETWORK ID>  <SUBNETMASK>  NEXTHOP ADDRESS
                    In this scenario configuration of static routing is :
Router1#configure –press enter
Router1(config)#ip route  20.0.0.0  255.0.0.0 192.168.10.2
Router1(config)# exit
Router2#configure –press enter
Router2(config)# ip route 10.0.0.0 255.0.0.0 192.168.10.1
Router2(config)# exit

                                    NETWORK ID WE HAVE TO GIVE NOT CONNECTED NETWORKS.

1 comment: