前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布

ppp 3

作者头像
py3study
发布2020-01-08 18:38:59
8550
发布2020-01-08 18:38:59
举报
文章被收录于专栏:python3python3

PPP 3

r1:  en  config t  hostname R1  no ip domain-lookup  lin 0  exec-timeout 0 0  logging syn  exit

r2:  en  config t  hostname R2  no ip domain-lookup  lin 0  exec-timeout 0 0  logging syn  exit

r3:  en  config t  hostname R3  no ip domain-lookup  lin 0  exec-timeout 0 0  logging syn  exit

r4:  en  config t  hostname R4  no ip domain-lookup  lin 0  exec-timeout 0 0  logging syn  exit

r1 config t    frame-relay switching    int s1/0    encapsulation frame-relay    frame-relay intf-type dce    no shutdown    clockrate 64000    exit    int s1/1    encapsulation frame-relay    frame-relay intf-type dce    no shutdown    clockrate 64000    exit    int s1/2    encapsulation frame-relay    frame-relay intf-type dce    no shutdown    clockrate 64000    end

r1 show ip int bri

----------------------------------------------------------- 建立客户的PVC R1 int s1/2    连R4    frame-relay route ?    frame-relay route 402 interface s1/0 204    no shutdown    exit    int s1/0    连R2    frame-relay route 204 interface s1/2 402    no shutdown    exit    int s1/2    连R4    frame-relay route ?    frame-relay route 403 interface s1/1 304    no shutdown    exit    int s1/1    frame-relay route 304 interface s1/2 403    no shutdown    exit

   int s1/0       frame-relay route ?    frame-relay route 203 interface s1/1 302    no shutdown    exit    int s1/1    frame-relay route 302 interface s1/2 203    no shutdown    exit

r1 show frame-relay route 帧中继的R1的PVC 就做完了 ---------------------------------------------- r4  234路由器在不在一个网段 如在一网段你直接用一个物理接口就好了 现在我们做一个类似以太网环境 在同一个网段

r4 config t    int s1/2    encapsulation frame-relay    no shutdown    end r4 show frame-relay pvc 看它学到的DSLC r3  show frame-relay map

r2  int s1/1     encapsulation frame-relay     no shutdown     end r3  int s1/0     encapsulation frame-relay     no shutdown     end

r4  config t     int s1/2     ip add 10.1.1.4 255.255.255.0     end r2   config t      int s1/1      ip add 10.1.1.2 255.255.255.0      end r3   config t      int s1/0      ip add 10.1.1.3 255.255.255.0      end r3 show ip int bri

r4 show frame-relay pvc r4 show frame-relay map 必须是对方配了ip地址你才能学到 要是没有 那反向ARP是学不到 r2  show frame-relay pvc r3  show frame-relay map

------------------------------------------------------------------ 点到点的子接口

r4 config t    int s1/2    shutdown  关了    end r2 config t    int s1/1    shutdown  关了    end r3 config t    int s1/0    shutdown  关了    end r4 show run int s1/2

r4 config t    int s1/2    no ip add  不要以前的ip地址了    exit    int s1/2 ?    int s1/2. ?  (起子接口)    int s1/2. 42 ?    int s1/2.42 point-to-point    frame-relay interface-dlci 402   (DLCI是不能在子接口下获取的所以靠手工)    exit    exit r4  int s1/2.43 point-to-point

r4  frame-relay interface-dlci 403     end r4  show frame-relay map r4  config t     int s1/2.42     ip add 42.1.1.4 255.255.255.0     int s1/2.43     ip add 34.1.1.4 255.255.255.0     int s1/2.42     ip add 24.1.1.4 255.255.255.0     end r4 show ip int bri

r2 config t    int s1/1    no ip add    exit    int s1/1.24 po    frame-relay interface-dlci 204    exit    int s1/1.23 po    frame-relay interface-dlci 203    exit    end r2 config t    interface s1/1.24    ip add 24.1.1.2 255.255.255.0    no shutdown    end r2 config t    int s1/1.23    ip add 23.1.1.2 255.255.255.0    end r2 show frame-relay map r2 config t    interface s1/0    no shutdown    end r2 show fram-relay map

r3 config t    int s1/0    no ip add    exit    int s1/0.34 po    fram-relay interface-dlci 304    exit    inter s1/0.23 po    frame-relay interface-dlci 302    exit    int s1/0.34    ip add 34.1.1.3 255.255.255.0    inter s1/0.33    ip add 34.1.1.3 255.255.255.0    end r3 config t    interface s1/0    no shutdown    end r3 show frame-relay map r4 show frame-relay map  (看状态active  要等一段时间)

r4 ping 24.1.1.2    !!!!! r4 show ip int bri r4 show ip route r4 show frame-relay map r4 ping 34.1.1.3   !!!!!

帧中继客户的需求 全互联 半互联 HUB and spoke 连接 解决方案 ISP 通过单独的客户建立多条PVC连接 全互联/半互联/hub and spoke方式 用户的接口 用户可以用不同的接口来满足自己向运营商的PVC. PVC 是虚链路 这点要记住哦 用户接口 点到点的物理接口

LMI 学习一个或多个DLCI,反向ARP协议可以为物理接口进行动态的映谢。通过物理接口可以形成点到点以及点到多点的TOP。但最好用静态映谢因为稳定些

点到点的子接口 LMI无法为逻辑接口动态解析DLCI 需要通过手工指定逻辑接口的DLCI号码,且点到点子接口只能制定一个DLCI。

点到多点的子接口 LMI无法为逻辑接口动态解析DLCI 需要通过手工制定逻辑接口的DLCI号码 点到多点子接口可以拥有多个DLCI和不同站点建立PVC

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019-09-05 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档