two exabgp instances - local session

255 views
Skip to first unread message

alexej libor

unread,
Jun 25, 2019, 9:17:46 AM6/25/19
to exabgp-users
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:179
15: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:179
15: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






Thomas Mangin

unread,
Jun 26, 2019, 3:32:41 AM6/26/19
to exabgp...@googlegroups.com
Hello,

There is multiple examples in the "self" folder
Sincerely

Thomas

--
You received this message because you are subscribed to the Google Groups "exabgp-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to exabgp-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/exabgp-users/333308f3-1a6e-4bb6-8cf4-996fc4ca932a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alexej Libor

unread,
Jun 26, 2019, 4:08:53 AM6/26/19
to exabgp...@googlegroups.com
Thank you! This is what I need!

Regards,
AL

You received this message because you are subscribed to a topic in the Google Groups "exabgp-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/exabgp-users/H8WwyMrku60/unsubscribe.
To unsubscribe from this group and all its topics, send an email to exabgp-users...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/exabgp-users/CAMC66U0%2BA5RfWo31yTFSY34YcUZ0mr0TtWANWPOdwxHKWGZ4Vw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages