资源预览内容
第1页 / 共48页
第2页 / 共48页
第3页 / 共48页
第4页 / 共48页
第5页 / 共48页
第6页 / 共48页
第7页 / 共48页
第8页 / 共48页
第9页 / 共48页
第10页 / 共48页
亲,该文档总共48页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
OSPF高级技术专题NSSA if no such path exists, do nothing with the LSA and consider the next in the list. RFC 2328 16.4课程内容l第一章 NSSA区域基础知识l第二章 FA基础知识l第三章 NSSA相关的FAl第四章 NSSA无关的FAl第五章 E2与N2路由的优选22第三章 NSSA相关的FAlNSSA区域双ABR只有Router-id大的ABR执行7转5Area 0Area 1 nssaR1R3 rid=3.3.3.3R2 rid=2.2.2.2R4Static Route Aredistribute static subnetsCost=100Type 7 LSAType 7 LSAType 5 LSAR1上去往目的网 段A的实际路径只有R3进行了7转5,并且在7转5的过程中,没有产生Type 4 LSA(描述ASBR R4),R1无法掌握真实的ASBR(R4)的信息, 因此在路由表加载时,选择了一条次优路径R5第三章 NSSA相关的FAlNSSA区域双ABR只有Router-id大的ABR执行7转5使用填充FA的方法解决次优路径Area 0Area 1 nssaR1R3 rid=3.3.3.3R2 rid=2.2.2.2R4Static Route Aredistribute static subnetsCost=100Type 7 LSAFA=9.9.45.4Type 5 LSAFA=9.9.45.4R59.9.45.4Type 7 LSAFA=9.9.45.4R1上去往目的网 段A的下一跳采 用和到达FA地址 相同的下一跳第三章 NSSA相关的FAlNSSA区域双ABR只有Router-id大的ABR执行7转5使用填充FA的方法解决次优路径随机选择一个NSSA区域内的接口IP地址作为FA地址Area 0Area 1 nssaR1R3 rid=3.3.3.3R2 rid=2.2.2.2R4Static Route Aredistribute static subnetsType 7 LSAFA=9.9.45.4R59.9.45.49.9.34.4第三章 NSSA相关的FAl案例分析配置说明 为了精简R4上的路由条目,因此在R4上面做了distribute-list ,只容许主机网段192.168.3.0/24出现在路由表中。实际结果 192.168.3.0/24没有出现在R4的路由表中。Area 0R1R2Area 1 nssaR3Area 2R4redistribute connect subnets192.168.3.0/24172.16.13.0/24172.16.12.0/24172.16.24.0/24第三章 NSSA相关的FAl案例分析解决办法 1、在R4的distribute-list中增加FA地址的网段路由。 2、在R1的OSPF进程下,使用summary-address进行路由 汇总,该命令生成的汇总的5类LSA的FA为全0 3、在R1的OSPF进程下,使用area 1 nssa translate type7 suppress-faArea 0R1R2Area 1 nssaR3Area 2R4redistribute connect subnets192.168.3.0/24172.16.13.0/24172.16.12.0/24172.16.24.0/24课程内容l第一章 NSSA区域基础知识l第二章 FA基础知识l第三章 NSSA相关的FAl第四章 NSSA无关的FAl第五章 E2与N2路由的优选28第四章 NSSA无关的FAl非NSSA区域产生FA非0的原因假设ASBR生成的5类LSA中FA地址为0 造成次优路径,R2可直接将数据转发给R3R1R2R3 172.16.123.3/24172.16.123.2/24172.16.123.1/24R4Area 0192.168.3.0/24Static route:192.168.3.0/24redistribute static subnetsType 5 LSAR4接收到R1产生的5类LSA, 其FA为0,因此加载该外部 LSA进入路由表,下一跳为到 达ASBR最近的下一跳R2接收到R1产生的5类LSA, 其FA为0,因此加载该外部 LSA进入路由表,下一跳为到 达ASBR最近的下一跳数据流走向第四章 NSSA无关的FAl非NSSA区域产生FA非0的原因ASBR生成的5类LSA中FA地址为非0,为外部路由的下一跳 解决次优路径问题R1R2R3 172.16.123.3/24172.16.123.2/24172.16.123.1/24R4Area 0192.168.3.0/24Static route:192.168.3.0/24redistribute static subnetsType 5 LSAFa=172.16.123.3数据流走向R2接收到R1产生的5类LSA,其FA 非0,FA地址为172.16.123.3,该地 址通过直连路由可达,因此加载5 类LSA进路由器,其下一跳为到达 FA地址的下一跳第四章 NSSA无关的FAl非NSSA区域ASBR产生FA非0的条件外部路由的下一跳接口启动OSPF外部路由的下一跳地址在network范围内外部路由的下一跳接口没有被设置为被动接口外部路由的下一跳接口的网络类型不是P2P或者P2MP当上述条件都满足,ASBR在产生5类时就将FA地址置为外部路由的下一跳.需要明确的是,如果有次优路径存在,那么一定会满足上述条件,ASBR将FA置为非0.但是只要满足上述条件,ASBR就会将FA置为非0,却不一定存在次优路径.课程内容l第一章 NSSA区域基础知识l第二章 FA基础知识l第三章 NSSA相关的FAl第四章 NSSA无关的FAl第五章 E2与N2路由的优选32第五章 E2和N2路由的优选l案例分析拓扑结构R1R2R4RA总公司RB省公司 局域网省公司总公司地市公司OSPF Area 0EBGPEBGPR3area 3 nssaarea 4 nssa第五章 E2和N2路由的优选l案例分析应用需求R1R2R4RA总公司RB省公司 局域网省公司总公司地市公司R3生产数据流办公数据流第五章 E2和N2路由的优选l案例分析路由策略R1R2R4RA总公司RB省公司 局域网OSPF Area 0EBGPEBGPR3area 3 nssaarea 4 nssaRA通告精细生产路由和汇 总办公路由给R1,R1将BGP 中的路由重发布进OSPFRB通告精细办公路由和汇 总生产路由给R2,R2将BGP 中的路由重发布进OSPF第五章 E2和N2路由的优选l案例分析路由通告结果,以精细生产路由A为例 R2如何进行优选?R1R2R4RA总公司RB省公司 局域网OSPF Area 0EBGPEBGPR3area 3 nssaarea 4 nssa5类LSA:A7类LSA:A7类LSA:AR2收到了关于生产路由A的不同类型 的外部LSA(到达ASBR的代价相等),需 要进行优选.第五章 E2和N2路由的优选l案例分析RFC3101(2.5)中关于5类、7类LSA的优先顺序的描写(a) Intra-area and inter-area paths are always preferred over AS external paths. (b) Type 1 external paths are always preferred over type 2 external paths. When all paths are type 2 external paths, the paths with the smallest advertised type 2 metric are always preferred. (c) If the new AS external path is still indistinguishable from the current paths in Ns routing table entry, and RFC1583Compatibility is set to “disabled“, select the preferred paths based on the intra-AS paths to the ASBR/forwarding addresses, as specified in Section 16.4.1. Here intra-NSSA paths are equivalent to the intra-area paths of non-backbone regular OSPF areas. (d) If the new AS external path is still indistinguishable from the current paths in Ns routing table entry, select the preferred path based on a least cost comparison. Type 1 external paths are compared by looking at the sum of the distance to the ASBR/forwarding addresses and the advertised type 1 metric (X+Y). Type 2 external paths advertising equal type 2 metrics are compared by looking at the distance to the ASBR/forwarding addresses. (e) If the current LSA is functionally the same as an installed LSA (i.e., same destination, cost and non-zero forwarding address) then apply the following priorities in deciding which LSA is preferred:1. A Type-7 LSA with the P-bit set.2. A Type-5 LSA.3. The LSA with the higher router ID. 第五章 E2和N2路由的优选l案例分析RFC1587中关于5类、7类LSA的优先顺序的描写When a type-5 LSA and a type-7 LSA are found to have the same type and an equal distance, the following priorities apply (listed from highest to lowest) for breaking the tie. a. Any type 5 LSA. b. A type-7 LSA with the P-bit set and the forwarding address non-zero. c. Any other type-7 LSA.第五章 E2和N2路由的优选l案例分析路由通告结果,以精细生产路由A为例 R2为迈普设备 R2为思科设备 R2为锐捷设备是否会存在不同的结果?第五章 E2和N2路由的优选l案例分析路由通告结果,以精细生产路由A为例 R2优选了7类LSA(迈普)R1R2R4RA总公司RB省公司 局域网OSPF Area 0R3area 3 nssaarea 4 nssaR2的
收藏 下载该资源
网站客服QQ:2055934822
金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号