Community discussions

MikroTik App
 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 206
Joined: Mon Aug 16, 2010 9:01 am

BGP orgin route are incomplete/invalid

Tue Mar 24, 2020 4:08 pm

Hello,
I am announcing a /28 prefix from Router A to ROuter B by OSPF then Router B redistribute route by bgp to Router C but ROuter c detect the bgp origin of route as invalid/incomplete , how can I solve it and whats the problem?
Thank you.
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1182
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: BGP orgin route are incomplete/invalid

Wed Mar 25, 2020 4:57 pm

This is normal for most BGP routes and does not indicate a problem. This is typically due to a route being redistributed into BGP.

Here are the origin types from the BGP-4 RFC (EGP is no longer used so it's listed but not important anymore)
https://tools.ietf.org/html/rfc4271

a) ORIGIN (Type Code 1):

            ORIGIN is a well-known mandatory attribute that defines the
            origin of the path information.  The data octet can assume
            the following values:

               Value      Meaning

               0         IGP - Network Layer Reachability Information
                            is interior to the originating AS

               1         EGP - Network Layer Reachability Information
                            learned via the EGP protocol [RFC904]

               2         INCOMPLETE - Network Layer Reachability
                            Information learned by some other means

Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684
https://iparchitechs.com/services/mikro ... l-support/ mikrotiksupport@iparchitechs.com
 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 206
Joined: Mon Aug 16, 2010 9:01 am

Re: BGP orgin route are incomplete/invalid

Wed Mar 25, 2020 5:49 pm

any idea how can i solve it?
 
Vooray
Frequent Visitor
Frequent Visitor
Posts: 71
Joined: Mon Feb 23, 2015 3:34 pm

Re: BGP orgin route are incomplete/invalid

Wed Mar 25, 2020 9:24 pm

No, you can not change BGP origin in RouterOS
viewtopic.php?t=107897
What problem are you trying to solve?
 
blackmetal
Member Candidate
Member Candidate
Topic Author
Posts: 206
Joined: Mon Aug 16, 2010 9:01 am

Re: BGP orgin route are incomplete/invalid

Wed Mar 25, 2020 9:33 pm

when Router C receive the route it is not complete and it will not choose as best path, this is the issue
 
Vooray
Frequent Visitor
Frequent Visitor
Posts: 71
Joined: Mon Feb 23, 2015 3:34 pm

Re: BGP orgin route are incomplete/invalid

Wed Mar 25, 2020 10:23 pm

Is this your router?
You can change inbound wight, local preference, or administrative distance for this prefix. Or change another prefix attributes on inbound.
If it is not yours, but i assume this is your prefix, you can prepend it on the other path, or use MED.
If another prefix is not yours, you will have trouble anyway next time :D But you can ask your peer for communities or to change it on his side
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1182
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

Re: BGP orgin route are incomplete/invalid

Thu Mar 26, 2020 4:15 pm

when Router C receive the route it is not complete and it will not choose as best path, this is the issue

If a route is not valid or active, it often means the next hop is unreachable. Check that first.
Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684
https://iparchitechs.com/services/mikro ... l-support/ mikrotiksupport@iparchitechs.com
 
pe1chl
Forum Guru
Forum Guru
Posts: 6324
Joined: Mon Jun 08, 2015 12:09 pm

Re: BGP orgin route are incomplete/invalid

Thu Mar 26, 2020 5:02 pm

when Router C receive the route it is not complete and it will not choose as best path, this is the issue
The factor that BGP origin (incomplete/igp) plays in route selection is so minor that it is unlikely that this is your problem.

Who is online

Users browsing this forum: No registered users and 51 guests