Quagga and SRX BGP communication

Since the gated daemon, IGP/EGP software has evolved tremendously. I had used zebra long time ago but now to better manage my lab network I wanted to use quagga BGP and OSPF daemons. Quagga is spectacular and
its syntax is almost the same like Cisco IOS. After having used JunOS for 2 years, it is a bit difficult to switch to cisco CLI. I want to write this post because of a problem I encountered during BGP communication between quagga and an SRX/JunOS device as I am not that familiar with quagga.

I configured quagga BGP like below

and configured SRX like this;

But BGP state didn’t switch from Active to Established. However I saw the following error;

It is obvious that there is a communication error during the initial stage of BGP hand shake.
Possibly there is a command to troubleshoot this error but I looked into the packet capture at Linux Quagga side.


packet capture clearly indicated that SRX returns an Error subcode: “Bad BGP Identifier”
I have noticed that BGP identifier sent by quagga is as I hadn’t set anything:) Once I set it via :

bgp router-id

command in quagga, everything worked like a charm.

Recently I put my linux devices as a central point between SRX devices and hope to play with BGP/OSPF. I will share my experiences via my posts as well.

One thought on “Quagga and SRX BGP communication

You have a feedback?

This site uses Akismet to reduce spam. Learn how your comment data is processed.