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

商务网站建设与维护论文网络营销推广公司简介

商务网站建设与维护论文,网络营销推广公司简介,北京沙河教做网站的,房地产三道红线目录 BGP简介 BGP定义 配置BGP目的 受益 实验 实验拓扑 ​编辑 组网需求 配置思路 配置步骤 配置各接口所属的VLAN 配置各Vlanif的ip地址 配置IBGP连接 配置EBGP 查看BGP对等体的连接状态 配置SwitchA发布路由10.1.0.0/16 配置BGP引入直连路由 BGP简介 BGP定义 …

目录

BGP简介

BGP定义

配置BGP目的

 受益

实验 

实验拓扑

​编辑 组网需求

配置思路

 配置步骤

   配置各接口所属的VLAN

配置各Vlanif的ip地址

配置IBGP连接

配置EBGP

查看BGP对等体的连接状态

配置SwitchA发布路由10.1.0.0/16

配置BGP引入直连路由


BGP简介

BGP定义

边界网关协议BGP(Border Gateway Protocol)是一种实现自治系统AS(Autonomous System)之间的路由可达,并选择最佳路由的距离矢量路由协议。早期发布的三个版本分别是BGP-1(RFC1105)、BGP-2(RFC1163)和BGP-3(RFC1267),1994年开始使用BGP-4(RFC1771),2006年之后单播IPv4网络使用的版本是BGP-4(RFC4271),其他网络(如IPv6等)使用的版本是MP-BGP(RFC4760)。

MP-BGP是对BGP-4进行了扩展,来达到在不同网络中应用的目的,BGP-4原有的消息机制和路由机制并没有改变。MP-BGP在IPv6单播网络上的应用称为BGP4+,在IPv4组播网络上的应用称为MBGP(Multicast BGP)。

配置BGP目的

为方便管理规模不断扩大的网络,网络被分成了不同的自治系统。1982年,外部网关协议EGP(Exterior Gateway Protocol)被用于实现在AS之间动态交换路由信息。但是EGP设计得比较简单,只发布网络可达的路由信息,而不对路由信息进行优选,同时也没有考虑环路避免等问题,很快就无法满足网络管理的要求。

BGP是为取代最初的EGP而设计的另一种外部网关协议。不同于最初的EGP,BGP能够进行路由优选、避免路由环路、更高效率的传递路由和维护大量的路由信息。

虽然BGP用于在AS之间传递路由信息,但并不是所有AS之间传递路由信息都需要运行BGP。比如在数据中心上行的连入Internet的出口上,为了避免Internet海量路由对数据中心内部网络的影响,设备采用静态路由代替BGP与外部网络通信。

 受益

BGP从多方面保证了网络的安全性、灵活性、稳定性、可靠性和高效性:

  • BGP采用认证和GTSM的方式,保证了网络的安全性。

  • BGP提供了丰富的路由策略,能够灵活的进行路由选路。

  • BGP提供了路由聚合和路由衰减功能用于防止路由振荡,有效提高了网络的稳定性。

  • BGP使用TCP作为其传输层协议(端口号为179),并支持BGP与BFD联动、BGP Tracking和BGP GR,提高了网络的可靠性。

实验 

实验拓扑

 组网需求

如实验拓扑所示,需要在所有Switch上运行BGP协议,SwitchA、SwitchB之间建立连接,SwitchB、SwithC和SwitchD之间建立IBGP全连接 

配置思路

采用如下的思路配置BGP的基本功能:

  1. 在SwitchB、SwitchC和SwitchD间配置IBGP连接。
  2. 在SwitchA和SwitchB之间配置EBGP连接。

 配置步骤

   配置各接口所属的VLAN

     ###配置SwitcA。SwitchB、C和D的配置与SwitchA相似

<Huawei>system-view 
[Huawei]sysname SwitchA
[SwitchA]undo info-center enable 
[SwitchA]vlan batch 10 50
[SwitchA]interface GigabitEthernet 0/0/1
[SwitchA-GigabitEthernet0/0/1]port link-type trunk 	
[SwitchA-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[SwitchA-GigabitEthernet0/0/1]quit
[SwitchA]interface GigabitEthernet 0/0/2
[SwitchA-GigabitEthernet0/0/2]port link-type trunk 	
[SwitchA-GigabitEthernet0/0/2]port trunk allow-pass vlan 50
[SwitchA-GigabitEthernet0/0/2]quit
[SwitchA]
配置各Vlanif的ip地址

##配置SwitchA。SwitchB、SwitchC和SwitchD的配置与SwitchA类似。

[SwitchA]interface Vlanif 10
[SwitchA-Vlanif10]ip address 192.168.1.2 24
[SwitchA-Vlanif10]quit
[SwitchA]interface Vlanif 50	
[SwitchA-Vlanif50]ip address 10.1.1.1 16
[SwitchA-Vlanif50]quit
[SwitchA]
配置IBGP连接

##SwitchB的配置

[SwitchB]bgp 65009
[SwitchB-bgp]router-id 172.17.2.2	
[SwitchB-bgp]peer 172.16.1.2 as-number 65009
[SwitchB-bgp]peer 172.16.3.2 as-number 65009
[SwitchB-bgp]quit
[SwitchB]

##SwitchC的配置

[SwitchC]bgp 65009
[SwitchC-bgp]router-id 172.17.3.3	
[SwitchC-bgp]peer 172.16.3.1 as-number 65009
[SwitchC-bgp]peer 172.16.2.2 as-number 65009

##SwitchD的配置

[SwitchD]bgp 65009
[SwitchD-bgp]router-id 172.17.4.4
[SwitchD-bgp]peer 172.16.1.1 as-number 65009	
[SwitchD-bgp]peer 172.16.2.1 as-number 65009
[SwitchD-bgp]quit
[SwitchD]	
配置EBGP

##SwitchA的配置

[SwitchA]bgp 65008	
[SwitchA-bgp]router-id 172.17.1.1
[SwitchA-bgp]peer 192.168.1.1 as-number 65009
[SwitchA-bgp]quit
[SwitchA]

##SwitchB的配置

[SwitchB]bgp 65009
[SwitchB-bgp]peer 192.168.1.2 as-number 65008
[SwitchB-bgp]quit
[SwitchB]
查看BGP对等体的连接状态
[SwitchB]display bgp peer BGP local router ID : 172.17.2.2Local AS number : 65009Total number of peers : 3		  Peers in established state : 3Peer            V          AS  MsgRcvd  MsgSent  OutQ  Up/Down       State Pre
fRcv172.16.1.2      4       65009        5        6     0 00:03:01 Established    0172.16.3.2      4       65009        6        7     0 00:04:04 Established    0192.168.1.2     4       65008        3        2     0 00:01:00 Established    0
[SwitchB]

可以看出,SwitchB与其他Switch的BGP连接均已建立

配置SwitchA发布路由10.1.0.0/16

##配置SwitchA发布路由

[SwitchA]bgp 65008	
[SwitchA-bgp]ipv4-family unicast 
[SwitchA-bgp-af-ipv4]network 10.1.0.0 255.255.0.0
[SwitchA-bgp-af-ipv4]quit
[SwitchA-bgp]quit
[SwitchA]

##查看SwitchA路由表信息

[SwitchA]display bgp routing-table BGP Local router ID is 172.17.1.1 Status codes: * - valid, > - best, d - damped,h - history,  i - internal, s - suppressed, S - StaleOrigin : i - IGP, e - EGP, ? - incompleteTotal Number of Routes: 1Network            NextHop        MED        LocPrf    PrefVal Path/Ogn*>   10.1.0.0/16        0.0.0.0         0                     0      i
[SwitchA]

##查看SwitchB的路由表

[SwitchB]display bgp routing-table BGP Local router ID is 172.17.2.2 Status codes: * - valid, > - best, d - damped,h - history,  i - internal, s - suppressed, S - StaleOrigin : i - IGP, e - EGP, ? - incompleteTotal Number of Routes: 1Network            NextHop        MED        LocPrf    PrefVal Path/Ogn*>   10.1.0.0/16        192.168.1.2     0                     0      65008i
[SwitchB]

##查看SwitchC的路由表

[SwitchC]display bgp routing-table BGP Local router ID is 172.17.3.3 Status codes: * - valid, > - best, d - damped,h - history,  i - internal, s - suppressed, S - StaleOrigin : i - IGP, e - EGP, ? - incompleteTotal Number of Routes: 1Network            NextHop        MED        LocPrf    PrefVal Path/Ogni  10.1.0.0/16        192.168.1.2     0          100        0      65008i
[SwitchC]

从路由表可以看出,SwitchC学到了AS65008中10.1.0.0的路由,但因为下一跳192.168.1.2不可达,所以也不是有效路由

配置BGP引入直连路由

##配置SwitchB

[SwitchB]bgp 65009
[SwitchB-bgp]ipv4-family unicast 	
[SwitchB-bgp-af-ipv4]import-route direct 
[SwitchB-bgp-af-ipv4]quit
[SwitchB-bgp]quit
[SwitchB]

##查看SwitchA的BGP路由表

[SwitchA]display bgp routing-table BGP Local router ID is 172.17.1.1 Status codes: * - valid, > - best, d - damped,h - history,  i - internal, s - suppressed, S - StaleOrigin : i - IGP, e - EGP, ? - incompleteTotal Number of Routes: 4Network            NextHop        MED        LocPrf    PrefVal Path/Ogn*>   10.1.0.0/16        0.0.0.0         0                     0      i*>   172.16.1.0/24      192.168.1.1     0                     0      65009?*>   172.16.3.0/24      192.168.1.1     0                     0      65009?192.168.1.0        192.168.1.1     0                     0      65009?
[SwitchA]

查看SwitchC的BGP路由表

[SwitchC]display  bgp routing-table BGP Local router ID is 172.17.3.3 Status codes: * - valid, > - best, d - damped,h - history,  i - internal, s - suppressed, S - StaleOrigin : i - IGP, e - EGP, ? - incompleteTotal Number of Routes: 4Network            NextHop        MED        LocPrf    PrefVal Path/Ogn*>i  10.1.0.0/16        192.168.1.2     0          100        0      65008i*>i  172.16.1.0/24      172.16.3.1      0          100        0      ?i  172.16.3.0/24      172.16.3.1      0          100        0      ?*>i  192.168.1.0        172.16.3.1      0          100        0      ?
[SwitchC]

可以看到,到10.1.0.0的路由变为有效路由,下一跳为SwichA的地址

##使用ping进行验证

[SwitchC]ping 10.1.1.1PING 10.1.1.1: 56  data bytes, press CTRL_C to breakReply from 10.1.1.1: bytes=56 Sequence=1 ttl=254 time=50 msReply from 10.1.1.1: bytes=56 Sequence=2 ttl=254 time=60 msReply from 10.1.1.1: bytes=56 Sequence=3 ttl=254 time=70 msReply from 10.1.1.1: bytes=56 Sequence=4 ttl=254 time=70 msReply from 10.1.1.1: bytes=56 Sequence=5 ttl=254 time=30 ms--- 10.1.1.1 ping statistics ---5 packet(s) transmitted5 packet(s) received0.00% packet lossround-trip min/avg/max = 30/56/70 ms[SwitchC]

文章转载自:
http://pacha.c7495.cn
http://superabound.c7495.cn
http://hlbb.c7495.cn
http://antagonist.c7495.cn
http://joab.c7495.cn
http://colombophile.c7495.cn
http://sanctify.c7495.cn
http://horsejockey.c7495.cn
http://cullion.c7495.cn
http://bignonia.c7495.cn
http://contaminated.c7495.cn
http://plenum.c7495.cn
http://triaxial.c7495.cn
http://sanify.c7495.cn
http://executable.c7495.cn
http://cutpurse.c7495.cn
http://deoxidate.c7495.cn
http://transmitter.c7495.cn
http://wearable.c7495.cn
http://estimative.c7495.cn
http://thievery.c7495.cn
http://structurize.c7495.cn
http://entrance.c7495.cn
http://carrageen.c7495.cn
http://vilipend.c7495.cn
http://sba.c7495.cn
http://hercules.c7495.cn
http://suable.c7495.cn
http://scyphi.c7495.cn
http://nazar.c7495.cn
http://felspathoid.c7495.cn
http://longest.c7495.cn
http://uracil.c7495.cn
http://scissors.c7495.cn
http://pastromi.c7495.cn
http://sidepiece.c7495.cn
http://ripsonrt.c7495.cn
http://slicken.c7495.cn
http://blaze.c7495.cn
http://incogitability.c7495.cn
http://grum.c7495.cn
http://bridecake.c7495.cn
http://anecdotal.c7495.cn
http://numismatics.c7495.cn
http://rifter.c7495.cn
http://scottish.c7495.cn
http://stingray.c7495.cn
http://unconventional.c7495.cn
http://karl.c7495.cn
http://mipmap.c7495.cn
http://christianise.c7495.cn
http://sertularian.c7495.cn
http://clinton.c7495.cn
http://mismanagement.c7495.cn
http://mollescent.c7495.cn
http://napped.c7495.cn
http://porcellanous.c7495.cn
http://lifesaver.c7495.cn
http://subovate.c7495.cn
http://osbert.c7495.cn
http://microhardness.c7495.cn
http://homemaker.c7495.cn
http://athanasia.c7495.cn
http://undulation.c7495.cn
http://trior.c7495.cn
http://provolone.c7495.cn
http://normocyte.c7495.cn
http://skimo.c7495.cn
http://manhattan.c7495.cn
http://clout.c7495.cn
http://firth.c7495.cn
http://embryon.c7495.cn
http://palafitte.c7495.cn
http://cla.c7495.cn
http://tightfisted.c7495.cn
http://baboo.c7495.cn
http://mnas.c7495.cn
http://moorhen.c7495.cn
http://microoperation.c7495.cn
http://argyria.c7495.cn
http://austin.c7495.cn
http://pdp.c7495.cn
http://vermian.c7495.cn
http://affect.c7495.cn
http://shortchange.c7495.cn
http://insusceptible.c7495.cn
http://agitative.c7495.cn
http://rave.c7495.cn
http://pellagrous.c7495.cn
http://seedsman.c7495.cn
http://serenade.c7495.cn
http://integral.c7495.cn
http://smokery.c7495.cn
http://freeside.c7495.cn
http://rensselaerite.c7495.cn
http://sumatra.c7495.cn
http://unquestionable.c7495.cn
http://waco.c7495.cn
http://hematemesis.c7495.cn
http://caracas.c7495.cn
http://www.zhongyajixie.com/news/100141.html

相关文章:

  • wordpress本地环境迁移成都网站改版优化
  • 什么网站程序做资料库seo外链购买
  • wordpress火箭加速惠州seo排名
  • 有谁认识做微网站的刺激广告
  • 网站如何做谷歌优化seo排名优化app
  • 青岛网站建设推广什么叫优化关键词
  • 展厅设计说明网站关键词优化费用
  • 做护肤品好的网站广告软文200字
  • wordpress变成英文青岛优化网站关键词
  • 徐汇郑州阳网站建设广州中小企业seo推广运营
  • 网站建设个人兼职营销软件网
  • 建湖专业做网站的公司怎么做网站赚钱
  • wordpress改不了语言网站排名优化服务
  • 空间设计网站宁德市市长
  • )新闻网站建设开题报告文献综述北京网站搭建哪家好
  • 大连网站哪家做的好企业建站公司热线电话
  • 关键词推广平台网站的seo是什么意思
  • 桂林网站开发网络优化工程师是做什么的
  • 免费素材网站mixkit现在最火的发帖平台
  • 做新闻网站需要注册第几类商标一键清理加速
  • 做lol直播网站seo优化技术招聘
  • 江西城市建设管理协会网站万能bt搜索引擎网站
  • 卡密网站怎么做网络营销师培训
  • 视频网站开发 博客园石家庄关键词快速排名
  • 有没有做花卉种子的网站啊广州网站seo地址
  • 怎么做像小刀网一样的网站推广软文营销案例
  • 创意网站模板下载百度网站排名优化
  • 网站推广有哪些举措关键词首页排名优化
  • web前端做网站地图自己怎么做引流推广
  • 上那个网站做测试用例优化公司治理结构