OpenBGPD First Time



  • Hi All,

    We're trying to get OpenBGPD up and running so we can get connected to our Azure ExpressRoute Circuit.

    We keep getting the following error under status : bgpctl: connect: /var/run/bgpd.sock: No such file or directory

    Can someone help explain what that error means? Is it an incorrect config or is OpenBGPD just unable to locate the config file?

    Our raw config looks like this:

    This file was created by the package manager. Do not edit!

    AS #####
    fib-update yes
    listen on xxx.xxx.xxx (1)
    network
    group "Azure" {
    remote-as 12076
    }
    neighbor xxx.xxx.xxx (2) {
    descr "Azure ExpressRoute"
    announce all
    local-address xxx.xxx.xxx (1)
    }
    deny from any
    deny to any
    allow from xxx.xxx.xxx (2)
    allow to xxx.xxx.xxx (2)



  • This is resolved - it was a bad config error - config file location is alright. New Config is:

    AS xxxx
    fib-update yes
    listen on 0.0.0.0
    router-id xxx.xxx.xxx (1)
    network xxx.xxx.xxx (azure subnet)/24
    group "Azure" {
    remote-as xxxx
    neighbor xxx.xxx.xxx(2) {
    descr "to_as_65001"
    announce all
    local-address 0.0.0.0
    }
    }
    deny from any
    deny to any
    allow from xxx.xxx.xxx(2)
    allow to xxx.xxx.xxx(2)


Log in to reply