Re: Building a BGP test network

2008-07-11 Thread Richard Mortier


On 9 Jul 2008, at 18:49, William Waites wrote:



Le 08-07-09 à 19:36, Ariel Biener a écrit :


I have been pondering over this issue for some time now (not too much
time to invest on it), since I wanted to created a duplicate model  
of our
production network in a test environment, not connected to any  
outside

network (thus cannot peer, same problem as described here).


What about http://ipmon.sprint.com/pyrt/ ?

It doesn't do everything being designed for the reverse problem --  
pulling routes from a live BGP network for analysis. But it does  
include a BGP speaker and the ability to read and write MRTD files.  
I imagine with relatively little work it could be coaxed to read an  
MRTD dump and send the entries to a test peer.




hi;

as the author of pyrt, i'd just like to say that extending it to act  
as a bgp speaker able to read an MRTD file in and push it out down a  
peering as a series of updates ought indeed to be straightforward.   
it used to be able to read routeviews and ris BGP update and rib  
dumps ca. 2001/2002 as i used them for testing before we got the live  
feeds from sprintlink setup; it's possible that new attributes and  
suchlike might mean that it has problems with current dumps, but that  
ought to be similarly easy to fix.  let me know if you run into any  
problems with pyrt and i'll see what i can do to help!


(i'm just pleased that someone might still want to use the code :)

Cheers,
--  
Richard Mortier

Technical Director, Vipadia Ltd.,
Systems and networking consulting, integration and development; voice  
and video messaging on IP

[EMAIL PROTECTED]






Re: Building a BGP test network

2008-07-09 Thread Beavis
Jas,

   hi check this thread, you might be able to talk with the same guy.

http://www.ripe.net/ripe/maillists/archives/routing-wg/1999/msg00107.html



goodluck,
-b

On Wed, Jul 9, 2008 at 8:29 AM, Jason Lewis [EMAIL PROTECTED] wrote:
 I'm building a BGP test network and I'd like to replicate a full route table
 on a few of my routers.  I thought I might be able to use Quagga and insert
 a rib dump, but I'm not finding a lot of info on if it's possible.  (I've
 pinged the quagga list and didn't get any response)

 So my question is, is it possible to feed a router on a private test network
 a full route table from a RIB snapshot?  I have to think someone has done it
 and I'm just not searching for the right things.
 Thanks,

 jas





Re: Building a BGP test network

2008-07-09 Thread Jason Lewis
I should clarify that my test network is not connected to the Internet 
or any other network.  I would normally just peer and get the table, but 
I don't have that ability.  I'm open to anything that could act like a 
BGP router where I could feed it an existing RIB. 


Jason Lewis wrote:
I'm building a BGP test network and I'd like to replicate a full route 
table on a few of my routers.  I thought I might be able to use Quagga 
and insert a rib dump, but I'm not finding a lot of info on if it's 
possible.  (I've pinged the quagga list and didn't get any response)


So my question is, is it possible to feed a router on a private test 
network a full route table from a RIB snapshot?  I have to think 
someone has done it and I'm just not searching for the right things.

Thanks,

jas






Re: Building a BGP test network

2008-07-09 Thread Fouant, Stefan
The problem with the Adtech and the Router Tester and other similar routing 
protocol generation tools is while they are good at generating a lot of routes 
and helping to test routing protocol scalability, they usually just send the 
routes in the configured range in a contiguous, non-randomized fashion, with 
uniform prefix-masks, etc. This is very friendly to most typical radix-tree 
implementations, so if you want to test something like routing protocol 
convergence, you'll want something that can randomize the routes as much as 
possible.  There are certainly tools out there that that can play back route 
tables, including one very commonly used proprietary tool created and used 
internally by one of the *big* vendors for testing their routers. If you do a 
bit of digging you should be able to find it.

HTHs.

Stefan Fouant
Principal Network Engineer
NeuStar, Inc. - http://www.neustar.biz
GPG Key ID: 0xB5E3803D

- Original Message -
From: Borchers, Mark M. [EMAIL PROTECTED]
To: NANOG list nanog@nanog.org
Sent: Wed Jul 09 11:01:53 2008
Subject: RE: Building a BGP test network

Do you have access to an Adtech or equivalent tester?  Our AX4000 has the 
ability to fake a routing table.  Just give it a range of prefixes and a range 
of prefix-lengths.


 -Original Message-
 From: Jason Lewis [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 09, 2008 9:55 AM
 To: NANOG list
 Subject: Re: Building a BGP test network


 I should clarify that my test network is not connected to the Internet
 or any other network.  I would normally just peer and get the
 table, but
 I don't have that ability.  I'm open to anything that could act like a
 BGP router where I could feed it an existing RIB.

 Jason Lewis wrote:
  I'm building a BGP test network and I'd like to replicate a
 full route
  table on a few of my routers.  I thought I might be able to
 use Quagga
  and insert a rib dump, but I'm not finding a lot of info on if it's
  possible.  (I've pinged the quagga list and didn't get any response)
 
  So my question is, is it possible to feed a router on a private test
  network a full route table from a RIB snapshot?  I have to think
  someone has done it and I'm just not searching for the right things.
  Thanks,
 
  jas
 



 __
 This email has been scanned by the MessageLabs Email Security System.
 For more information please visit http://www.messagelabs.com/email
 __


NOTICE: This electronic mail transmission may contain confidential information 
and is intended only for the person(s) named.  Any use, copying, or disclosure 
by any other person is strictly prohibited. If you have received this 
transmission in error, please notify the sender via e-mail.



Re: Building a BGP test network

2008-07-09 Thread Charles N Wyble
Jason Lewis wrote:
 I'm building a BGP test network and I'd like to replicate a full route
 table on a few of my routers.  I thought I might be able to use Quagga
 and insert a rib dump, but I'm not finding a lot of info on if it's
 possible.  (I've pinged the quagga list and didn't get any response)

 So my question is, is it possible to feed a router on a private test
 network a full route table from a RIB snapshot?  I have to think
 someone has done it and I'm just not searching for the right things.

Well first of all do you have a rib dump? If not see
http://routeviews.org/ for source material.

Specifically

http://archive.routeviews.org/ and ftp://archive.routeviews.org/

As for inserting it into Quagga, I'm not sure how to go about doing
that. Various google searches don't turn anything up.

I was planning on looking into this problem in a few weeks anyway. I'm
building a network test bed and having full BGP tables is a part of my
testing.

When I figure it out I'll post to the list unless its figured out before
then.



-- 
Charles N Wyble (818) 280-7059
http://charlesnw.blogspot.com





Re: Building a BGP test network

2008-07-09 Thread William Waites


Le 08-07-09 à 19:36, Ariel Biener a écrit :


I have been pondering over this issue for some time now (not too much
time to invest on it), since I wanted to created a duplicate model  
of our

production network in a test environment, not connected to any outside
network (thus cannot peer, same problem as described here).


What about http://ipmon.sprint.com/pyrt/ ?

It doesn't do everything being designed for the reverse problem --  
pulling routes from a live BGP network for analysis. But it does  
include a BGP speaker and the ability to read and write MRTD files. I  
imagine with relatively little work it could be coaxed to read an MRTD  
dump and send the entries to a test peer.


-w