Hi Paweł,

I faced the same issue before.
How about setting "version = 3" in zebra.config section?

e.g.)
[zebra]
  [zebra.config]
    enabled = true
    url = "unix:/var/run/quagga/zserv.api"
    redistribute-route-type-list = ["connect"]
    version = 3    # Zebra protocol message version (default: 2)

Because Quagga 1.2.1 will send Zebra protocol message in the version 3 format,
the above setting seems to be required.


Thanks,
Iwase

On 2017年03月22日 04:44, Paweł Staszewski wrote:
> Hi
> 
> 
> Just trying to use gobgpd with quagga 1.2.1 but:
> 
> simple config:
> 
> [global.config]
>    as = 64512
>    router-id = "10.0.0.2"
> 
> [zebra]
>   [zebra.config]
>     enabled = true
>     url = "unix:/var/run/zserv.api"
>     redistribute-route-type-list = ["connect"]
> 
> [[neighbors]]
>   [neighbors.config]
>    neighbor-address = "10.0.0.1"
>    peer-as = 64511
> 
> 
> ls -la /var/run/zserv.api
> srwx------ 1 root root 0 Mar 21 18:31 /var/run/zserv.api
> 
> 
> as root:
> 
> ./gobgpd -f test.conf
> {"level":"info","msg":"gobgpd started","time":"2017-03-21T19:35:09Z"}
> {"Topic":"Config","level":"info","msg":"Finished reading the config 
> file","time":"2017-03-21T19:35:09Z"}
> {"level":"fatal","msg":"failed to set zebra config: dial unix 
> /var/run/zserv.api: connect: connection 
> refused","time":"2017-03-21T19:35:09Z"}
> 
> Thanks
> 
> Paweł
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> gobgp-devel mailing list
> gobgp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gobgp-devel
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
gobgp-devel mailing list
gobgp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gobgp-devel

Reply via email to