-
Notifications
You must be signed in to change notification settings - Fork 447
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
No wiki or issue regarding multihop set up #1238
Comments
Disabling multi-hop is a vendor feature. It limits the TCP packets' ability to pass through routers by setting the packet TTL to 1, not allowing it to be forwarded. Nothing is required for multihop to work with ExaBGP - we do not have this feature. |
I missed the part that I had to set up multihop as part of its configuration to get it working, that is what is confusing me. The issue is the exabgp can not establish peering in the same lab. I can not found out why. Only piece of info I got is:
|
I would first try to disable md5 between the routers. |
I removed that.
Still confusing, because the frr in the container can establish peering and exchange information with other "router"(gobgp). |
@milhauzindahauz I am not a fortune teller: You are cherry-picking what you are extracting from the logs. I need the full logs (as printed with the Like .. Did you make sure the IP address you bind from exists on the server? |
Found out the root cause. Exabgp wasn't capable to use port 179 even though I had permissions in place. getcap /usr/local/sbin/exabgp
/usr/local/sbin/exabgp cap_net_bind_service=eip [Unit]
Description=ExaBGP
Documentation=man:exabgp(1)
Documentation=man:exabgp.conf(5)
Documentation=https://github.com/Exa-Networks/exabgp/wiki
After=network.target
ConditionPathExists=/etc/exabgp/exabgp.conf
ConditionPathExists=/usr/local/sbin/exabgp
ConditionPathExists=/appl/bin/python-exabgp/bin/
ConditionPathExists=/usr/local/etc/exabgp/exabgp.env
StartLimitIntervalSec=15
[Service]
User=user
Group=user
Environment=PYTHONUNBUFFERED=1
Environment=PATH=/appl/bin/python-exabgp/bin/:/appl/bin/python-exabgp/bin
PermissionsStartOnly=true
ExecStartPre=-/bin/mkdir -p /data/log
ExecStartPre=-chown user: /data/log
ExecStartPre=-mkfifo /run/exabgp.in
ExecStartPre=-mkfifo /run/exabgp.out
ExecStartPre=chmod 600 /run/exabgp.in
ExecStartPre=chmod 600 /run/exabgp.out
ExecStartPre=chown user: /run/exabgp.in
ExecStartPre=chown user: /run/exabgp.out
StandardOutput=journal+console
StandardError=journal+console
StandardOutput=append:/data/log/exabgp.log
StandardError=append:/data/log/exabgp_process.log
ExecStart=/usr/local/sbin/exabgp /etc/exabgp/exabgp.conf -d
ExecReload=/bin/kill -USR1
Restart=always
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target So I changed the port to 1791 and it's working like charm. [exabgp.api]
ack = false
chunk = 1
cli = true
compact = false
encoder = json
pipename = 'exabgp'
respawn = true
terminate = false
[exabgp.bgp]
openwait = 60
[exabgp.cache]
attributes = true
nexthops = true
[exabgp.daemon]
daemonize = false
drop = true
pid = ''
umask = '0o137'
user = 'nobody'
[exabgp.log]
all = false
configuration = true
daemon = true
destination = 'stdout'
enable = true
level = INFO
message = false
network = true
packets = false
parser = false
processes = true
reactor = true
rib = false
routes = false
short = false
timers = false
[exabgp.pdb]
enable = false
[exabgp.profile]
enable = false
file = ''
[exabgp.reactor]
speed = 1.0
[exabgp.tcp]
acl = false
bind = '172.26.0.1'
delay = 0
once = false
port = 1791 Apologies Thomas for the partial logs. I wanted just to pick the necessary logs. |
I am confused as when I try I get the following. Did you know why you did not you get a log entry about the binding issue? I was looking at how to help other users who may face the same issue.
|
Describe the bug
I tried to setup multihop. The exabgp report it to me as invalid keyword
Expected behavior
This router is capable to establish peering with gobgp
The text was updated successfully, but these errors were encountered: