Archive > 20.7 Legacy Series

enable BGP Routing



I would like to use BGP routing, but my BGP router does not send or receive any packets. What irritates me most is that my router is not sending any packets to its neighbor.

I'm doing something fundamentally wrong. I no longer have any idea what I'm doing wrong.

Current configuration:
frr version 7.4
frr defaults traditional
hostname fw01.test.local
log syslog notifications
router bgp 6500
 bgp router-id
 no bgp ebgp-requires-policy
 neighbor remote-as 6501
 neighbor ebgp-multihop 255
 neighbor update-source bge1
 address-family ipv4 unicast
  neighbor next-hop-self
line vty

sh ip bgp neighbors
BGP neighbor is, remote AS 6501, local AS 6500, external link
  BGP version 4, remote router ID, local router ID
  BGP state = Active
  Last read 00:20:53, Last write never
  Hold time is 180, keepalive interval is 60 seconds
  Graceful restart information:
    Local GR Mode: Helper*
    Remote GR Mode: NotApplicable
    R bit: False
      Configured Restart Time(sec): 120
      Received Restart Time(sec): 0
  Message statistics:
    Inq depth is 0
    Outq depth is 0
                         Sent       Rcvd
    Opens:                  0          0
    Notifications:          0          0
    Updates:                0          0
    Keepalives:             0          0
    Route Refresh:          0          0
    Capability:             0          0
    Total:                  0          0
  Minimum time between advertisement runs is 0 seconds
  Update source is bge1

 For address family: IPv4 Unicast
  Not part of any update group
  NEXT_HOP is always this router
  Community attribute sent to this neighbor(all)
  0 accepted prefixes

  Connections established 0; dropped 0
  Last reset 00:20:53,  Waiting for peer OPEN
  External BGP neighbor may be up to 255 hops away.
BGP Connect Retry Timer in Seconds: 120
Next connect timer due in 113 seconds
Read thread: off  Write thread: off  FD used: -1

sh bgp summary

IPv4 Unicast Summary:
BGP router identifier, local AS number 6500 vrf-id 0
BGP table version 1
RIB entries 1, using 192 bytes of memory
Peers 1, using 14 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt   4        6501         0         0        0    0    0    never       Active        0

Total number of neighbors 1

In the firewall log I see packets from the neighbor and I see packets coming from my wan interface. (port 179)

bgpd[43001]: can't connect to fd 19 : Permission denied

what does this error message mean? I would have expected an connection refused error.

That means a problem with the routing daemon or better say the user it is running on.


[0] Message Index

Go to full version