Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch to run multiple listeners at once. #1

Closed
GoogleCodeExporter opened this issue Feb 1, 2016 · 3 comments
Closed

patch to run multiple listeners at once. #1

GoogleCodeExporter opened this issue Feb 1, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

before and after:

dysnomia:~% sudo lsof -i|grep perl
perl      1032            root    3u  IPv4 0x0b040b1c      0t0    TCP *:bgp 
(LISTEN)
perl      1032            root    4u  IPv4 0x098f0740      0t0    TCP 
10.0.0.2:54447->10.0.0.1:bgp (ESTABLISHED)
dysnomia:~% sudo lsof -i|grep perl
perl      1039            root    3u  IPv4 0x0b04d6b0      0t0    TCP 
10.0.0.2:bgp (LISTEN)
perl      1039            root    4u  IPv4 0x08686680      0t0    TCP 
10.0.0.2:bgp->10.0.0.1:14592 (ESTABLISHED)


Index: bgp_simple.pl
===================================================================
--- bgp_simple.pl       (revision 10)
+++ bgp_simple.pl       (working copy)
@@ -204,7 +204,7 @@
        exit;
 }

-my $bgp  = Net::BGP::Process->new();
+my $bgp  = Net::BGP::Process->new( ListenAddr => $myip );
 my $peer = Net::BGP::Peer->new(
         Start                  => 0,
         ThisID                 => $myip,


Original issue reported on code.google.com by charlie....@gmail.com on 8 Sep 2009 at 4:44

@GoogleCodeExporter
Copy link
Author

Thanks Charlie - a good idea, indeed.

I planned to include a "sh ip bgp" output parser for some time, and now I've 
got 
some time to do the work. I will bring up the next release soon, and this will 
include our patch.




Original comment by the.ein...@googlemail.com on 7 Dec 2009 at 6:40

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Definitely a needed feature when needing to lab-up BGP peering. I Just 
'patched' the latest and got multiple BGP peers working at the same time. 
Exactly what I was needing to do, currently working on BGP for CCIP & CCIE/SP. 
My only other alternative was to build a separate machine for each BGP peer and 
I *wasn't* looking forward to that! Thank you for the patch charlie.allom & 
the.einval for an awesome tool!

Original comment by bdk...@gmail.com on 30 Aug 2010 at 7:53

@GoogleCodeExporter
Copy link
Author

Original comment by the.ein...@googlemail.com on 30 Dec 2010 at 12:34

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant