An issue with bgp connection
Hello, I'm trying to use BIRD in the following test configuration. I have BIRD installed on two PC's, which I would like to act as BGProuters Here's the essential configuration router id 10.100.0.66; protocol direct { } protocol kernel { persist; scan time 20; import all; export all; } protocol static { route 192.168.1.0/24 via 192.168.2.1; route 0.0.0.0/0 via 10.100.0.193; } protocol bgp { local as 65000; neighbor 10.100.0.70 as 65000; hold time 240; startup hold time 240; connect retry time 120; keepalive time 80; start delay time 5; error wait time 60, 300; error forget time 300; source address 10.100.0.66; export where source=RTS_STATIC; export filter { if source = RTS_STATIC then { if net=192.168.0.0/16 then accept; } reject; }; } The same config is for 10.100.0.70 except for their ip adresses, and net in static protocol 192.168.11.0/24 But I found out that they don't want to "talk" to each other. In the log file I get Oct 23 21:19:28 exa bird: bgp1: Connecting to 10.100.0.70 from local address 10.100.0.66 Oct 23 21:19:28 exa bird: bgp1: Connection lost (Invalid argument) And when I'm trying to tcpdump the session I see that it's reseted 0exa~(4)#tcpdump -npi fxp0 host 10.100.0.70 tcpdump: listening on fxp0 21:41:19.565453 10.100.0.66.3651 > 10.100.0.70.179: S 193123830:193123830(0) win 57344 <mss 1460,nop,wscale +0,nop,nop,timestamp 32626065 0> (DF) [tos 0xc0] [ttl 1] 21:41:19.565647 10.100.0.70.179 > 10.100.0.66.3651: R 0:0(0) ack 193123831 win 0 (DF) [tos 0xc0] Neither I see a listening socket on port 179 on each machine. When I use sockstat I see that when bgp1 is enabled there is a socket, but it's listening on a random port. Can you please tell me, what I'm missing? Thanks for reading this. -- Roman Petrov
participants (1)
-
Roman Petrov