Dynagen的配置文件内容:

#Lab -

autostart = False

[localhost]

    [[]]

        ram =
        image = C:\Program Files (x86)\Dynamips\images\c2691-jk9s-mz.-.image

    [[Router r1]]

        model =
        console = 

        s1/ = r2 s1/
        f0/ = r2 f0/
        F0/ = NIO_gen_eth:\Device\NPF_{F5FD1986-FC1E-41CE-AF58-F8B4D1333DFC}
        idlepc = 0x604bba50

    [[Router r2]]

        model =
        console =
        idlepc = 0x603da79c

R1的配置:

r1#show start
Using   bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
no ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!

 no ip address
 shutdown
 duplex auto
 speed auto
!

 ip address 12.0.0.1 255.255.255.248
 duplex auto
 speed auto
!

 ip address 21.0.0.1 255.255.255.248
 serial restart-delay
!

 no ip address
 shutdown
 serial restart-delay
!

 no ip address
 shutdown
 serial restart-delay
!

 no ip address
 shutdown
 serial restart-delay
!
ip http server
no ip http secure-server
ip classless
ip route
ip route
!
!
!
!
!
!
!
!
!
!
!
!
line con
line aux
line vty
 login
!
end

R2的配置:

r2#show start
Using   bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback0
 ip address 172.31.4.1 255.255.255.0
!
interface Loopback1
 ip address 172.31.5.1 255.255.255.0
!
interface Loopback2
 ip address 172.31.6.1 255.255.255.0
!
interface Loopback3
 ip address 172.31.7.1 255.255.255.0
!

 no ip address
 shutdown
 duplex auto
 speed auto
!

 ip address 12.0.0.2 255.255.255.248
 duplex auto
 speed auto
!

 ip address 21.0.0.2 255.255.255.248
 serial restart-delay
!

 no ip address
 shutdown
 serial restart-delay
!

 no ip address
 shutdown
 serial restart-delay
!

 no ip address
 shutdown
 serial restart-delay
!
ip http server
no ip http secure-server
ip classless
!
!
!
!
!
!
!
!
!
!
!
!
line con
line aux
line vty
 login
!
end

截图:

两台CISCO2691测试静态路由汇总,浮动静态路由和负载分担静态路由配置的更多相关文章

  1. HA主备路由模式的原理 + HA和负载均衡的区别

       HA主备路由模式的原理 HA是High Availability缩写,即高可用性 ,可防止网络中由于单个防火墙的设备故障或网络故障导致网络中断,保证网络服务的连续性和安全强度.目前,ha功能已经 ...

  2. 关于宽带接两台路由,并且第二台需要关闭DHCP的设置

    关于宽带接两台路由,并且第二台需要关闭DHCP的设置 https://wenku.baidu.com/view/e317a12d4b35eefdc8d333cb?pcf=2#1

  3. 两台三层交换机单区域OSPF动态路由实验

    一.   实验目的 1.  掌握三层交换机之间通过OSPF协议实现网段互通的配置方法. 2.  理解RIP协议和OSPF协议内部实现的不同点 二.   应用环境 当两台三层交换机级联时,为了保证每台交 ...

  4. 静态路由、RIP、SOPF、VLAN间的路由

    常用命令: clear ip router * --清楚全部路由 show ip route --显示路由表 show ip inter b--显示接口信息 show ip protocols  -- ...

  5. OSPF路由汇总

    转载自红茶三杯博客:http://blog.sina.com.cn/s/blog_5ec353710102vtfy.html 1. 关于路由汇总 路由汇总,又被称为路由聚合(Route Aggrega ...

  6. 双节点(nginx+keepalived)为两台apache服务器提供负载均衡

    说明:本实验为双节点nginx为两台apache服务器提供负载均衡,本文不是做lvs,所以realserver不是配置在keepalived.conf而是在nginx的配置文件中upstream.此架 ...

  7. H3C ER6300 + 两台 H3C S5120 组网举例

    组网需求: 1.H3C ER6300 作出口路由.防火墙及Qos限速等功能(ER6300 配置LAN口 192.168.30.254默认网关) 2.H3C S5120 两台配置相同VLAN10 VLA ...

  8. 两种方式测试 GNS3 环境

    GNS3已经部署好了,怎么测试环境呢?两种方式,一是使用自带的VPC连接交换机互联互通,二是配合VMware连接GNS3中的交换机互联互通. 自带 VPC 测试 使用两台VPC与一台二层交换机相连,测 ...

  9. CentOS 6.5 源码编译搭建LAMP(两台独立主机实现)

    搭建前准备: 1.两台独立主机 httpd:192.168.1.105 php-fpm:192.168.1.105 mariadb:192.168.1.103 2.相关软件的源码包 httpd:htt ...

随机推荐

  1. Python 基础【第三篇】输入和输出

    这里我们创建一个python(pytest)脚本用于学习测试(以后都为这个文件,不多做解释喽),这个文件必须要有执行权限的哈 1.创建pytest并赋予执行权限 [root@fengyuba_serv ...

  2. ReadWriteLock与ReentrantReadWriteLock

    JAVA的JUC包中的锁包括"独占锁"和"共享锁".JUC中的共享锁有:CountDownLatch.CyclicBarrier.Semaphore.Reent ...

  3. what is delta simulation time

    In digital logic simulation, a delta cycles are evaluation of expressions, followed by value updates ...

  4. webbreswer

    为了帮助网友解决"怎么用C#的webBrowser模拟点击页面上的标签"相关的问题,中国学网通过互联网对"怎么用C#的webBrowser模拟点击页面上的标签" ...

  5. SQLServe错误整理

    1. sql拒绝访问?提示SQL Serve不存在或访问被拒绝 (SQL Server does not exist or access denied.) (A) 1:你如果是独立上网的请把21端口打 ...

  6. VC++ Bresenham画线实例

    附带百度链接:http://wenku.baidu.com/link?url=GP4uDkoyulgNxQy5djBBi-JB5BCrMWW6svMDhSfmzi_Qi1s6DhwJiCPHdMI2o ...

  7. JQ动画事件

    1.会飞的li html: <ul id="ulL"> <li>中国</li> <li>美国</li> <li&g ...

  8. java读写csv

    http://blog.csdn.net/snn1410/article/details/9278887

  9. IrisSkin4控件使用方法

    参考如下: 1. 将IrisSkin4.dll动态文件导入当前项目引用中.具体操作为:解决方案资源管理器->当前项目->引用->右键->添加引用,找到IrisSkin4.dll ...

  10. struts2的单文件下载

    一. 导入两个jar包 commons-fileupload-1.3.1.jar commons-io-2.4.jar 二.编写请求上传jsp <h1>文件列表--单文件</h1&g ...