Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    OpenBGPD First Time

    Scheduled Pinned Locked Moved pfSense Packages
    2 Posts 1 Posters 399 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      IEpchang
      last edited by IEpchang

      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)

      I 1 Reply Last reply Reply Quote 0
      • I
        IEpchang @IEpchang
        last edited by

        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)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.