I'm looking for suggestions on a fast algorithm to do the following:

I have a list (thousands) of computers and IP addresses (10.10.10.20) and flat file 
with thousands of entries relating to subnets and gateways.  The format is:

First.3.Octets,lower range, upper range, gatewayname

which ends up looking something like this:

172.18.121,0,15,gateway1
172.18.121,16,30,gateway2
172.18.121,31,100,gateway3

What I need to do is find the gateway that corresponds to each computer.  Now, I can 
come up with BFI algorithm to do it, but I was hoping that someone out there has a 
suggestion that borders on magic.  


Thanks,
Ed   
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to