BGP :: 发现一个有意思的东西

Wandering 发表于 2008-04-24 20:27:58

.


好像没有人注意过这件事哦……呵呵 (Routing TCP/IP, volume II)


Example 3-16 Configuring Taos with the network Command

router eigrp 200

 passive-interface Serial0

 network 192.168.1.0

 network 192.168.100.0

!

router bgp 200

 network 192.168.1.216 mask 255.255.255.252

 network 192.168.100.0

 network 192.168.200.0

 neighbor 192.168.1.226 remote-as 100


The major networks 192.168.100.0 and 192.168.200.0 are specified alone. For the subnet 192.168.1.216, a mask is also specified. Subnets and masks can be specified only under BGP-4; under EGP or earlier versions of BGP, all of which are classful, only major networks can be specified.
Notice that the no auto-summary command is not used under either EIGRP or BGP in this configuration. Because no redistribution is taking place, turning off auto-summarization is unnecessary. Example 3-17 shows the result of the configuration.


解释一下上面内容的主要意思吧,其实最关键就是最后一段的第 2 句话。
Because no redistribution is taking place, turning off auto-summarization is unnecessary.

什么意思?第一层意思是字面意思,所表达的第二层意思是,BGP 的 auto-summary 只是对 redistribute 进 BGP 的 IGP 路由进行汇总,如果使用 network 将 IGP 路由发布到 BGP 中,auto-summary 是不会对这些路由汇总的。不相信?做实验吧,我测试过,的确如此。

因此,在实际工作中,不管三七二十一上来就把 BGP 的 auto-summary 关掉,到不一定是错误的,但或许很多人都不是真正地明白为什么要这样做。话说回来,我就真正的理解了吗?不见得。总之,共勉吧……


...


收藏: QQ书签 del.icio.us 订阅: Google 抓虾

最新评论

发表评论

* 昵称

已经注册过? 请登录

新用户请先注册 以便能显示头像及追踪评论回复

Email
网址
* 评论
表情
 
 

分类小组论坛
杂谈, 娱乐、八卦, 文学、艺术, 体育, 旅游、同城, 象牙塔, 情感, 时尚、生活, 星座, 科技

请注意遵守中华人民共和国法律法规, 如威胁到本站生存, 将依法向有关部门报告, 同时本站的相关记录可能成为对您不利的证据.

相关法律法规
全国人大常委会关于维护互联网安全的决定
中华人民共和国计算机信息系统安全保护条例
中华人民共和国计算机信息网络国际联网管理暂行规定
计算机信息网络国际联网安全保护管理办法
计算机信息系统国际联网保密管理规定