测试拓扑:

知识点:DHCP;IOS的备份恢复与更新;静态路由;动态路由(RIP);动态路由(EIGRP)

1.DHCP

拓扑:

主要指令:

   ip dhcp pool 地址池名称

    network 网络号 子网掩码

详细配置(参考答案):

详细配置:

int f0/0

ip add 192.168.15.1 255.255.255.0

no shu

exit

ip dhcp pool lilywhite

network 192.168.15.0 255.255.255.0

exit

PC机下IP设置为DHCP自动获取IP地址,验证结果。

2.IOS的备份恢复与更新

拓扑:

题目背景:

进入1841路由器后显示rommon 1,显然只剩下最基础的bash环境了,需要通过Server0服务器上保存的IOS进行恢复的操作。

操作步骤:

      tftpdnld(进入tftpdownload模式,从而方便查看参数

   IP_ADDRESS=192.168.1.2

    IP_SUBNET_MASK=255.255.255.0

   DEFAULT_GATEWAY=192.168.1.1

   TFTP_SERVER=192.168.1.1

    TFTP_FILE=c1841-advipservicesk9-mz.124-15.T1.bin

     (值得注意的是这里的文件名是从服务器copy下的文件名)

    tftpdnld(再次进入tftpdnld模式查看)

       (此时显示出参数信息,并询问是否下载IOS,并烧录,输入y开始烧录)

   boot(烧录成功后,加载系统)

值得注意的是:必须要先确认好Server0服务器的IP地址,否则无法与服务器联通,下载不了数据。

3.静态路由

拓扑:

主要指令:

      ip   route   目标网络号   子网掩码   下一跳

详细配置(参考答案):

标红处代表当前路由配置信息,下同

1.1.1.1

int loop 0

ip add 1.1.1.1 255.255.255.0

no shu

exit

int f0/0

ip add 12.15.15.1 255.255.255.0

no shu

exit

int f0/1

ip add 15.15.15.2 255.255.255.0

exit

ip route 13.15.15.0 255.255.255.0 12.15.15.2

ip route 14.15.15.0 255.255.255.0 12.15.15.2

ip route 2.2.2.0 255.255.255.0 12.15.15.2

ip route 3.3.3.0 255.255.255.0 12.15.15.2

ip route 4.4.4.0 255.255.255.0 15.15.15.1

2.2.2.2:

int loop 0

ip add 2.2.2.2 255.255.255.0

no shu

exit

int f0/0

ip add 12.15.15.2 255.255.255.0

no shu

exit

int f0/1

ip add 13.15.15.1 255.255.255.0

no shu

exit

ip route 14.15.15.0 255.255.255.0 13.15.15.2

ip route 15.15.15.0 255.255.255.0 12.15.15.1

ip route 1.1.1.0 255.255.255.0 12.15.15.1

ip route 3.3.3.0 255.255.255.0 13.15.15.2

ip route 4.4.4.0 255.255.255.0 13.15.15.2

3.3.3.3:

int loop 0

ip add 3.3.3.3 255.255.255.0

no shu

exit

int f0/0

ip add 13.15.15.2 255.255.255.0

no shu

exit

int f0/1

ip add 14.15.15.1 255.255.255.0

no shu

exit

ip route 12.15.15.0 255.255.255.0 13.15.15.1

ip route 15.15.15.0 255.255.255.0 14.15.15.2

ip route 2.2.2.0 255.255.255.0 13.15.15.1

ip route 4.4.4.0 255.255.255.0 14.15.15.2

ip route 1.1.1.0 255.255.255.0 13.15.15.1

4.4.4.4:

int loop 0

ip add 4.4.4.4 255.255.255.0

no shu

exit

int f0/0

ip add 14.15.15.2 255.255.255.0

no shu

exit

int f0/1

ip add 15.15.15.1 255.255.255.0

no shu

exit

ip route 12.15.15.0 255.255.255.0 15.15.15.2

ip route 13.15.15.0 255.255.255.0 14.15.15.1

ip route 1.1.1.0 255.255.255.0 15.15.15.2

ip route 2.2.2.0 255.255.255.0 15.15.15.2

ip route 3.3.3.0 255.255.255.0 14.15.15.1

4.动态路由(RIP)排错

拓扑:

错误点:

R10:

RIP配置错误:宣告网络的主类号和RIP版本错误,没有关闭自动聚合。

R11:

F0/0和F0/1的IP地址配置错误;

RIP配置错误:缺少宣告网络的主类号,没有关闭自动聚合。

R12:

缺少loopback接口的IP;

F0/0接口的IP地址设置错误,F0/1接口上多了个IP地址;

RIP配置错误:同上。

更正后配置:

R10

iterface Loopback1

  ip address 1.1.1.1 255.255.255.0

!

interface FastEthernet0/0

  ip address 12.1.1.1 255.255.255.0

!

router rip

  version 2

  network 1.0.0.0

  network 12.0.0.0

  no auto-summary

R11

iterface Loopback1

  ip address 2.2.2.2 255.255.255.0

!

interface FastEthernet0/0

  ip address 12.1.1.2 255.255.255.0

!

interface FastEthernet0/1

  ip address 23.1.1.1 255.255.255.0

!

router rip

  version 2

  network 2.0.0.0

  network 12.0.0.0

  network 23.0.0.0

  no auto-summary

R12:

iterface Loopback0

  ip address 3.3.3.3 255.255.255.0

!

interface FastEthernet0/0

  ip address 23.1.1.2 255.255.255.0

!

router rip

  version 2

  network 3.0.0.0

  network 23.0.0.0

  no auto-summary

5.动态路由(EIGRP)

拓扑:

主要指令:

   router eigrp X

   network 网络号

    no auto-summary(关闭自动聚合)

详细配置(参考答案):

R2

int f0/0

ip add 192.168.56.1 255.255.255.0

no shu

exit

int f0/1

ip add 192.168.12.254 255.255.255.0

no shu

exit

router eigrp 15

network 192.168.12.0

network 192.168.56.0

no auto-summary

R3:

int f0/0

ip add 192.168.56.2 255.255.255.0

no shu

exit

int f0/1

ip add 192.168.34.1 255.255.255.0

no shu

exit

router eigrp 15

network 192.168.34.0

network 192.168.56.0

no auto-summary

R4:

int f0/0

ip add 192.168.56.3 255.255.255.0

no shu

exit

int f0/1

ip add 192.168.23.254 255.255.255.0

no shu

exit

router eigrp 15

network 192.168.23.0

network 192.168.56.0

no auto-summary

R5:

int f0/0

ip add 192.168.34.2 255.255.255.0

no shu

exit

int f0/1

ip add 192.168.45.254 255.255.255.0

no shu

exit

router eigrp 15

network 192.168.34.0

network 192.168.45.0

no auto-summary

交换路由中期测验20181205(DHCP、IOS、静态路由、RIP、EIGRP)的更多相关文章

  1. 路由与交换,cisco路由器配置,浮动静态路由

    设置浮动静态路由的目的就是为了防止因为一条线路故障而引起网络故障.言外之意就是说浮动静态路由实际上是主干路由的备份.例如下图: 假如我们设路由器之间的串口(seria)为浮动静态路由(管理距离为100 ...

  2. 【Cisco】实现同一个路由器一个端口用动态路由,另一个端口用静态路由

    一.先构建以下网络图: 准备三台路由器,三台交换机,三台主机,连接所有设备并配置端口IP和网关,DCE端口的时钟频率都设置为64000.

  3. 交换路由中期测验20181226(动态路由配置与重分发、NAT转换、ACL访问控制列表)

    测试拓扑: 接口配置信息 HostName 接口 IP地址 网关 Server 0 Fa0 172.16.15.1/24 172.16.15.254 Server 1 Fa0 100.2.15.200 ...

  4. 华为eNSP路由交换-静态路由

    静态路由 一. 静态路由及默认路由基本配置 1.1实验内容 在由三台路由器所组成的简单网络中,R1和R3各连着一台PC,现在要求能够实现PC-1和PC-2之间的通信.本实验将通过配置基本的静态路由和默 ...

  5. Cisco配置单臂路由及静态路由

    实验环境: 如图下图所示,PC0.PC1.PC2.PC3分别属于不同的VLAN,通过配置单臂路由及静态路由,实现不同VLAN之间的PC能相互访问. 操作步骤: 1. 思科 2960交换机SW1配置信息 ...

  6. eNSP——静态路由的基本配置

    原理: 静态路由是指用户或网络管理员手工配置的路由信息.当网络的拓扑结构或链路状态发生改变时,需要网络管理人员手工修改静态路由信息. 相比于动态路由协议,静态路由无需频繁地交换各自的路由表,配置简单, ...

  7. CCNA - Part12 - 路由协议 (1) - 静态路由,动态路由 RIP

    路由器 在之前关于路由器的介绍中,我们知道它是网络互联的核心设备,用于连接不同的网络,在网络之间转发 IP 数据报.对于路由器来说,路由表是其内部最为重要的构成组件.当路由器需要转发数据时,就会按照路 ...

  8. 解决CentOS添加新网卡后找不到网卡配置文件,配置多网卡并设置静态路由

    参考文章 https://blog.csdn.net/qq_36512792/article/details/79787649 使用VMware Workstation虚拟机安装好CentOS7虚拟机 ...

  9. IP路由及静态路由配置

    IP路由及静态路由配置 qianghaohao(CodingNutter) 链接来源:http://www.cnblogs.com/codingnutter/p/5654271.html 一.IP路由 ...

随机推荐

  1. setsockopt设置socket状态

    setsockopt设置socket状态 1.closesocket(一般不会立即关闭而经历TIME_WAIT的过程)后想继续重用该socket:BOOL bReuseaddr=TRUE;setsoc ...

  2. SVN忘记登陆用户

    C:\Users\Yaolz\AppData\Roaming\Subversion\auth 删除里面所有文件

  3. Docker Hello World

    Docker 允许你在容器内运行应用程序,使用docker run命令来在容器内运行一个个应用程序. 输出Hello World docker run ubuntu:15.10 ./bin/echo ...

  4. Java第三次实验敏捷开发与XP实验

    实验三-1 1.实验要求: 实验三 敏捷开发与XP实践 http://www.cnblogs.com/rocedu/p/4795776.html, Eclipse的内容替换成IDEA 参考 http: ...

  5. Maven学习 一 概念介绍

    一 Maven是什么 Maven是一个Apache公司的开源项目,主要有两个作用:(1)是项目构建工具.(2)是用来管理java程序中jar包的依赖. 它包含了一个项目对象模型(Project Obj ...

  6. s5-6 Linux 标准输出 系统优化 目录结构

    标准输出 重定向符号 #>   1>    标准输出重定向  先把文件的内容清空   把内容放在文件的最后一行 #>>  1>>   追加重定向      把内容放 ...

  7. Codeforces828 C. String Reconstruction

    C. String Reconstruction time limit per test 2 seconds memory limit per test 256 megabytes input sta ...

  8. JavaScrip继承图文总结

    JavaScript有多种继承模式,总结起来用到的方法有:原型链的传递.构造函数的借用.对象的复制.     这篇文章讲得很清晰,让我们明白:所有JS对象源于null,并通过原型指针和原型对象来实现继 ...

  9. Windows核心编程:第10章 同步设备IO与异步设备IO

    Github https://github.com/gongluck/Windows-Core-Program.git //第10章 同步设备IO与异步设备IO.cpp: 定义应用程序的入口点. // ...

  10. 背水一战 Windows 10 (76) - 控件(控件基类): Control - 基础知识, 焦点相关, 运行时获取 ControlTemplate 和 DataTemplate 中的元素

    [源码下载] 背水一战 Windows 10 (76) - 控件(控件基类): Control - 基础知识, 焦点相关, 运行时获取 ControlTemplate 和 DataTemplate 中 ...