路由Corp配置
Corp#sh run

Building configuration...

Current configuration : 1652 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

hostname Corp!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

no ip cef

no ipv6 cef

!

no ip domain-lookup

!

spanning-tree mode pvst!

!

interface FastEthernet0/0

description connection to R3

ip address 10.1.5.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

!

interface FastEthernet0/3/0

description Switch port connection to WWW Server

switchport mode access

!

interface FastEthernet0/3/1

description Switch port connection to Email Server

switchport mode access

!

interface FastEthernet0/3/2

description Switch port connection to DNS server

switchport mode access

!

interface FastEthernet0/3/3

switchport mode access

!

interface Serial1/0

description 1st connection to R1

ip address 10.1.2.1 255.255.255.0

!

interface Serial1/1

description 2nd Connection to R1

ip address 10.1.3.1 255.255.255.0

clock rate 2000000

!

interface Serial1/2

description connection to R2

ip address 10.1.4.1 255.255.255.0

clock rate 2000000

!

interface Serial1/3

no ip address

clock rate 2000000

shutdown

!

interface Vlan1

description switch card to core network

ip address 10.1.1.1 255.255.255.0

!

ip classless

!

ip flow-export version 9

!

banner motd ^C this is my Corp 2811 ISR ROUTER ^C

!

line con 0

exec-timeout 0 0

password jason

logging synchronous

login

!

line aux 0

password jason

login

!

line vty 0 4

password jason

login

line vty 5 15

password jason

login

!

end
路由一的配置

R1#sh run

Building configuration...

Current configuration : 1142 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R1

!!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

no ip cef

no ipv6 cef

!

!

no ip domain-lookup

!

!

spanning-tree mode pvst

!

interface FastEthernet0/0

description connection to finance pc

ip address 192.168.10.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

description connection to marketing pc

ip address 192.168.20.1 255.255.255.0

duplex auto

speed auto

!

interface Serial0/0/0

description 1st connection to Corp Router

ip address 10.1.2.2 255.255.255.0

clock rate 2000000

!

interface Serial0/0/1

description 2end connection to Corp Router

ip address 10.1.3.2 255.255.255.0

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

banner motd ^C this is my Router ^C

!

line con 0

exec-timeout 0 0

password jason

logging synchronous

login

!

line aux 0

password jason

login

!

line vty 0 4

password jason

login

line vty 5 15

password jason

login

!

end 
路由器二配置

R2#sh run

Building configuration...

Current configuration : 1078 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R2

!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

!

no ip cef

no ipv6 cef

!

no ip domain-lookup

!

!

spanning-tree mode pvst

!

!

interface FastEthernet0/0

description connection to sales PC

ip address 192.168.30.1 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

description connection to HR PC

ip address 192.168.40.1 255.255.255.0

duplex auto

speed auto

!

interface Serial0/0/0

description connection to Corp Router

ip address 10.1.4.2 255.255.255.0

!

interface Serial0/0/1

no ip address

clock rate 2000000

shutdown

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

banner motd ^C this is my R2 router ^C

!

line con 0

exec-timeout 0 0

password jason

logging synchronous

login

!

line aux 0

password jason

login

!

line vty 0 4

password jason

login

line vty 5 15

password jason

login

!

end
路由器三的配置

R3#sh run

Building configuration...

Current configuration : 998 bytes

!

version 12.4

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname R3

!

enable secret 5 $1$mERr$DjvRJhZ6zKMbZlf94SAPL0

!

dot11 ssid admin

authentication open

guest-mode

!

no ip cef

no ipv6 cef

!

spanning-tree mode pvst

!

interface FastEthernet0/0

description connection to Corp Router

ip address 10.1.5.2 255.255.255.0

duplex auto

speed auto

!

interface FastEthernet0/1

no ip address

duplex auto

speed auto

!

interface Dot11Radio0/3/0

description WLAN for mobile user

ip address 172.16.10.1 255.255.255.0

speed 12.0 18.0 24.0 36.0 48.0 54.0 6.0 9.0 basic-1.0 basic-11.0 basic-2.0 basic-5.5

ssid admin

!

interface Dot11Radio0/3/1

no ip address

speed 18.0 36.0 48.0 54.0 9.0 basic-12.0 basic-24.0 basic-6.0

!

interface Vlan1

no ip address

shutdown

!

ip classless

!

ip flow-export version 9

!

line con 0

!

line aux 0

!

line vty 0 4

login

!

end

cisco路由的ip路由(一)的更多相关文章

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

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

  2. 彻底理解Cisco/Linux/Windows的IP路由

    -1.只要理解实质,名称并不重要! 很多使用Linux的网络高手在面对Cisco管理员的诸如管理距离,路由度量等词汇时,还没有PK就自觉败下阵来了.我觉得这实在太可惜了,大家本是一家,为何这么为难对方 ...

  3. cisco路由的ip静态路由添加(二)

    路由器Corp 配置Corp(config)#ip route 192.168.20.0 255.255.255.0 10.1.3.2 150 Corp(config)#ip route 192.16 ...

  4. ip route rule 路由策略 高级路由 捆绑 网桥

    http://lwfs.net/2005/11/28/10/ #!/bin/bash IP0= IP1= GW0= GW1= NET0= NET1= DEV0=eth0 DEV1=eth1 # com ...

  5. IP路由__静态路由

    1.静态路由的优缺点: 优点:对于路由器的CPU没有管理性开销,它意味着如果你不使用动态路由选择的话,你可能应该购买更为便宜的路由器.在路由器之间没有带宽占用,它意味着在WAN链接中你可以节省更多的钱 ...

  6. Linux IP 路由实现

    以下代码取自 kernel . [数据结构] 该结构被基于路由表的classifier使用,用于跟踪与一个标签(tag)相关联的路由流量的统计信息,该统计信息中包含字节数和报文数两类信息. 这个结构包 ...

  7. TCP/IP协议栈 --- IP路由

    IP路由:当一个IP包在主机发送出去或者在网络当中时,是怎么选择路径到达目的主机的呢? 一般情况下, 如果说源主机和目的主机在同一个网络中的话,那个数据报可以直接到达目的主机而不经过路由器,下面可以试 ...

  8. IP路由原理

    IP路由原理 一.什么是路由 路由是指导IP报文发送的路径信息. 二.路由表的构成 路由表是路由器转发报文的判断依据 三.路由器单跳操作 四.路由表查找规则 1.选择度量值小的进行转发 2.永远将下一 ...

  9. Linux基础命令---IP路由操作

    ip ip指令可以显示或操作路由.网路设备,设置路由策略和通道. 此命令的适用范围:RedHat.RHEL.Ubuntu.CentOS.SUSE.openSUSE.Fedora.   1.语法     ...

随机推荐

  1. 寻找hive视图

    如何hive视图 1.mysql数据库 [centos@s201 ~]$ mysql -uroot -proot mysql> show databases; +---------------- ...

  2. Redis介绍、安装、配置

    NoSQL介绍 NoSQL(NoSQL=Not Only SQL),意为反SQL运动,是一项全新的数据库革命性运动.指的是非关系型数据库,解决了传统的关系型数据库,难以解决的超大规模和高并发的的问题 ...

  3. JVM(七),JVM面试小知识

    七.JVM面试小知识 1.JVM三大性能调优参数 -Xms -Xmx -Xss 的含义 2.java内存模型中堆和栈的区别 3.不同JDK版本中的intern()方法的区别

  4. luogu 3857 [TJOI2008]彩灯 线性基

    可以将每一个开关控制的灯的序列看作是0/1组成的二进制. 由于灯的开和关是满足异或的性质的,所以直接求一下线性基大小即可. 答案为 $2^{size}.$ #include <cstdio> ...

  5. nodeJS环境搭建

    1. Node.js是什么 1.1 Node.js是一个基于Chrome V8引擎的[JavaScript运行环境]. Node.js使用了一个事件驱动.非阻塞式I/O 的模型. 1.2 Node.j ...

  6. Neko does Maths CodeForces - 1152C 数论欧几里得

    Neko does MathsCodeForces - 1152C 题目大意:给两个正整数a,b,找到一个非负整数k使得,a+k和b+k的最小公倍数最小,如果有多个k使得最小公倍数最小的话,输出最小的 ...

  7. ZOJ - 4045District Division dfs划分子树

    ZOJ - 4045District Division 题目大意:给你n个节点的树,然后让你划分这棵数使得,每一块都恰好k个节点并且两两间是连通的,也就是划分成n/k个连通集,如果可以输出YES,并输 ...

  8. 家庭问题x

    [问题描述] 有n个人,编号为1,2,……n,另外还知道存在K个关系.一个关系的表达为二元组(α,β)形式,表示α,β为同一家庭的成员. 当n,k和k个关系给出之后,求出其中共有多少个家庭.最大的家庭 ...

  9. k8s集群管理注意要点【持续更新】

    1.编写pod yaml文件时绑定调度标签,必须要给指定节点绑定标签,否则无法调度到指定节点上,报错: Events: Type Reason Age From Message ---- ------ ...

  10. C++入门经典-例9.2-重载函数模板,求出字符串的最小值

    1:整形数和实型数编译器可以直接进行比较,所以使用函数模板后也可以直接进行比较,但如果是字符指针指向的字符串该如何处理呢?这时可以通过重载函数模板来实现.通常字符串需要库函数来进行比较,通过重载函数模 ...