RE: Comparing two IP routing table

From: Tyson Scott <tscott_at_ipexpert.com>
Date: Sun, 9 May 2010 20:27:43 -0400

Build two files
cat a.txt | sort > aa.txt
cat b.txt | sort > bb.txt
diff aa.txt bb.txt

This is basic Unix.

You could probably generate a shell script but the above should do.

Regards,
 
Tyson Scott - CCIE #13513 R&S, Security, and SP
Technical Instructor - IPexpert, Inc.
Mailto: tscott_at_ipexpert.com
Telephone: +1.810.326.1444, ext. 208
Live Assistance, Please visit: www.ipexpert.com/chat
eFax: +1.810.454.0130

IPexpert is a premier provider of Self-Study Workbooks, Video on Demand,
Audio Tools, Online Hardware Rental and Classroom Training for the Cisco
CCIE (R&S, Voice, Security & Service Provider) certification(s) with
training locations throughout the United States, Europe, South Asia and
Australia. Be sure to visit our online communities at
www.ipexpert.com/communities and our public website at www.ipexpert.com

-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
ocsic_at_hotmail.co.uk
Sent: Sunday, May 09, 2010 3:56 PM
To: Ccieyarub; Cisco certification
Subject: Re: Comparing two IP routing table

both entities will continue to have HO and data centers in different
locations, but will be consolidated under one VRF, so a routing conflict can

pull traffic in the wrong direction..... therefore IP subnets must be unique

and I want to stay away from NAT which will be messy.

I also have to look for variable subnet conflicts, because if for example
one company has a longer match compared to the other, it will pull traffic
of other company in its direction, so although they are not identical
routes, it is still a conflict. So don't think Diff program will do the
whole job...

--------------------------------------------------
From: "Ccieyarub" <ccieyarub_at_gmail.com>
Sent: Sunday, May 09, 2010 8:29 PM
To: <ocsic_at_hotmail.co.uk>
Cc: "Cisco certification" <ccielab_at_groupstudy.com>
Subject: Re: Comparing two IP routing table

> Hi
> If company B will be migrated into vrf than the overlapping of ip is not
> an issue, what's the motivation for looking for ip address conflict in
> that scenario??
> Thanks
> A-
>
> Sent from my iPhone
>
> On 2010-05-09, at 2:55 PM, <ocsic_at_hotmail.co.uk> wrote:
>
>> Does anyone know if there is a easy way to compare two large IP routing
>> tables
>> for IP address conflict, each IP routing table has over 5000 routes.
>> For
>> example if company A acquires company B and wishes to migrate company B
>> into
>> its VRF. Company A would like a detailed report of the IP address
>> conflicts
>> between itself and company B.
>>
>> Can anyone suggest what is the easiest way to approach this. I have
>> thought
>> of
>> importing the routing tables in Excel into each column and writing a
>> Macro to
>> compare the two columns. But this seems like a tedious task.
>>
>> Is this the best way or can anyone suggest a faster better way?
>>
>> Thanks in advance !
>>
>> IS
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>
>
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Sun May 09 2010 - 20:27:43 ART

This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 07:09:52 ART