plugins icon indicating copy to clipboard operation
plugins copied to clipboard

BGP path prepending

Open kabaga opened this issue 2 years ago • 0 comments

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

  • [x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
  • [x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug

The web UI does not access the FRR command "as-path prepend". Therefore, the peer will not update its BGP table. Also, the web UI viewing the running-config also shows the "set as-path prepend" line is missing.

The workaround is to SSH-in to the OPNsense and enter the config manually. e.g.

conf t
route-map path_prepend permit 10
 set as-path prepend 65412 65412

Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Routing / BGP / Route Maps'
  2. Give it a Name, select Permit
  3. Enter the "as-path prepend 65412 65412"
  4. Click Save
  5. Click on Reload Service
  6. Go to Diagnostics / General / Running Configuration

Expected behavior

The expected behavior is the "as-path prepend " should work

Describe alternatives you considered

N/A

Screenshots

N/A

Relevant log files

N/A

Additional context

N/A

Environment

Software version used and hardware type if relevant, e.g.:

OPNsense 22.1.6-amd64 FreeBSD 13.0-STABLE OpenSSL 1.1.1n 15 Mar 2022

kabaga avatar Apr 21 '22 01:04 kabaga