First, next-hop gateways and forwarding interfaces
1. Usually the next hop and the forwarding interface can be used
2. Can only write the next hop gateway, if the target network is not unique, only with the next hop gateway
3. Two routers with WAN, preferably using a forwarding interface
Command format: Router (config) #ip route [Destination network] [subnet mask] {Forwarding interface/next hop gateway}
Second, where to use the default route
1. Reach the target network next hop
2. Access to the Internet must use the default route
3. Default route to avoid packet loss
Command format: Router (config) # 0.0.0.0 0.0.0.0 {Next hop gateway/Forwarding Interface}
Third, configure static routing considerations
1. Two connected router interfaces must be on the same subnet
2. Different interfaces of a router must be on different subnets
3. Configure the route for each router to reach all networks or subnets (except for directly connected networks or subnets)
4. avoid overlapping of networks or subnets
To save the router configuration file:
1.router# Write Memory
2.router# Copy Running-config Startup-config
Static routing implements two corporate interconnection considerations