Tutorial objective: to manually configure a static route to forward data packets across an interconnected network from the source host to the target host
Tutorial steps:
1. Set up a network topology
2. Set IP addresses for hosts and Routers
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/56/wKiom1PnhNrh7-3_AAEclhlbkoU996.jpg "Title =" image 1.png "alt =" wKiom1PnhNrh7-3_AAEclhlbkoU996.jpg "/>
3. manually configure static routes,
Save the statuses of the two routers.
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/57/wKioL1PnhjKxQuxHAAJY_bBC7Sk423.jpg "Title =" image 2.png "alt =" wkiol1pnhjkxquxhaajy_bbc7sk423.jpg "/>
Add a static route
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/57/wKioL1PnhqPjAxPMAAMUlaXZrG8372.jpg "Title =" image 3.png "alt =" wkiol1pnhqpjaxpmaamulaxzrg8372.jpg "/>
Set IP addresses for the added channel and enable
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/57/wKioL1PnhuDjR_8tAAMKAy7pCDw614.jpg "Title =" image 4.png "alt =" wkiol1pnhudjr_8taamkay7pcdw614.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/45/56/wKiom1PnhcjDa2iBAAI4ZI2CvpI740.jpg "Title =" image 5.png "alt =" wkiom1pnhcjda2ibaai4zi2cvpi740.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/57/wKioL1PnhuHSOa8wAAFZCBKTEow446.jpg "Title =" image 6.png "alt =" wkiol1pnhuhsoa8waafzcbkteow446.jpg "/>
Router (config) # IP Route 192.168.1.0 255.255.255.0 192.168.4.1 77
4. Close the direct connection channel so that it can be connected through a static route
Router (config) # interface fastethernet 0/1
Router (config-If) # Shutdown
Router (config) # interface fastethernet 0/1
Router (config-If) # Shutdown
Experiment results and verification:
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/45/56/wKiom1Pnhj3xqqT-AAPhKaveeuM195.jpg "Title =" image 7.png "alt =" wKiom1Pnhj3xqqT-AAPhKaveeuM195.jpg "/>
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/45/56/wKiom1Pnhk3AqyNwAAIm0eA-yJU438.jpg "Title =" image 8.png "alt =" wKiom1Pnhk3AqyNwAAIm0eA-yJU438.jpg "/>