小型企业网静态路由组网实验

2019-05-17 19:16

一、实验目的

1、使用静态汇总路由与缺省路由实现长沙、株洲、湘潭全网连通

2、掌握静态汇总路由与缺省路由配置

3、掌握等价路由负载均衡(控制层面的等价路由、转发层面的按流或按包负载)

4、掌握浮动静态路由、替代路由的配置与运用,掌握最长掩码匹配原则

5、了解递归查找的原理与黑洞路由的配置

二、实验拓扑

三、实验内容 1、基本信息配置

RT1 Router>enable //进入特权模式 Router#config terminal //进入全局模式 Router(config)#hostname RT1

//配置主机名

RT1(config)#no ip domain lookup

//禁用域名查找 RT1(config)#line console 0

//进入console线口

RT1(config-line)#logging synchronous

//自动换行

RT1(config-line)#no login

//配置不需要认证

RT1(config-line)#privilege level 15

//配置获取最高权限 RT1(config-line)#line vty 04

//进入线口

RT1(config-line)#no login

//配置不需要认证

RT1(config-line)#privilege level 15

//配置获取最高权限 RT1(config-line)#exit

//退出

RT3

Router>enable Router#configure terminal Router(config)#hostname RT3 RT3(config)#no ip domain lookup RT3(config)#line console 0 RT3(config-line)#logging synchronous

RT3(config-line)#no login RT3(config-line)#privilege level 15

RT3(config-line)#exec-t 0 RT3(config-line)#exit RT3(config)#line vty 04 RT3(config-line)#logging synchronous

RT3(config-line)#no login RT3(config-line)#privilege level 15

RT3(config-line)#exit

RT5

Router>enable Router#configure terminal Router(config)#hostname RT5 RT5(config)#no ip domain lookup RT5(config)#line console 0 RT5(config-line)#logging synchronous

RT5(config-line)#no login RT5(config-line)#privilege level 15

RT5(config-line)#exec-t 0 RT5(config-line)#exit RT5(config)#line vty 04 RT5(config-line)#logging synchronous

RT5(config-line)#no login RT5(config-line)#privilege level 15

RT5(config-line)#exit

RT7

Router>enable Router#configure terminal Router(config)#hostname RT7 RT7(config)#no ip domain lookup RT7(config)#line console 0 RT7(config-line)#logging synchronous

RT7(config-line)#no login RT7(config-line)#privilege level 15

RT7(config-line)#exec-t 0 RT7(config-line)#exit RT7(config)#line vty 04 RT7(config-line)#logging synchronous

RT7(config-line)#no login RT7(config-line)#privilege level 15

RT7(config-line)#exit

2、局域网接口配置

RT1

RT1(config)#interface ethernet 3/0

RT1(config-if)#ip address 192.168.20.1 255.255.255.0

RT1(config-if)#no shutdown

RT1(config-if)#exit

RT1(config)#interface ethernet 3/1

RT1(config-if)#ip address 192.168.21.1 255.255.255.0

RT1(config-if)#no shutdown

RT1(config-if)#exit

RT3

RT3(config)#interface ethernet 3/0

RT3(config-if)#ip address 192.168.36.1 255.255.255.0

RT3(config-if)#no shutdown

RT3(config-if)#exit

RT3(config)#interface ethernet 3/1

RT3(config-if)#ip address 192.168.37.1 255.255.255.0 RT3(config-if)#ip address 192.168.37.20 255.255.255.0 secondary

//配置辅助地址,主要用于解决不连续子网的动态路由的辅助地址,本实验中,用于替代路由测试。

RT3(config-if)#ip address 192.168.37.30 255.255.255.0 secondary

RT3(config-if)#no shutdown

RT3(config-if)#exit

RT5

RT5(config)#interface ethernet 3/0

RT5(config-if)#ip address 192.168.44.1 255.255.255.0

RT5(config-if)#no shutdown

RT5(config-if)#exit

RT7

RT7(config)#interface fastEthernet 1/0

RT7(config-if)#ip address 202.202.202.202 255.255.255.248

RT7(config-if)#no shutdown

RT7(config-if)#exit 3、广域网链路配置 RT1—RT3

RT1(config)#interface serial 0/0 RT1(config-if)#clock rate 1000000 //配置dce端时钟频率,1Mbps RT1(config-if)#encapsulation hdlc //配置数据链路层封装协议

RT1(config-if)#ip address 192.168.1.1 255.255.255.252

RT1(config-if)#no shutdown

RT1(config-if)#exit

RT1(config)#interface serial 0/1 RT1(config-if)#clock rate 1000000 RT1(config-if)#encapsulation hdlc

RT1(config-if)#ip address 192.168.1.5 255.255.255.252

RT1(config-if)#no shutdown

RT1(config-if)#exit

RT3(config)#interface serial 0/0 RT3(config-if)#encapsulation hdlc

RT3(config-if)#ip address 192.168.1.2 255.255.255.252

RT3(config-if)#no shutdown

RT3(config-if)#exit

RT3(config)#interface serial 0/1

RT3(config-if)#ip address 192.168.1.6 255.255.255.252

RT3(config-if)#no shutdown

RT3(config-if)#exit

RT1—RT5

RT1(config)#interface serial 0/2

RT1(config-if)#clock rate 1000000 RT1(config-if)#encapsulation hdlc

RT1(config-if)#ip address 192.168.1.10 255.255.255.252

RT1(config-if)#no shutdown

RT1(config-if)#exit

RT5(config)#interface serial 0/0 RT5(config-if)#encapsulation hdlc

RT5(config-if)#ip address 192.168.1.10 255.255.255.252

RT5(config-if)#no shutdown

RT5(config-if)#exit

RT1—RT7

RT1与RT7在同一局域网中,RT7是长沙连接外网的边界路由器

RT1(config)#interface fastEthernet 2/0

RT1(config-if)#ip address 192.168.2.9 255.255.255.248

RT1(config-if)#no shutdown

RT1(config-if)#exit

RT7(config)#interface fastEthernet 2/0

RT7(config-if)#ip address 192.168.2.10 255.255.255.248

RT7(config-if)#no shutdown

RT7(config-if)#exit

链路状态

RT1#show ip interface brief

Interface IP-Address OK? Method Status Protocol Serial0/0 192.168.1.1 YES manual up up Serial0/1 192.168.1.5 YES manual up up Serial0/2 192.168.1.9 YES manual up up FastEthernet2/0 192.168.2.9 YES manual up up Ethernet3/0 192.168.20.1 YES manual up up Ethernet3/1 192.168.21.1 YES manual up up

RT3#show ip interface brief

Interface IP-Address OK? Method Status Protocol Serial0/0 192.168.1.2 YES manual up up Serial0/1 192.168.1.6 YES manual up up Ethernet3/0 192.168.36.1 YES manual up up Ethernet3/1 192.168.37.1 YES manual up up

RT5#show ip interface brief

Interface IP-Address OK? Method Status Protocol Serial0/0 192.168.1.10 YES manual up up Ethernet3/0 192.168.44.1 YES manual up up


小型企业网静态路由组网实验.doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2012年秋石狮市八年级数学期末质量抽查试卷

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: