当前位置: 首页 > wzjs >正文

青岛网站建设订做虎扑体育网体育

青岛网站建设订做,虎扑体育网体育,正规网站有哪些,手机网站建设 的作用BGP 一、简述二、常用命令总结三、实验 一、简述 二、常用命令总结 display bgp peer #查看 BGP 对等体 display bgp routing-table #查看 BGP 路由表#在R1上通过 network 命令发布路由 [R1]bgp 64513 [R1-bgp] network 10.1.1.1 24#在R2上将路由的下一跳地址修改为自身 [R2]…

BGP

  • 一、简述
  • 二、常用命令总结
  • 三、实验

一、简述

二、常用命令总结

display bgp peer #查看 BGP 对等体
display bgp routing-table	#查看 BGP 路由表#在R1上通过 network 命令发布路由
[R1]bgp 64513
[R1-bgp] network 10.1.1.1 24#在R2上将路由的下一跳地址修改为自身
[R2]bgp 64512
[R2-bgp] peer 10.0.3.3 next-hop-local	#向对等体10.0.3.3宣告自己知道的路由时,告诉它将路由的下一跳都改为我R2。
[R2-bgp] peer 10.0.4.4 next-hop-local

三、实验

背景
你是公司的网络管理员。公司的网络采用了 BGP 协议作为路由协议。公司的网络由多个自治系统组成,不同的分支机构使用了不同的 AS 号,现在你需要完成公司网络的搭建工作。在公司总部使用了 OSPF 作为 IGP,公司内部不同分支机构使用的是私有的 BGP AS 号。在完成网络搭建以后,你还需要观察 BGP 路由信息的传递。

拓扑
在这里插入图片描述

配置
R1

[V200R003C00]
#sysname R1
#
interface GigabitEthernet0/0/0ip address 10.0.1.1 255.255.255.0 
#
interface LoopBack0ip address 1.1.0.1 255.255.255.255 
#
interface LoopBack1ip address 1.1.1.1 255.255.255.0 
#
bgp 64513						#创建区域64513router-id 1.1.0.1				#和ospf类似,设置router-idpeer 2.2.0.2 as-number 64512 	#有个EBGP对等体,在区域64512peer 2.2.0.2 ebgp-max-hop 2 	#与这个对等体最大跳数设为2peer 2.2.0.2 connect-interface LoopBack0	#与这个对等体连接用LoopBack0接口#ipv4-family unicast	#默认的undo synchronization	#默认的network 1.1.1.0 255.255.255.0 peer 2.2.0.2 enable	#默认的
#
ip route-static 2.2.0.2 255.255.255.255 10.0.1.2
#
return

R2

[V200R003C00]
#sysname R2
#
interface GigabitEthernet0/0/0ip address 10.0.1.2 255.255.255.0 
#
interface GigabitEthernet0/0/1ip address 10.0.2.2 255.255.255.0 
#
interface LoopBack0ip address 2.2.0.2 255.255.255.255 
#
bgp 64512router-id 2.2.0.2peer 1.1.0.1 as-number 64513 peer 1.1.0.1 ebgp-max-hop 2 peer 1.1.0.1 connect-interface LoopBack0peer 3.3.0.3 as-number 64512 peer 3.3.0.3 connect-interface LoopBack0peer 4.4.0.4 as-number 64512 peer 4.4.0.4 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 1.1.0.1 enablepeer 3.3.0.3 enablepeer 3.3.0.3 next-hop-local peer 4.4.0.4 enablepeer 4.4.0.4 next-hop-local 
#
ospf 1 router-id 2.2.0.2 area 0.0.0.0 network 2.2.0.2 0.0.0.0 network 10.0.2.2 0.0.0.0 
#
ip route-static 1.1.0.1 255.255.255.255 10.0.1.1
#
return

R3

[V200R003C00]
#sysname R3
#
interface GigabitEthernet0/0/1ip address 10.0.2.3 255.255.255.0 
#
interface GigabitEthernet0/0/2ip address 10.0.3.3 255.255.255.0 
#
interface LoopBack0ip address 3.3.0.3 255.255.255.255 
#
bgp 64512router-id 3.3.0.3peer 2.2.0.2 as-number 64512 peer 2.2.0.2 connect-interface LoopBack0peer 4.4.0.4 as-number 64512 peer 4.4.0.4 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 2.2.0.2 enablepeer 4.4.0.4 enable
#
ospf 1 router-id 3.3.0.3 area 0.0.0.0 network 3.3.0.3 0.0.0.0 network 10.0.2.3 0.0.0.0 network 10.0.3.3 0.0.0.0 
#
return

R4

[V200R003C00]
#sysname R4
#
interface GigabitEthernet0/0/0ip address 10.0.4.4 255.255.255.0 
#
interface GigabitEthernet0/0/2ip address 10.0.3.4 255.255.255.0 
#
interface LoopBack0ip address 4.4.0.4 255.255.255.255 
#
bgp 64512router-id 4.4.0.4peer 2.2.0.2 as-number 64512 peer 2.2.0.2 connect-interface LoopBack0peer 3.3.0.3 as-number 64512 peer 3.3.0.3 connect-interface LoopBack0peer 5.5.0.5 as-number 64514 peer 5.5.0.5 ebgp-max-hop 2 peer 5.5.0.5 connect-interface LoopBack0#ipv4-family unicastundo synchronizationpeer 2.2.0.2 enablepeer 2.2.0.2 next-hop-local peer 3.3.0.3 enablepeer 3.3.0.3 next-hop-local peer 5.5.0.5 enable
#
ospf 1 router-id 4.4.0.4 area 0.0.0.0 network 4.4.0.4 0.0.0.0 network 10.0.3.4 0.0.0.0 
#
ip route-static 5.5.0.5 255.255.255.255 10.0.4.5
#
return

R5

[V200R003C00]
#sysname R5
#
interface GigabitEthernet0/0/0ip address 10.0.4.5 255.255.255.0 
#
interface LoopBack0ip address 5.5.0.5 255.255.255.255 
#
interface LoopBack1ip address 5.5.1.5 255.255.255.0 
#
bgp 64514router-id 5.5.0.5peer 4.4.0.4 as-number 64512 peer 4.4.0.4 ebgp-max-hop 2 peer 4.4.0.4 connect-interface LoopBack0#ipv4-family unicastundo synchronizationnetwork 5.5.1.0 255.255.255.0 peer 4.4.0.4 enable
#
ip route-static 4.4.0.4 255.255.255.255 10.0.4.4
#
return

总结

  • R2、 R3、 R4 之间基于 Loopback0 接口建立全互联的 IBGP 对等体关系:R2与R3、R2与R4;R3与R2、R3与R4;R4与R2、R4与R3。
  • 默认情况下, EBGP 连接允许的最大跳数为 1,这导致 EBGP 对等体之间只能使用直连链路建立 EBGP 对等体关系, 为使用环回口作为更新源需要手动修改 EBGP 连接允许的最大跳数(直连1个、环回口1个,共2个EBGP对等体连接)。
  • R3 上已经学习到 R1、 R5 上发布的 BGP 路由, 但是都是非有效路由, 这是因为它们的下一跳在 R3 上都不可达, 为此可以在 R2、 R4 上通过 next-hop-local 命令修改下一跳地址为 R2、 R4 的更新源地址。(R2告诉R3,将自己发给它的BGP路由的下一跳都改为R2自己,R4同理
  • 通过本次实验,有了更多理解,EBGP和IBGP之间通过对等体有一个大框架的路由,可以使用networkimport-route将本AS内路由导入bgp路由,进而在某一路由器下,ip路由表获得了bgp提供的一些路由。
    例如,本实验,在R1上通过bgp路由表导入ip路由的只有R5的loopback1,只有这两个的loopback1之间能ping通,而R1的ip路由表中没有到R3、R4的路由,所以无法ping通。
http://www.dtcms.com/wzjs/438346.html

相关文章:

  • wordpress calibri字体持续优化完善防控措施
  • 可以做网站的软件上传歌曲平台推广文案
  • 做网站付款方式百度一下京东
  • 公司网站在国外打开很慢使用cdn好还是国外租用服务器好免费隐私网站推广app
  • 多语言商城网站开发2023免费网站推广大全
  • 电子商务网站建设个人总结seo刷关键词排名免费
  • 南京网站设计制作公司排名榜麒麟seo
  • 集美区网站建设2024年度关键词
  • 深圳做企业网站的公司iis搭建网站
  • 大连网站建设设计公司百度极速版客服人工在线咨询
  • 达州+网站建设互联网企业营销策略
  • 网站建设与管理培训总结百度搜索排名优化
  • 管理型网站建设费用明细长尾词优化外包
  • 无锡做网站企业济南seo网站关键词排名
  • 江海区建设局网站做公司网站需要多少钱
  • 苏州制作网站的公司哪家好保定seo建站
  • 深圳html5网站开发厦门关键词优化平台
  • 网站建设与网站设计哪个好学seo关键词排名优化推荐
  • 李洋网络做网站指数函数
  • 展示系统 网站模板做一个网站的步骤
  • 半成品网站域名检测工具
  • 手机网站开发方式广告代运营
  • 91色做爰免费网站推广渠道怎么写
  • 信息技术会考做网站网站快速排名推广软件
  • 江门建设局网站搜索引擎关键词的工具
  • 中小企业网站的建设实践报告企业seo培训
  • 下载网站后怎么做seo外包服务项目
  • 高端平面设计作品网站百度竞价外包
  • 怎么免费发布网站seo快速排名代理
  • 广西建设网桂建云官网seo广告投放是什么意思