Navigation

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

    OpenBGPD 0.5.2 unable to start

    pfSense Packages
    3
    3
    3125
    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.
    • T
      toomeek last edited by

      I'm trying to learn something about BGP. Right now I'm just newbie ;)
      So, I have 2 VMs running with pfSense i386 2.0.1 and OpenBGPD 0.5.2.

      First of all, I had problem:

      bgpctl: connect: /var/run/bgpd.sock: No such file or directory
      

      so I solved this by simple:
      touch /var/run/bgpd.sock

      Now I'm facing with:

      bgpctl: connect: /var/run/bgpd.sock: Socket operation on non-socket
      

      My configs:
      node1

      # This file was created by the pfSense package manager.  Do not edit!
      
      AS 1
      fib-update yes
      holdtime 90
      listen on 192.168.56.254
      router-id 192.168.56.254
      network 192.168.56.0/24
      group "grupabgpLAN" {
      	remote-as 2
      		neighbor 192.168.56.0/24 {
          	 descr "BGP on LAN"
      		tcp md5sig password md5p@ssword
      		tcp md5sig key md5hash
      		announce all  
      }
      }
      deny from any
      deny to any
      allow from 192.168.56.0/24
      allow to 192.168.56.0/24
      

      node2

      # This file was created by the pfSense package manager.  Do not edit!
      
      AS 2
      fib-update yes
      holdtime 90
      listen on 192.168.56.253
      router-id 192.168.56.253
      network 192.168.56.0/24
      group "grupabgpLAN" {
      	remote-as 1
      		neighbor 192.168.56.0/24 {
          	 descr "grupa-bgp-LAN"
      		tcp md5sig password md5p@ssword
      		tcp md5sig key md5hash
      		announce all  
      }
      }
      deny from any
      deny to any
      allow from 192.168.56.253
      allow to 192.168.56.253
      

      Probably something I did not understand..

      1 Reply Last reply Reply Quote 0
      • P
        pfinch last edited by

        Hi,

        I ran into the same problem with OpenBGP not starting.
        touch /var/run/bgpd.sock does not fix the issue, remove that file; rm /var/run/bgpd.sock

        The problem is with the permissions on the config file. To fix this run
        /var/etc/openbgpd/bgpd.conf

        Restart and openbgp should start. I am going to try contact the package maintainer about this

        1 Reply Last reply Reply Quote 0
        • P
          parsalog last edited by

          I am facing the same problem , what do you mean by "run /var/etc/openbgpd/bgpd.conf" ?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post