Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoBGP does not accept configuration when using remove private AS with confederation IBGP #2850

Open
RajdeepMondal opened this issue Oct 27, 2024 · 0 comments

Comments

@RajdeepMondal
Copy link

RajdeepMondal commented Oct 27, 2024

I have the following configuration for a GoBGP router:

global:
  config:
    router-id: 192.168.255.1
    as: 256
  confederation:
    config:
      enabled: true
      identifier: 1
      member-as-list: []
neighbors:
- config:
    neighbor-address: 3.0.0.3
    peer-as: 64512
  transport:
    config:
      local-address: 3.0.0.2
  afi-safis:
  - config:
      afi-safi-name: ipv4-unicast
- config:
    neighbor-address: 4.0.0.3
    peer-as: 256
    remove-private-as: all
  transport:
    config:
      local-address: 4.0.0.2
  afi-safis:
  - config:
      afi-safi-name: ipv4-unicast

When I try to start the GoBGP daemon with this configuration, I get an error message:

$ gobgpd -t yaml -f /etc/gobgp/gobgp.yml
{"Error":"can't set remove-private-as for iBGP peer","Topic":"Config","level":"fatal","msg":"Can't read config file /etc/gobgp/gobgp.yml","time":"2024-10-22T06:43:08Z"}

Is this expected? Because I tested a similar configuration with FRR and it gets accepted there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant