动态网站制作指南



当前位置 > 网站建设学院 > 冲浪宝典 > 组网技术 > 网络管理 Rss

配置帧中继于接口(2)


发表日期:2008-1-13



  第2部分:配置和监测帧中继多点子接口
  
    以下的配置把R1的S0接口设置成为帧中继的多点子接口,其他路由器依然使用物理接口。
    配置清单8-6列出了各路由器的配置。
  
    配置清单8-6配置帧中继多点子接口
  
    第1段:R1路由器的配置
    version 12.1
    service timestamps debug uptime
    service timestamps log uptime
    no service passWord-encryption
    !
    hostname R1
    !
    ip subnet-zero
    !
    interface Loopback0
     ip address 10.1.1.1255.255.255.0
    !
    interface Serial0
    no ip address
     encapsulation frame-relay
     no fair-queue
     no frame-relay inverse-arp
    interface Serial0.2 multipoint
     bandwidth 64
     ip address 192.168.1.1255.255.255.0
     frame-relay map ip 192.16S.1.2 102 broadcast
     frame-relay map ip 192.168.1.3 103 broadcast
    !
    router eigrp 100
     network 10.1.1.0 0.0.0.255
     network 192.168.1.00.0.0.255
     no auto-summary
     no eigrp log-neighbor-changes
    !
    ip classless
    ip http server
    !
    line con 0
    line aux 0
    line vty 0 4
    !
    end
    第2段:R2路由器的配置
    version 12.1
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R2
    !
    ip subnet-zero
    no ip finger
    !
    interface Loopback0
     ip address 10.1.2.1255.255.255.0
    !
    interface Serial0
     bandwidth 64
     ip address 192.168.1.2 255.255.255.0
     encapsulation frame-relay
     no fair-queue
     frame-relay map ip 192.168.1.1 201 broadcast
     frame-relay interface-dici 201
     no frame-relay inverse-arp
    !
    router eigrp 100
     network 10.1.2.00.0.0.255
     network 192.168.1.0
     no auto-summary
     no eigrp log-neighbor-changes
    !
    ip classless
    ip http server
    !
    line con 0
     transport input none
    line aux 0
    line vty 0 4
    !
    end
    第3段:R3路由器的配置
    version 12.1
    service timestamps debug uptime
    service timestamps log uptime
    no service password-encryption
    !
    hostname R3
    !
    ip subnet-zero
    no ip finger
    !
    interface Loopback0
     ip address 10.1.3.1255.255.255.0
     !
    interface Serial0
     bandwidth 64
     ip address 192.168.L3
     encapsulation frame-relay
     no fair-queue
    frame-relay map ip 192.168.1.1 301 broadcast
    frame-relay interface-dici 301
    no frame-relay inverse-arp
    !
    router eigrp 100
    network 10.1.3.00.0.0.255
    network 192.168.1.0
    no auto-summary
    no eigrp log-neighbor-changes
    !
    ip classless
    ip http server
    !
    line con 0
     transport input none
    line aux 0
    line vty 0 4
    !
    end
  
    (1)第1段中,对R1路由器进行了帧中继多点子接口的配置。配置中注重以下几点:
    ●在物理接口下只配置帧中继封装,不配置IP地址和带宽属性;
    ●定义子接口号可以任意,如实验中的S0.2;
    ●在定义子接口号时指定所用的方式,即多点方式;
    ●在多点子接口中定义IP地址、带宽,并配置帧中继MAP语旬;
    ●在多点子接口配置方式下,该于接口可连接多台路由器。
    (2)R2和R3路由器使用的是物理接口来配置帧中继,使用了MAP语旬定义静态映射。注重R1。R2和R3三台路由器的S0接口共处于192.168.1.0/24网段中。
    这是一个典型的NBMA(Nonebroadcast Multiaccess,非广播式多路访问)环境,在下面的探讨中将看到它的一些特点。
    (3)EIGRP协议的配置与点到点方式下相似。
    监测清单8-5所列内容是对上述配置的监测和调试的过程。
  
    监测清单8-5查看帧中继多点子接口配置结果
  
    第1段:查看EIGRP路由表
    R1#sh ip route eigrp
      10.0.0.0/24 is subnetted, 3 subnets
    D   10.1.3.0[90/40640000]via 192.168.1.3,00:08:24,Serial0.2
    D   10.1.2.0[90/40640000]via 192.l68.1.2,00:07:42.Serial0.2
    R1#
    Term_Server#2
    [Resuming connection 2 to r2 ... ]
  
    R2#sh ip route eigrp
      10.0.0.0/24 is subnetted, 2 subnets
    D   10.1.1.0 [90/406400003 via 192.168.1.1,00:07:51,Serial0
    R2#
    Term_Server#3
    [Resuming connection 3 to r3 ... ]
  
    R3#sh ip route eigrp
      10.0.0.0/24 is subnetted, 2 subnets
    D   10.1.1,0 [90/40640000] via 192.168.1.1,00:08:34,Serial0
    R3#
    第2段:禁用EIGRP水平分割并查看路由表和网络连通性
    Term_Server#1
    [Resuming connection 1 to r1 ... ]
  
    R1#conft
    Enter configuration commands, one per line. End with CNTL/Z.
    R1(config)#int s0.2
    R1(config-subif)#no ip split-horizon eigrp 100
    R1(config-subif)#^Z
    R1#
    Term_Server#2
    [Resuming connection 2 to r2 ... ]
   
    R2#
    R2#sh ip route eigrp
      10.0.0.0/24 is subnetted, 3 subnets
    D   10.1.2.0[90/41152000]via 192.168.1.1,00:00:34,Serial0
    D   10.1.1.0[90/40640000]via 192.168.1.1,00:00:34,Serial0
    R2#
    Term_Server#3
    [Resuming connection 3 to r3 ... ]
  
    R3#sh ip route eigrp
      10.0.0.0/24 is subnetted, 3 subnets
    D   10.1.2.0[90/41152000]via 192.168.1.1,00:17:25,Serial0
    D   10.1.1.0[90/40640000]via 192.168.1.1,00:17:25,Serial0
    R3#
    R3#ping 10.1.2.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds:
    .....
    SUCcess rate is 0 percent (0/5)
    第3段:增加帧中继静态映射并再次测试连通性
    R3#ping
    PRotocol [ip]:
    Target IP address: 10.1.2.1
    Repeat count [5]:
    Datagram size [ 100]:
    Timeout in seconds [2]:
    Extended commands [n]: y
    Source address or interface: 10.1.3.1
    Type of service [0]:
    Set DF bit in IP header? [no]:
    Validate reply data? [no]:
    Data pattern [0xABCD]:
    Loose, Strict, Record, Timestamp, Verbose[none]:
    Sweep range of sizes [n]:
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent(5/5),round-trip min/avg/max=116/116/120 ms
    
    R3#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    R3(config)#int sO
    R3(config-if)#frame map ip 192.168.1.2 301 broadcast
    R3(config-if)#
    Term_Server#^2
    [Resuming connection 2 to r2 ... ]
  
    R2#conft
    Enter configuration commands, one per line. End with CNTL/Z.
    R2(config)#int sO
    R2(config-if)#frame map ip 192.168.1.3 201 broadcast
    R2(config-if)#^Z
    R2#
    R2#ping 192.168.1.3
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds:
    !!!!!
    Success rate is 100 percent(5/5),round-trip min/avg/max=120/124/36 ms
    R2#ping 10.1.3.1
    Type es

关注此文的读者还看过:
·2012-5-21 17:34:36 明智无盘系统常见故障的解决精粹
·2012-5-21 17:34:08 OSPF邻接状态
·2012-5-21 17:33:38 网上寻宝行
·2012-5-21 17:33:16 Windows Server 2003无盘终端网组建(9)
·2012-5-21 17:32:48 骨干ISP配置实例之 ISP1BB5的配置
·2012-5-21 17:32:19 推荐书籍:《网络管理维护大师》
·2012-5-21 17:27:03 ADSL测速、加速、检测故障全解决
·2012-5-21 17:25:18 桌面锁——网吧上网的必备软件
·2012-5-21 17:23:47 局域网速度测试 三款软件轻松搞定
站长推荐 PS笔刷下载 在线翻译 系统进程 广告代码
  发表评论
姓 名: 验证码:
内 容:
教程搜索服务
项目外包信息
·汽车配件网站制作 50000元
·整站SEO优化
·课件门户网程序
·求长期合作网站设计制作高手
·公司网站重新改版 8000元
·asp企业网站小改动
·网站flash片头
·文化传播公司网站设计稿
·UI界面设计
·产品外观改版设计 15000元
·照明灯具网站设计 10000元
·求长期合作网站设计制作高手
·做B2C网站 20000元
·Android或QT软硬件平台设计(工
·网站首页FLASH
发布信息 浏览信息
邮件订阅服务
输入你的邮件地址,你将不会错过任何关于<网络管理>的内容


组网技术文章分类
局域网
无线技术
交换技术
路由技术
Cisco网络
网络方案
网络管理
网络协议
华为网络
存储备份
站长工具:Google PR查询|Alexa排名查询|网站速度测试|CSS在线编辑器|OPEN参数生成器|弹出式窗口代码产生器|密码登录生成器|在线按钮生成器|Meta标签生成器|邮箱图标在线生成|多色彩特效字代码生成器|网页代码调试器|在线FTP登陆|Flash取色器|配色代码对照表|配色辞典|CSS生成器|CSS在线压缩|广告代码|框架网页代码生成器|js/vbs加密|md5加密|进制转换|UTF-8 转换工具|在线调色板|Html转换js|Html转换asp|Html转换php|Html转换perl
实用工具:汉字翻译拼音|拼音字典|在线翻译|天气预报|火星文|在线网速测试|符号对照表|个税计算|理财工具|黄金价格|购房银行按揭利率计算|汇率查询|经典小工具|汉字简繁转换|普通单位换算|公制单位换算|生辰老黄历|国内电话区号|国家代码与域名缩写|文字加密解密|元素周期表|健康查询|世界时间|全国各地车牌查询|全国车辆交通违章查询|万年历|二十四节气|汉字横竖排版|手机号码查询|计算器|ip搜索|酒店预订|机票预订
广告刊登 | 版权声明 | 联系我们 | 加入收藏 | RSS订阅
Copyright © 2000-2012 www.knowsky.com All rights reserved | 沪ICP备05001343号