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 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 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 Fa0 / 0 ...

Post a Comment (0)
Previous Post Next Post