because of the network demand, most of the network needs two routes and more than two units. At this point, when the client accesses the target network across multiple routes, the network administrator is required to configure the routing protocol on each router. Static routing protocols are often configured in small, low-volume networks that are not easily variable.
routing is the Act of transferring information from the source to the destination. A packet can be thought of as a generation, and a route is a map, and the routing table is the path of the walk. Static routing is an administrator's manual one-by-one configuration, and routers do not learn routing tables from each other. When the networktopological structureor if the state of the link changes,network Administratorneed to be modified manuallyrouting TableThe static routing information that is related to the Static routing information is private by default and is not passed to otherRouters. Of course, the network administrator can alsoRoutersMake the settings to be shared.
Advantages:
1, The advantage of using static routing is that the confidentiality is good, there is a certain anti-destructive effect (router gateway is not easy to find) high efficiency.
2, does not occupy the network bandwidth, because the static route all by the administrator manually configures does not need the automatic update to produce the traffic.
Disadvantages:
1, because static routing requires the administrator to manually enter the destination network address, target subnet mask, packet exit port number (Next hop address), when the network topology and link state changes, the router The static routing information in the process needs to be adjusted in a wide range, which is very difficult and complex. When the network changes or the network fails, the router cannot re-elect the route, which is likely to cause the routing to fail, causing the network to become inaccessible. That is, static routing is not suitable for large-scale networks.
Static Routing configuration Experiment
Network topology diagram
1, PC IP address configuration
2, router IP address configuration (in order to improve the efficiency of the router configuration, in the Cisco Device command can be abbreviated "typing the first few letters of the command, when the first few letters of the command press the tab can be filled, or directly enter can also execute the command". )
Note: Write is the Save command, and this command executes in privileged mode. In other modes (not available in user mode), you can add do enforcement before the command.
3, after the completion of the address configuration can be tested,whether the PC can access each other (Ping command to test).
Note: When PC0 goes to access PC1, the middle spans two routers, and the router only does the address configuration without configuring any routing protocols. When using PC0 to access PC1, the result of pinging is that the host is unreachable.
4 . Configure a static route for the router (the next hop address is used in this experiment).
Note: Add static routes to the 192.168.2.0/24 network segment for Route2. Also add static routes to the 192.168.1.0/24 network segment for Route1.
5 . View the routing table information.
6, test connectivity.
Note: When the static routing configuration is complete, then use the PIN command to test the connectivity between PC0 and PC1. You can ping the pass normally at this time.
This experiment is done!
Chenlongchun
2017-12-6
CISCO CCNA Static Routing