Should I receive routes from other BGP sessions I have?

I have the fiber providers in two GEO locations. I have different /24’s that I advertise on each. They are both using the same AS number to peer with the providers.

If R1 is advertising 10.0.0.0/24 then shouldn’t R2 receive it as long as there are no filter rules to block it?

I see two possible reasons for this:

  1. your providers do not forward routes to you with your own AS number in the AS path
  2. you have set the parameter allow-as-in=no for your BGP peers
  1. I will check with my providers and confirm that information

  2. I have this set to default on all my routers (field has no value). Should I change this value?