Wednesday, September 12, 2018

Static Routing Explained and Static Routing Configuration Practical


Static Routing Explained and Practical and Static Routing Configuration




Static path


By adding a static route, the router can know the route to a remote network that is not directly connected to one of the interfaces. Static routes are configured manually by entering the general configuration mode command ip route DESTINATION_NETWORK SUBNET_MASK NEXT_HOP_IP_ADDRESS. This type of configuration is typically used for small networks because of scalability (all routers must be configured on all routers).

A simple example will help you understand the concept of a static route.



Static road topology


The router is connected directly to the router. Router B connects directly to the subnet 10.0.1.0/24. Since this subnet is not directly connected to Router A, routers do not know how to route the destination packets for this subnet. But. You can manually configure this route on your router.

Before you add a static route, think about the router's routing table.

Show ip route first


Now use the static route command to configure Router A to access the 10.0.0.0/24 subnet. Now the router has a route to reach the subnet.

Shows the following IP routes.



The S character in the lookup table indicates that the path is a statically configured path.

There is another version of the rope route command. You do not need to specify the next hop IP address. You can select the output interface of the local router. In the above example, you can request that the correct interface generate all the target traffic for the subnet to the router (A) by creating the IP address of the DEST_NETWORK NEXT_HOP_INTERFACE command. In our case, the ip route command is 10.0.0.0 255.255.255.0 Fa0 / 0 ...





0 comments: