码迷,mamicode.com
首页 > 其他好文 > 详细

实验五

时间:2019-05-22 22:12:27      阅读:88      评论:0      收藏:0      [点我收藏+]

标签:环路   static   info   ESS   http   alt   route   code   地址   

技术图片

 

 

第一个和第二个路由之间的网段是10.1.1.0/30,第二个和第三个路由之间的网段是10.1.1.4/30。第一个路由的环路地址为192.168.10.1/24,第二个路由的环路地址为172.16.1.1/24。
先是给接口配Ip地址,R1的0接口配10.1.1.1,R2的0接口配10.1.1.2,R2的1接口配10.1.1.5,R3的0接口配10.1.1.6。

R1:
sys
sysname R1
interface loopback 0
ip add 192.168.10.1 24
qu
interface g0/0
ip address 10.1.1.1 30
qu
dis ip int bri
ip route-static 10.1.1.4 30 10.1.1.2
ip route-static 172.16.1.0 24 10.1.1.2
R2:
sys
sysname R2
interface g0/0
ip address 10.1.1.2 30
qu
interface g0/1
ip address 10.1.1.5 30
ip route-static 192.168.10.0 24 10.1.1.1
ip route-static 172.16.1.0 24 10.1.1.6
R3:
sys
sysname R3
interface loopback 0
ip add 172.16.1.0 24
qu
interface g0/0
ip address 10.1.1.6 30
qu
dis ip int bri
ip route-static 10.1.1.0 30 10.1.1.5
ip route-static 192.168.10.0 24 10.1.1.5

 

之后测试

实验五

标签:环路   static   info   ESS   http   alt   route   code   地址   

原文地址:https://www.cnblogs.com/zhuweiyi/p/10908849.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!