Community discussions

MikroTik App
 
User avatar
Alferez
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 70
Joined: Mon Sep 12, 2016 9:40 am
Location: Seville / Spain
Contact:

BGP problem same in routes same AS

Tue Sep 20, 2016 3:27 pm

Hello, i have this network diagram:
Red.jpg

Router 1 (Cisco 6500) has 4 Providers with full BGP 10G
Router 2 (Cisco 6500) has 1 Provider with full BGP 10G (this provider is also included in Router 1) and all BGP tables included on Router 1 with another 10G dedicated fiber.
Router 3 (Mikrotik 1072) has 1 10G fiber against Router2 With Full BGP.

The problem is that all routers have same AS and Mikrotik only get 480K routes from Router2, this routes are from the ISP provider of Router2 but BGP routes from Router1 are not accepted.

In accepted routes does not show his AS number in bpg-as-path message.

This is my config:

Peer
name="interna" instance=default remote-address=XX.XX.XX.X remote-as=3XXXX tcp-md5-key="" nexthop-choice=default multihop=no route-reflect=yes hold-time=3m ttl=225 in-filter="" out-filter="" address-families=ip default-originate=never allow-as-in=10 remove-private-as=no as-override=no passive=no use-bfd=no

I tried changing route-reflect, multihop, ... but i do not receive routes.

PD: Sorry for my bad english.
You do not have the required permissions to view the files attached to this post.
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7190
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: BGP problem same in routes same AS

Tue Sep 20, 2016 4:53 pm

Because in iBGP, either you set up full mesh or set route reflector on one router and connect all other peers to RR.
 
zagziggy
just joined
Posts: 4
Joined: Wed Sep 14, 2016 7:57 am

Re: BGP problem same in routes same AS

Wed Sep 21, 2016 5:46 am

When the remote-as of the BGP peer is the same, the BGP peering become an iBGP peering.

Unlike eBGP, an iBGP router will not advertise routes learned from one iBGP peer to other iBGP peers by default. This is the reason iBGP requires full-mesh i.e. all routers peer to each other, or a route-reflector setup. A route-reflector is a special iBGP router which is allowed to re-advertise routes learned from other iBGP peers.

For a good iBGP setup, it is necessary to peer using loopback IP addresses and specify update-source loopback (and next-hop-self, if the eBGP connection links are not distributed within your IGP). Thus, an IGP (e.g. OSPF) is mandatory to be configured within your AS, so that all router loopbacks are in the routing table and reachable to all routers in your AS.
 
User avatar
Alferez
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 70
Joined: Mon Sep 12, 2016 9:40 am
Location: Seville / Spain
Contact:

Re: BGP problem same in routes same AS

Fri Sep 23, 2016 11:43 am

Thanks,

I tested changing AS number and I received all routes.
I continue with test to receive all routes with correct AS number.
I tested setting route-reflector to yes and no, but result no change.

Best Regards.
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4047
Joined: Wed May 11, 2011 6:08 pm

Re: BGP problem same in routes same AS

Tue Oct 04, 2016 5:51 pm

For three routers, you should just do a full mesh of iBGP.

It appears that the Mikrotik is only peering BGP with the middle 6500. It's that 6500 which needs to be configured as a route reflector, not the Mikrotik.

Who is online

Users browsing this forum: No registered users and 10 guests