- 1、本文档共7页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
利用BGP虚拟下一跳技术实现IP骨干网流量负载均衡.
配置 说明:
【R1】
interface Loopback0
ip address 192.168.0.1 255.255.255.255
interface Serial1/0
no sh
ip address 172.16.15.1 255.255.255.0
interface Serial1/1
no sh
ip address 172.16.12.1 255.255.255.0
interface Serial1/2
no sh
ip address 172.16.16.1 255.255.255.0
interface Serial1/3
no sh
ip address 172.16.13.1 255.255.255.0
ip route 10.0.0.1 255.255.255.255 172.16.13.3 【虚拟下一跳地址指向真正下一跳,并由本域内IGP(OSPF)路由引入,使本域内所有邻居都能学习到虚拟下一跳地址的路由,从而使邻居从自己学习到的路由能最优化】
ip route 192.168.0.3 255.255.255.255 172.16.13.3
ip prefix-list ISP-B seq 5 permit 172.16.34.0/24【做前缀列表匹配需要改变下一跳的前缀】
route-map set-nexthop permit 10 【做route-map,改相应前缀下一跳性】
match ip address prefix-list ISP-B
set ip next-hop 10.0.0.1
route-map set-nexthop permit 20
router ospf 1
router-id 192.168.0.1
no auto-cost
redistribute static metric 10 metric-type 1 subnets【引入静态路由,使域内所有IBGP邻居能学到虚拟下一跳地址,从面使邻居从自己学习到的路由能最优化】
network 172.16.12.0 0.0.0.255 area 0
network 172.16.15.0 0.0.0.255 area 0
network 172.16.16.0 0.0.0.255 area 0
network 192.168.0.0 0.0.0.255 area 0
router bgp 100
no synchronization
bgp router-id 192.168.0.1
bgp log-neighbor-changes
neighbor internal peer-group
neighbor internal remote-as 100
neighbor internal update-source Loopback0
neighbor internal route-map set-nexthop out【做出方向的ruout-map改变发向邻居路由的下一跳】
neighbor 192.168.0.2 peer-group internal
neighbor 192.168.0.3 remote-as 200
neighbor 192.168.0.3 ebgp-multihop 255
neighbor 192.168.0.3 update-source Loopback0
neighbor 192.168.0.3 soft-reconfiguration inbound
neighbor 192.168.0.5 peer-group internal
neighbor 192.168.0.6 peer-group internal
no auto-summary
【R2】
interface Loopback0
ip address 192.168.0.2 255.255.255.255
interface Serial1/0
no sh
ip address 172.16.26.2 255.255.255.0
interface Serial1/1
no sh
ip address 172.16.12.2 255.255.255.0
interface Serial1/2
no sh
ip address 172.16.25.2 255.255.255.0
interface Serial1/3
no sh
ip address 172.16.24.2 255.255.255.0
ip route 10.0.0.1
您可能关注的文档
最近下载
- 声控灯的安装与调试工作页.doc VIP
- 2024年全国统一高考化学试卷(新课标)(含解析版).docx
- 2024春期国开电大《应用写作(汉语)》形考任务1-6参考答案.doc
- 佳能PowerShot使用手册SX70HS说明书.pdf
- 重大社2024初中信息科技1教材解读-七年级上册第一单元(吴跃进).pptx
- 谦敬辞训练题(答案).doc
- 《等腰三角形的判定》PPT课件.pptx
- 原发性肝癌诊疗指南(2024年版)内科及系统治疗解读.pptx
- 线性多智能体系统的自适应动态事件触发一致性Adaptive Dynamic Event-Triggered Consensus of Linear Multi-Agent Systems-来源:理论数学(第2021011期)-汉斯出版社.pdf VIP
- HG_T 4580-2013 农业用硝酸钙.docx
文档评论(0)