- 13
- 0
- 约5.09千字
- 约 7页
- 2017-01-01 发布于重庆
- 举报
利用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
您可能关注的文档
- 删除选择题答案..docx
- 判别分析与聚类分析..docx
- 判别分析的基本原理..doc
- 医院总务后勤工作管理制度34.doc
- 杭州师范大学生理学 填空题.doc
- 判断推理-视频教材..doc
- ds7400报警主机编程案例.doc
- 判断推理1..doc
- 药理学中的受体.doc
- 高血压(业务学习第二期3月份).doc
- 伟明环保-市场前景及投资研究报告-境内业务稳健运行,印尼市场贡献边际增量.pdf
- 桂东县法院系统招聘考试真题2025.pdf
- 贵州省黔南布依族2026年中考三模物理试题及答案.pdf
- 贵州省黔南州2026年中考语文二模试卷附答案.pdf
- 贵州省铜仁市2026年中考语文二模试卷附答案.pdf
- 2026上半年安徽事业单位联考合肥市庐江县招聘36人备考题库及一套完整答案详解.docx
- 贵州省毕节市2026年中考语文一模试卷附答案.pdf
- 贵州省贵阳市南明区2026年中考语文一模试卷附答案.pdf
- 2026上半年安徽事业单位联考合肥市庐江县招聘36人备考题库及一套参考答案详解.docx
- 贵州省贵阳市白云区2026年中考二模物理试题附答案.pdf
原创力文档

文档评论(0)