Page MenuHomeVyOS Platform

BGP directly connected neighbors don't compatible with ebgp-multihop
Closed, ResolvedPublicBUG


BGP directly connected neighbors (eth0/tun0 etc) don't compatible with ebgp-multihop
Add verify check:

set protocols bgp neighbor eth0 interface peer-group 'PGRP'
set protocols bgp neighbor eth0 ebgp-multihop 10
set protocols bgp peer-group PGRP address-family ipv4-unicast
set protocols bgp peer-group PGRP remote-as '65001'
set protocols bgp system-as '65001'


vyos@r14# commit
[ protocols bgp ]

WARNING: BGP neighbor "eth0" requires address-family!
VyOS had an issue completing a command.

We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
- Make sure you are running the latest version of VyOS available at:
- Consult the community forum to see how to handle this issue:

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 383, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 374, in apply
  File "/usr/lib/python3/dist-packages/vyos/", line 480, in commit_configuration
    raise ConfigurationNotValid(f'Config commit retry counter ({count_max}) exceeded')
vyos.frr.ConfigurationNotValid: Config commit retry counter (5) exceeded

[[protocols bgp]] failed
Commit failed

FRR original error

r14# conf t
r14(config)# router bg
r14(config-router)# neighbor eth0 ebgp-multihop 10
% Operation not allowed on a directly connected neighbor


Difficulty level
Easy (less than an hour)
VyOS 1.4-rolling-202210020218
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav changed the task status from Open to In progress.Oct 12 2022, 2:43 PM
Viacheslav claimed this task.


vyos@r14# commit
[ protocols bgp ]
Ebgp-multihop can not be used with directly connected neighbor "eth0"

[[protocols bgp]] failed
Commit failed
Viacheslav changed the task status from In progress to Needs testing.Oct 12 2022, 7:17 PM
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.