这是源自net130网上的一段争论,很久以来就想做个总结,因为实在太精彩!
引发这场争论的初发贴:
请教各位了,原来市县间用的eigrp协议,现在有提议要换成ospf,说eigrp有一大堆缺点,是这样吗?
理由:
1、eigrp协议可控性差,网络冲突比较严重?
2、eigrp稳定性差,任何一个网点的错误配置会导致路由环路,甚至全网瘫痪,ospf就不会。?
3、ospf有安全认证,eigrp没有。
4、eigrp配置,使得网点的路由表庞大,占用大量线路带宽?
是这样吗?各位兄弟给点建议,究竟是不是这样,要知道换个协议好麻烦!!!
1、eigrp协议可控性差,网络冲突比较严重?
2、eigrp稳定性差,任何一个网点的错误配置会导致路由环路,甚至全网瘫痪,ospf就不会。?
3、ospf有安全认证,eigrp没有。
4、eigrp配置,使得网点的路由表庞大,占用大量线路带宽?
是这样吗?各位兄弟给点建议,究竟是不是这样,要知道换个协议好麻烦!!!
两大阵营肯定是要形成的,下面就代表人物的言论做个总结:
正方:支持OSPF
代表人物:版主teru
代表人物:版主teru
正方观点:
1、"任何一个网点的错误配置会导致路由环路" may be that, but not
always. Also in low bandwidth links and unstable links, may lead to
"stuck in active".But the convergent time of ospf is not as fast as
I think.
2、eigrp also has md5 authentication.
3、eigrp can also summarize routes, but not as flexible as ospf
总结:Since you have 300 nodes, I also think ospf is better.And ospf is more standard.But nowadays eigrp still is used and also you can use eigrp stub feature to minimize the records in routing table.
Generally ospf is good for networks that over 100 nodes.
2、eigrp also has md5 authentication.
3、eigrp can also summarize routes, but not as flexible as ospf
总结:Since you have 300 nodes, I also think ospf is better.And ospf is more standard.But nowadays eigrp still is used and also you can use eigrp stub feature to minimize the records in routing table.
Generally ospf is good for networks that over 100 nodes.
针对实际情况,正方版本明确表示支持OSPF!
反方:支持EIGRP
代表人物:奇人y7975
反方观点:
1、eigrp can summarize by interface,while ospf has to
summarize at ABR or ASBR.foe example,R1-R2-R3 all in the same
area,then you cannot summarize anywhere,while eigrp is more
flexible.
2、 "任何一个网点的错误配置会导致路由环路", when you use any
routing protocol, you will have the same problem, if you
错误配置.
3、OSPF use LSA, when the number of router increase, LSA will
use a lot of memory plus SPF.
4、when link flapping, when you use OSPF, you will need to be
careful for SPF recalculating on every routers, except you use
STUB/NSSA.
5、OSPF only support equal cost load balance, while EIGRP i
can do unequal cost
6、EIGRP using 90/170 AD to avoid routing loop, while OSPF
treat it the same.
7、OSPF have to bring in area 0 concept for large network, and
area 0 have to full redundant or at least some what degree
redundant. EIGRP does not have such restriction.
8、EIGRP stuck in active, just wondering, is there anyone
really see yourself happening in real life? and how many
time?
overall: I am on EIGRP side.
在例举了众多OSPF的缺点后,奇人亮出了反方的观点:支持EIGRP!
双方观点申明后,一场别开生面的自由辩论开始了
正方首先发起第一论攻击:
1、针对反方提出的OSPF的SPF算法占用资源的问题,正方提出新版的IOS中可降低SPF资源占用率。(Yes.
But how about the feature of OSPF Incremental SPF since 12.(2)18s
to lower the SPF load?)
2、针对EIGRP在路由汇总上的flexible,正方提出eigrp虽能在接口上进行汇总,但却只能汇总为classical的路由,比如汇总成192.168.0.1/24的,而不能汇总到192.168.0.24/26位。这点虽然OSPF在整个区域内的汇总不如EIGRP细,而且命令也较为复杂,但是却能汇总地更精确。
3、针对实际应用中没有真正出现过SIA这种情况,正方提出,出现这种情况多由于网络链路不稳定,虽然只在网上见过类似案例,但是OSPF可以采用timer
spf命令定义SPF计算时间,在低速链路上尽量避免SIA。
反方还击第一波:
1、拿实例证明EIGRP在接口上当然可以做到精确汇总:
interface Ethernet0
ip summary-address eigrp 1 192.168.0.0 255.255.255.192
ip summary-address eigrp 1 192.168.0.0 255.255.255.192
2、针对用timer
spf,奇人提出,只能调整spf计算,不能解决flapping/unstable的问题,并且它也会延长收敛时间,当收敛时间延长后,会有更多产生环路的可能
timer spf is used to ajust/relay spf calculation, it does not
resolve the sutiation when it is flapping/unstable. also it delay
the convergence time. in large network, when you delay convergence
time, have higher chance cause the LOOP.
3、针对正方关于新版IOS中可降低SPF占用资源的问题,奇人只说了一句话:
lower the SPF load, because it NEEDS it.
4、并且奇人自己在陈述观点中提出的那句反问也做了回答,我自己就遇到过SIA,翻动的路由在下游路由器的路由表中消失了,这实际上对下游路由器也是一件好事,它们认为翻动的路由是不可达的。
正方论证第二波:
1、正方发现确实EIGRP可以在接口上做到精确汇总,并说明这在老版交换机上是不能实现的,现在的新版交换机以及3层交换机在实验后发现真的可以。(反方小胜)
2、正方认为spf
timer虽然会延迟收敛时间,但可以降低在在不稳定链路上的SPF计算。在不稳定的广域网链路上这无疑是有好处的。
3、针对反方SIA问题,正方提出如果发生SIA时,所有的EIGRP路由都将不得不重新计算路由,但是OSPF只在一个area内计算。
在EIGRP中,当拓扑改变,并且没有后继路由时,将会发送路由查询到所有eigrp
routers,并且等待回应,这就是SIA产生的原因。但是在OSPF中,拓扑改变只需要在本area内部做泛洪,而且应用了totally
stub area后会将这种泛洪更加局限到一个区域内,减少资源占用。
4、eigrp的确CPU占用率比OSPF要低,并且易于配置,有非等价负载分担,可以精确汇总,但是正方仍然选择OSPF,因为stub,totally
stub,nssa区域的汇总可以很好地减少路由表的大小,并且OSPF是开放标准的协议。
正方在最后向反方奇人提问了:当你进行网络设计时,你将怎样选择路由协议,为什么?
反方第二轮:
1、针对正方提出的关于EIGRP进行拓扑重新计算时在所有路由器上泛洪,而OSPF只在本area内泛洪的问题,奇人观点如下:
如果在OSPF中,一个E2链路或路由丢失,将会使用5类LSA进行通告,除了stub
area,所有其它area中都会被泛洪,所有路由器都将进行SPF重新计算。3类LSA一样会传到所有路由上,你将只能把所有除了area
0以外的区域手动配置为stub/nssa来弥补LSA的先天缺陷。
2、针对EIGRP中SIA问题,奇人提出:
如果EIGRP会出现SIA(query without
answer),你认为OSPF就不会出现此情况?
3、针对EIGRP对于拓扑改变需泛洪的问题,奇人提出:
eigrp 在12.2版本后新增stub来解决泛洪
4、OSPF确实能配置STUB来丢弃LSA,但是在设计时,你将不得不连到area
0区域,但是我用eigrp却可以很简单地互联两个路由器,不必考虑area
5、在我的工作环境里,要应对多种不同的路由协议,比如BGP,使用EIGRP可以给我更大的空间,相对于OSPF来说。
6、另一个选用EIGPR最好的理由,eigrp也会考虑delay,但这是动态的,当链路发生拥塞时,eigrp可动态地将流量降低,OSPF只会congestoin----?queuing---?drop
packets,当你使用对delay敏感的voice时,eigrp给了你更大的灵活性flexible
7、针对正方提出的问题,“当你进行网络设计时,你将怎样选择路由协议,为什么?”
第一、money
第二、设备厂商及平台(cisco or other vendors)
第三、物理连接、拓扑和点数(layer 1 first)
第四、扩展性(connected with others)
第五、是否有其它路由协议共存(ex.BGP)
第六、防火墙(such as PIX only support RIP and OSPF
now)
第七、VPN(such as vpn concentrators only have RIP and OSPF
now)
第八、delay sensitive application(ex.voice)
