<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Maybe I'm missing something here, but in the examples you show, <a href="http://120.26.0.0/18">120.26.0.0/18</a> and <a href="http://122.72.90.78/32">122.72.90.78/32</a> have not been reflected? Route Reflection deals with iBGP only -- eBGP to iBGP does not need a route reflector. Only the attributes learned on the iBGP session from R4 will be reflected (and have the originator and cluster attributes set) to R1.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Does that make sense?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Matthew Walster</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 November 2017 at 11:30, 曾小小 <span dir="ltr"><<a href="mailto:flyinsky2018@gmail.com" target="_blank">flyinsky2018@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>about the bgp route reflector problem?</div><div>Why does the reflector client receive EBGP routing entries without attributes??</div><div><br></div><div><br></div><div>my topology is shown below:</div><div><br></div><div> R3 (as 100)</div><div><span style="white-space:pre-wrap"> </span> |</div><div> | (ebgp)</div><div><span style="white-space:pre-wrap"> </span> |</div><div><span style="white-space:pre-wrap"> </span> | </div><div> | ( ibgp)</div><div> R1 (RR)--------------------R4 (client) (as 200)</div><div><span style="white-space:pre-wrap"> </span> |</div><div> |</div><div> |</div><div><span style="white-space:pre-wrap"> </span> | ( ibgp )</div><div> | <span style="white-space:pre-wrap"> </span> </div><div><span style="white-space:pre-wrap"> </span> |</div><div><span style="white-space:pre-wrap"> </span> R2 (client)(as 200) </div><div><span style="white-space:pre-wrap"> </span></div><div><span style="white-space:pre-wrap"> </span></div><div>My configuration is as follows:<br></div><div><br></div><div>===The R1 (RR) configuration is as follows:</div><div><br></div><div>#ebgp parts</div><div><br></div><div>protocol bgp bgp_pa_r3 {</div><div> description "ebgp-pa-r3";</div><div> multihop 10;</div><div> table tab_pa_adsl;</div><div> igp table tab_ospf_10;</div><div> local as 200;</div><div> neighbor 192.168.1.1 as 100;</div><div> source address 192.168.1.2;</div><div> import all;</div><div> export all;</div><div> next hop self; </div><div> default bgp_local_pref 5;</div><div>}</div><div><br></div><div>#rr parts</div><div>template bgp rr_client {</div><div> description "ibgp-rr1";</div><div> local 192.168.2.1 as 200;</div><div> multihop;</div><div> rr client;</div><div> rr cluster id 1.1.1.1;</div><div> }</div><div><br></div><div>protocol bgp bgp_pa_r2 from rr_client {</div><div> debug all;</div><div> enable route refresh on;</div><div> table tab_rr_1;</div><div> igp table tab_ospf_10;</div><div> neighbor 192.168.2.2 as 200;</div><div> export all;</div><div> import all;</div><div> }</div><div><br></div><div>protocol bgp bgp_pa_r4 from rr_client {</div><div> table tab_rr_1;</div><div> igp table tab_ospf_10;</div><div> neighbor 192.168.2.4 as 200;</div><div> export all;</div><div> import all;</div><div> # next hop self;</div><div> }</div><div><span style="white-space:pre-wrap"> </span></div><div><br></div><div>==The R2 client configuration is as follows:</div><div><br></div><div>protocol bgp bgp_pa_r2 {</div><div> router id 192.168.2.2;</div><div> debug all;</div><div># debug { states,interfaces,events };</div><div> description "ibgp-rr1";</div><div> import all;</div><div> export all;</div><div> local as 200;</div><div> neighbor 192.168.2.1 as 200;</div><div> source address 192.168.2.2;</div><div> next hop self; </div><div>}</div><div><br></div><div>==================</div><div><br></div><div>Check the route of R2 and find that the route entry received R4 has the BGP.originator_id and BGP.cluster_list attributes,</div><div> but the entry received from R1 does not have this attribute. why?</div><div><br></div><div> Thank you very much for your help!! thanks!!</div><div> </div><div> </div><div>The route entries viewed by R2 are as follows:</div><div><br></div><div>bird> show route protocol bgp_pa_r2 all</div><div>1007-121.52.236.16/32 </div><div>1008-<span style="white-space:pre-wrap"> </span>Type: BGP unicast univ</div><div>1012-<span style="white-space:pre-wrap"> </span>BGP.origin: IGP</div><div> <span style="white-space:pre-wrap"> </span>BGP.as_path: </div><div> <span style="white-space:pre-wrap"> </span>BGP.next_hop: 192.168.2.4</div><div> <span style="white-space:pre-wrap"> </span>BGP.local_pref: 100</div><div><font color="#000000"> <span style="background-color:rgb(255,0,0)"> <i><b><span style="white-space:pre-wrap"> </span>BGP.originator_id: 192.168.2.4</b></i></span></font></div><div><i><b><font color="#000000" style="background-color:rgb(255,0,0)"> <span style="white-space:pre-wrap"> </span>BGP.cluster_list: 1.1.1.1</font></b></i></div><div>1007-116.211.98.20/32 </div><div>1008-<span style="white-space:pre-wrap"> </span>Type: BGP unicast univ</div><div>1012-<span style="white-space:pre-wrap"> </span>BGP.origin: IGP</div><div> <span style="white-space:pre-wrap"> </span>BGP.as_path: </div><div> <span style="white-space:pre-wrap"> </span>BGP.next_hop: 192.168.2.4</div><div> <span style="white-space:pre-wrap"> </span>BGP.local_pref: 100</div><div> <b><i style="background-color:rgb(255,0,0)"> <span style="white-space:pre-wrap"> </span>BGP.originator_id: 192.168.2.4</i></b></div><div><b><i style="background-color:rgb(255,0,0)"> <span style="white-space:pre-wrap"> </span>BGP.cluster_list: 1.1.1.1</i></b></div><div><span style="white-space:pre-wrap"> </span></div><div><span style="white-space:pre-wrap"> </span></div><div>1007-120.26.0.0/18 </div><div>1008-<span style="white-space:pre-wrap"> </span>Type: BGP unicast univ</div><div>1012-<span style="white-space:pre-wrap"> </span>BGP.origin: IGP</div><div> <span style="white-space:pre-wrap"> </span>BGP.as_path: 100</div><div> <span style="white-space:pre-wrap"> </span>BGP.next_hop: 192.168.1.1</div><div> <span style="white-space:pre-wrap"> </span>BGP.local_pref: 5</div><div><br></div><div>1007-122.72.90.78/32 </div><div>1008-<span style="white-space:pre-wrap"> </span>Type: BGP unicast univ</div><div>1012-<span style="white-space:pre-wrap"> </span>BGP.origin: IGP</div><div> <span style="white-space:pre-wrap"> </span>BGP.as_path: 100</div><div> <span style="white-space:pre-wrap"> </span>BGP.next_hop: 192.168.1.1</div><div> <span style="white-space:pre-wrap"> </span>BGP.local_pref: 5</div><div><br></div></div>
</blockquote></div><br></div>