设为首页收藏本站

美丽的网站-英华家电维修论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 483|回复: 0
打印 上一主题 下一主题

静态路由的配置经典实验操纵综合记录_路由技术

[复制链接]
跳转到指定楼层
楼主
发表于 2011-3-28 07:53:15 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
实验目的:了解为何要在路由器上增设静态路由以及静态路由的配置 Router>en Router#conf t Router(config)#host A A(config)# A(config)#int e0 进入e0端口 A(config-if)#ip add 192.168.1.1 255.255.255.0 添加e0口的IP A(config-if)#no shut 打开e0口 A(config-if)#exit A(config)#int s0 进入s0端口 A(config-if)#ip add 192.168.2.1 255.255.255.0 添加s0口的IP A(config-if)#clock rate 56000 设置时钟 A(config-if)#no shut 打开s0口 A(config-if)#exit A(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2 添加静态路由 Router>en Router#conf t Router(config)#host B B(config)#int e0 进入e0端口 B(config-if)#ip add 192.168.3.1 255.255.255.0 添加e0口的IP B(config-if)#no shut 打开e0口 B(config-if)#exit B(config)#int s1 进入s1端口 B(config-if)#ip add 192.168.2.2 255.255.255.0 添加s1口的IP B(config-if)#no shu 打开s1口t B(config-if)#exit B(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1 添加静态路由
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|手机版|粤ICP备13038386号|粤ICP备13038386号|美丽的网站-英华家电维修论坛 ( 粤ICP备13038386号 )     站长邮箱 505966338@qq.com

GMT+8, 2025-6-29 12:43 , Processed in 0.132901 second(s), 23 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表