in reply to gridlocked situation with net::bgp and update the peer routing information

Hello,

I could establish the tcp connection to my remote peer, during this process I want to update the peer with new information, but no call of the UpdateCallback function happened.

Any advice would be great!

Best regards

Marcus

  • Comment on Re: gridlocked situation with net::bgp and update the peer routing information

Replies are listed 'Best First'.
Re^2: gridlocked situation with net::bgp and update the peer routing information
by Corion (Patriarch) on Feb 08, 2010 at 14:40 UTC

    I think you get a call to the callback when your peer sends an update, not when you send one.

      Hello,

      though for testing purposes I want to
      initiate one update manually.

      So if I understand you right it is not
      possible to do this, so I need a second
      peer to do this right?

      Best regard
      Marcus
        Hello,

        what about the function update() of the peer-object?
        $peer->update($update);

        Is it not for every peer-object you create? That is what I understand.

        Best regards
        Marcus
      Hello,

      thanks for your help. So my next try would be to set up another peer to update and check the results.

      I keep this posting uptodate.

      Thanks to all who give me some hints and advise!

      Best regards
      Marcus

      Hello,

      what I've done so far, I setup a remote peer and I could establish a connection to this remote peer, what I do not understand is how could I handle the incoming update messages?

      My first suggestion was, that I could handle the incoming message, checked with tcpdump for incoming connections, via the update_callback subroutine, for testing purposes I put there a print line, however no call fo the callback-sub. What am I missing?

      Thanks for your help in advance.

      Best regards
      Marcus
Re^2: gridlocked situation with net::bgp and update the peer routing information
by MelX (Novice) on Feb 08, 2010 at 14:39 UTC
    Hello,
    following the codesnipet where the problem is located:
    # Constructor for BGP-Update-Object my $update = Net::BGP::Update->new($nlri,$nlri_ref,$withdrawn_ref); # Update peer object print "Update peer object\n"; $peer->update($update);

    Update peer object does not work, no call
    of theUpdateCallback-function

    Best regard
    Marcus