Giter Site home page Giter Site logo

BGP add path support about rustybgp HOT 7 CLOSED

natesales avatar natesales commented on August 29, 2024
BGP add path support

from rustybgp.

Comments (7)

natesales avatar natesales commented on August 29, 2024 1

Fantastic, works great now. Thanks for the quick fix!

from rustybgp.

fujita avatar fujita commented on August 29, 2024

Please use per-family config style like

[[neighbors]]
  [neighbors.config]
    peer-as = 65002
    neighbor-address = "10.0.0.2"
    [[neighbors.afi-safis]]
      [neighbors.afi-safis.config]
        afi-safi-name = "ipv4-unicast"
      [neighbors.afi-safis.add-paths.config]
        receive = true
        send-max = 8

from rustybgp.

fujita avatar fujita commented on August 29, 2024

The latest code explicitly returns an error for global add path config.

from rustybgp.

natesales avatar natesales commented on August 29, 2024

Thanks - that config works great on gobgp but not rustybgp. Here's my new full config, which works great and receives additional paths under gobgp, but the same config under rustybgp is stuck in Idle with the peer reporting "required capability missing".

global:
  config:
    as: 34553
    router-id: 192.168.90.4
    port: 179

  apply-policy:
    config:
      default-import-policy: accept-route
      default-export-policy: reject-route

neighbors:
  - config:
      peer-as: 34553
      neighbor-address: 192.168.90.1
    afi-safis:
      - config:
          afi-safi-name: ipv4-unicast
        add-paths:
          config:
            receive: true

from rustybgp.

fujita avatar fujita commented on August 29, 2024

Can you share the pcap file? I need open messages from both (one is rustybgp, and another is what?)

from rustybgp.

natesales avatar natesales commented on August 29, 2024

The remote side is BIRD 2.0.7; admittedly an older version of BIRD, but given GoBGP works correctly I suspect an issue on the rustybgp side. See attached pcap

rustybgp-bird.tar.gz

from rustybgp.

fujita avatar fujita commented on August 29, 2024

Thanks!
I fixed the bug. Can you try the latest master?

from rustybgp.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.