Fermé

Network/Subnet CIDR Aggregation Script

We are looking for one short Subnet/CIDR aggregation script. The script will take a list of values from a MySQL database and create Subnet/CIDR aggregation from the results. The results must equate to the fewest amount of legal subnets within the specific range of IP addresses.

The values that will be used are the starting IP address in decimal form and the number of hosts. This will give a range of IP addresses. For example:

Decimal: 2399207424 (143.1.0.0) Hosts: 2,621,440

Equals IP range: 143.1.0.0 - [url removed, login to view]

Fewest Legal subnets:

143.1.0.0/16

143.2.0.0/15

143.4.0.0/14

143.8.0.0/13

143.16.0.0/12

143.32.0.0/13

143.40.0.0/16

Additional Examples:

Decimal: 3453119488 (205.210.108.0) hosts: 4096

Fewest Legal subnets:

205.210.108.0/22

205.210.112.0/21

205.210.120.0/22

Decimal: 3231259136 (192.153.26.0) hosts: 4096

Fewest Legal subnets:

192.153.26.0/23

192.153.28.0/22

192.153.32.0/21

192.153.40.0/23

Decimal: 1102489600 (65.182.168.0) hosts: 4096

Fewest Legal subnets:

65.182.168.0/21

65.182.176.0/21

Decimal: 1102489600 (107.24.0.0) hosts: 2,621,440

Fewest Legal subnets:

107.24.0.0/13

107.32.0.0/11

The script should be written in PHP/MySQL or just MySQL. The result must be outputted in an array containing the starting IP and CIDR of each network. If you do this in PHP please keep in mind that you will have to deal with PHP's deficiency in dealing with unsigned integers. The final script will likely be less than 20 lines.

Summation of the project:

Two fields will be pulled from a MySQL database: ip and hosts.

The starting IP and hosts will be used to produce the fewest number of legal routable CIDR subnets within that range of IP addresses. If you do not know what a legal routable CIDR subnet is you probably should not bid on the project.

We must be able to test the script against a large number of network ranges to see if it works. If we accept your work we will own the complete copyright to the script.

If we accept your bid you must complete the project within 5 days.

Compétences : Cisco, MySQL, PHP

Voir plus : cidr, mysql cidr network range, subnet aggregation script, subnet aggregation cidr, range mysql script, php address aggregation, php script cidr, cidr aggregation script, aggregation script, what are integers used for, script ip address, one network, n equals, mind array, ip address script, integers form 1, integers and, form 210, database aggregation example, cisco results, php cidr aggregation, script cidr, php subnet script, short script, network cisco

Concernant l'employeur :
( 0 commentaires ) Prescott, United States

N° du projet : #1646395

5 freelance ont fait une offre moyenne de 114 $ pour ce travail

Tharawen

Hi, please check PMB for details

45 $ USD en 1 jour
(39 Commentaires)
5.0
N6Rsv37DC

Custom software development - <b><i>Removed by Admin</i></b>

250 $ USD en 1 jour
(0 Commentaires)
0.0
engmhamdy

Hello I am Mohamed Hamdy , a network engineer .I have pleasure to work with you if you please. by reviewing my attached CV. you will found that i will give you what you need: -Experience in cisco router and switching Plus

200 $ USD en 5 jours
(0 Commentaires)
0.0
dtucny

I've written lots of IP address handling code in the past for various projects I've worked on. This can be completed within 15 minutes of accepting the bid.

40 $ USD en 1 jour
(0 Commentaires)
0.0
nika101

Hi, i am working on network scripting from last 3 years. I can do this very easily.

35 $ USD en 1 jour
(0 Commentaires)
0.0