exabgp icon indicating copy to clipboard operation
exabgp copied to clipboard

No wiki or issue regarding multihop set up

Open milhauzindahauz opened this issue 5 months ago • 7 comments

Describe the bug I tried to setup multihop. The exabgp report it to me as invalid keyword

10:28:52 | 17032  | configuration   | syntax error in section neighbor
10:28:52 | 17032  | configuration   | line 7: multihop ;
10:28:52 | 17032  | configuration   |
10:28:52 | 17032  | configuration   | invalid keyword "multihop"
cat /etc/exabgp/exabgp.conf
neighbor 178.100.0.2 {
    peer-address 178.100.0.2;
    multihop;
    local-address 172.26.0.1;
    local-as 65000;
    api {
        processes [control_api_178_100_0_2];
        neighbor-changes;
        send {
            parsed;
            open;
            update;
            notification;
            keepalive;
                }
                receive {
            parsed;
            open;
            update;
            notification;
            keepalive;
                }
    }

    md5-password router1_password;
    peer-as 65004;
    router-id 178.100.0.2;
    adj-rib-in false;
    adj-rib-out false;
    capability {
        asn4 enable;
        graceful-restart 1200;
    }
}
cat /etc/frr/frr.conf
frr defaults traditional
log syslog informational
log file /tmp/frr.log

router bgp 65004
  bgp router-id 178.100.0.2
  bgp log-neighbor-changes
  neighbor 172.26.0.1 remote-as 65000
  neighbor 172.26.0.1 ebgp-multihop
  neighbor 172.26.0.1 password router1_password
 exabgp --version
ExaBGP : 4.2.22
Python : 3.10.14 (main, Apr 24 2024, 14:35:38) [GCC 13.2.1 20240316 (Red Hat 13.2.1-7)]
Uname  : Linux  6.10.10-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 12 18:26:09 UTC 2024 x86_64
Root   : /usr/local

Expected behavior

This router is capable to establish peering with gobgp

cat gobgp.toml
[global.config]
router-id = "172.26.0.1"
as = 65000

[[neighbors]]
[neighbors.config]
neighbor-address = "178.100.0.2"
peer-as = 65004
auth-password = "router1_password"
# vtysh -c 'show bgp sum'

IPv4 Unicast Summary:
BGP router identifier 178.100.0.2, local AS number 65004 VRF default vrf-id 0
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 17 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt Desc
172.26.0.1      4      65000         2         3        0    0    0 00:00:05     (Policy) (Policy) N/A

Total number of neighbors 1

milhauzindahauz avatar Sep 26 '24 09:09 milhauzindahauz