Hi list,
I'm configuring a MikroTik CCR1072-1G-8S+ router (6.47.10) and BIRD2
(2.0.7) to do BGP.
The initial configuration is was very simple:
protocol bgp downstream {
local REDACTED as REDACTED;
neighbor REDACTED as REDACTED;
hold time 30;
keepalive time 60;
}
And:
0 ;;; Upstream IPv4 transit
name="bgp0" instance=default remote-address=REDACTED
remote-as=REDACTED tcp-md5-key="" nexthop-choice=default multihop=no
route-reflect=no hold-time=30s keepalive-time=1m ttl=255 in-filter=""
out-filter="" address-families=ip update-source=REDACTED
default-originate=never remove-private-as=no as-override=no passive=no
use-bfd=no
I got messages such as *Error: Required capability missing* so enabled
debugging on both ends.
Debugging showed (MikroTik's end):
06:10:33 route,bgp,debug Unsupported capability received, code: 64
06:10:33 route,bgp,debug Unsupported capability received, code: 70
06:10:33 route,bgp,debug Unsupported capability received, code: 71
So I added to the configuration (hopefully the right switches):
graceful restart off;
enable route refresh off;
long lived graceful restart off;
Unfortunately it's still not working. Debugging (BIRD2's end) is showing:
Jun 18 09:51:16 router bird: downstream: Connected
Jun 18 09:51:16 router bird: downstream: Sending
OPEN(*ver=4*,as=REDACTED,hold=30,id=5914a2f9)
Jun 18 09:51:16 router bird: downstream: Got
OPEN(as=23456,hold=30,id=185.173.132.2)
Jun 18 09:51:16 router bird: downstream: Error: Required capability
missing
Jun 18 09:51:16 router bird: downstream: State changed to stop
Jun 18 09:51:16 router bird: downstream: Sending NOTIFICATION(code=2.7)
Jun 18 09:51:16 router bird: downstream: Down
I suspected the ver=4 is the problem so I've added:
advertise ipv4 off;
But alas, BIRD2 is now complaining:
Reading configuration from /etc/bird/bird.conf
/etc/bird/bird.conf:217:2 syntax error, unexpected ADVERTISE
Please advice what to do. I'm afraid I'm a little stuck.
Thanks!
Cheers,
Kees
--
https://nefos.nl/contact <https://nefos.nl/contact>
Nefos IT bv
Ambachtsweg 25 (industrienummer 4217)
5627 BZ Eindhoven
Nederland
KvK 66494931
/Bereikbaar op maandag, dinsdag, woensdag en vrijdag tussen 09:00u en
17:00u./