Hi Marek
I have tested the code only with Juniper routers, as when I did it with quagga I had some troubles. This might explain your problem too

Regards Luca

On 05/05/2013 11:51 PM, [email protected] wrote:
Hi Luca.

Thanks for quick answer! I was convinced it bgp_probe_client.pl should establish a connection. So, now the packet (seen in tcpdump) betwen quagga and the bgp_probe_client.pl is going. But the quagga report that:
[...]
2013/05/05 23:37:11 BGP: stream_read_try: read failed on fd 13: Connection reset by peer 2013/05/05 23:37:11 BGP: YY.YY.YY.2 [Error] bgp_read_packet error: Connection reset by peer
[...]

In the quagga there is no connection to YY.YY.YY.2:
[...]
r1# sh ip bgp sum
...
Neighbor    V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
YY.YY.YY.2  4 65520  12  23      0      0   0    never   Active
[...]


The quagga configuration is:
[...]
router bgp AABBCC
 neighbor YY.YY.YY.2 remote-as 65520
 neighbor YY.YY.YY.2 prefix-list WORLD_OUT_LOCALHOST out
 neighbor YY.YY.YY.2 route-map RM-LOCALHOST-out out
ip prefix-list WORLD_OUT_LOCALHOST seq 5 permit any
route-map RM-LOCALHOST-out permit 10
[...]

The bgp_probe_client.pl configuration is:
[...]
# BGP
my $local_ip = 'YY.YY.YY.2';
my $local_as = 65520;
my $remote_ip = 'YY.YY.YY.1';
my $remote_as = AABBCC;
# nProbe
my $nprobe_ip   = '127.0.0.1';
my $nprobe_port = 4096;
[...]

What is wrong?



_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to