Hello,
I'm trying to create test environment using two exabgp instances establishing BGP session between each other. Is it possible and how should the config file look like int that case?
This is the output I get when I start "exabgp c1.conf" in one shell and "exabgp c2.conf" in the other (ip 192.168.43.219 is on the same host):
15:02:36 | 24203 | reactor | new peer: neighbor 127.0.0.1 local-ip 192.168.43.219 local-as 65001 peer-as 65001 router-id 192.168.43.219 family-allowed in-open
15:02:36 | 24203 | reactor | loaded new configuration successfully
15:02:36 | 24203 | process | forked process api-internal-cli-80cfa16a
15:02:36 | 24203 | reactor | initialising connection to peer-1
15:02:36 | 24203 | outgoing-1 | attempting connection to
127.0.0.1:17915:02:36 | 24203 | outgoing-1 | sending TCP payload ( 89) FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0059 0104 FDE9 00B4 C0A8 2BDB 3C02 0601 0400 0100 0102 0601 0400 0100 8002 0601 0400 0200 0102 0601 0400 0200 8002 0641 0400 00FD E902 0E05 0C00 0100 0100 0200 0100 8000 0202 0206 00
15:02:36 | 24203 | outgoing-1 | outgoing-1 192.168.43.219-127.0.0.1, closing connection
15:02:36 | 24203 | outgoing-1 | peer reset, message [closing connection] error[Broken TCP connection]
15:02:36 | 24203 | outgoing-1 | outgoing-1 192.168.43.219-127.0.0.1, closing connection
15:02:36 | 24203 | reactor | initialising connection to peer-1
15:02:36 | 24203 | outgoing-2 | attempting connection to
127.0.0.1:17915:02:36 | 24203 | outgoing-2 | sending TCP payload ( 89) FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF 0059 0104 FDE9 00B4 C0A8 2BDB 3C02 0601 0400 0100 0102 0601 0400 0100 8002 0601 0400 0200 0102 0601 0400 0200 8002 0641 0400 00FD E902 0E05 0C00 0100 0100 0200 0100 8000 0202 0206 00
15:02:36 | 24203 | outgoing-2 | outgoing-2 192.168.43.219-127.0.0.1, closing connection
15:02:36 | 24203 | outgoing-2 | peer reset, message [closing connection] error[Broken TCP connection]
15:02:36 | 24203 | outgoing-2 | outgoing-2 192.168.43.219-127.0.0.1, closing connection
# c1.conf
neighbor 192.168.43.219 {
router-id 127.0.0.1;
local-address 127.0.0.1;
local-as 65001;
peer-as 65001;
...
# c2.conf
neighbor 127.0.0.1 {
router-id 192.168.43.219;
local-address 192.168.43.219;
local-as 65001;
peer-as 65001;
...
Regards,
L