Configure Static Routing

Source: Internet
Author: User

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 "/>








Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.