6Static routing configurationNOTE:The termrouter in this document refers to a routing-capable device.IntroductionStatic routeA static route is manually configured. If a network's topology is simple, you only need to configure staticroutes for the network to work properly. The proper configuration and usage of static routes can improvenetwork performance and ensure bandwidth for important network applications.The disadvantage of using static routes is that they cannot adapt to network topology changes. If a faultor a topological change occurs in the network, the routes will be unreachable and the network breaks.The network administrator has to modify the static routes manually.Default routeWithout a default route, a packet that does not match any routing entries is discarded and an ICMPdestination-unreachable packet is sent to the source.A default route is used to forward packets that match no entry in the routing table. The networkadministrator can configure a default route with both destination and mask being 0.0.0.0. The routerforwards any packet whose destination address fails to match any entry in the routing table to the nexthop of the default static route.Static route configuration itemsBefore configuring a static route, you need to know the following concepts:1. Destination address and maskIn the ip route-static command, an IPv4 address is in dotted decimal format and a mask can be either indotted decimal format or in the form of mask length—the number of consecutive 1s in the mask.2. Output interface and next hop addressWhen configuring a static route, specify the output interface, next hop address, or both depending onthe specific occasion. The next hop address cannot be a local interface IP address; otherwise, the routeconfiguration will not take effect.