分享
 
 
 

CCIELAB题目之Anoddsolution

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

Keywords: BGP Community Set as-path prepend

Working on chapter 2: A Case Study in BGP of CCIE Lab Practice Kit, there is one wonderful question, the question #46: Under no circumstances can AS100 be used as a transit network for AS200 to reach AS300. To accomplish this, no additional configuations should be added to any router other than R2.

To my surprise, the instruction come with the book altered the configuation of R3 to accomplish this! Sure what we want to do is preventing R3 from advertising routes learned from AS300 to AS200, is there a way to do this only change the configuration of R2?

Since R3 have to learne those routes, R2 can mark the routes with LOCAL_AS community, but for the COMMUNITY attribute to propagate, you have to add a statement 'neighbor x.x.x.x send-communtiy' to R2's configuration, so does R1. Maybe we shouldn't count on the Community attribute to control route distribute because the attribute is not propagated to internal or external BGP neighbors by default, be there one configuration error on the IBGP chain, the route would be advertised to other AS since the Community attribute is lossed.

My solution is: mark the routes learn from AS300 as if they were from AS200, so they will be rejected by AS200 routers because a loop detected when they exam the AS-PATH attribute. isn't it cool?

R2:

router bgp 100

neighbor 152.1.9.2 remote-as 100

neighbor 152.1.11.2 route-map i300 in

...

!

ip as-path access-list 1 permit ^300$

route-map i300 permit 10

match as-path 1

set as-path prepend 200

...

Two other problems encountered in this lab were caused by my poor English. :-) One is Question #47:' AS200 and AS300 should pass the network 152.1.9.0', I take it as 'no traffics from AS300 or AS300 should use the link 152.1.9.0', in fact, it means that AS200 and AS300 should not advertise this network to its EBGP peers. Another one is #42:' AS100 should accept a default route from AS300 in case of link failure between AS200 and AS100', I take it as 'AS100 should accept a default route from AS300 only when the link between AS200 and AS100 failed', although this could be done, the instruction come with the book simply accept the default route from AS300.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有