Operation Manual – IPv4 RoutingH3C S7500E Series Ethernet Switches Chapter 1 Static Routing Configuration1-2You can create the default route with both destination and mask being 0.0.0.0, andsome dynamic routing protocols, such as OSPF, RIP and IS-IS, can also generate thedefault route.1.1.3 Application Environment of Static RoutingBefore 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 amask can be either in dotted decimal format or in the form of mask length (the digits ofconsecutive 1s in the mask).2) Output interface and next hop addressWhile configuring a static route, you can specify either the output interface or the nexthop address depending on the specific occasion. The next hop address can not be alocal interface IP address; otherwise, the route configuration will not take effect.In fact, all the route entries must have a next hop address. When forwarding a packet, arouter first searches the routing table for the route to the destination address of thepacket. The system can find the corresponding link layer address and forward thepacket only after the next hop address is specified.When specifying the output interface, note that:z If the output interface is a NULL0 or loopback interface, there is no need toconfigure the next hop address.z You are not recommended to specify a broadcast interface (such as VLANinterface) as the output interface, because a broadcast interface may havemultiple next hops. If you have to do so, you must specify the corresponding nexthop for the output interface.3) Other attributesYou can configure different preferences for different static routes so that routemanagement policies can be applied more flexibly. For example, specifying the samepreference for different routes to the same destination enables load sharing, whilespecifying different preferences for these routes enables route backup.1.2 Configuring a Static Route1.2.1 Configuration PrerequisitesBefore configuring a static route, you need to configure the IP addresses for relatedinterfaces.1.2.2 Configuration ProcedureFollow these steps to configure a static route: