CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Grow, Shrink, Combine Ip address net mask

 

First page Previous page 1 2 Next page Last page  View All


sh.ajay12
User

Dec 16, 2013, 5:05 AM

Post #1 of 30 (2654 views)
Grow, Shrink, Combine Ip address net mask Can't Post

Hello Members,

Do you know in Perl. How to grow, shrink, and combine ip addresses.

Please tell me. or give me some suggestion and resources from I can read and understand.

For example one customer name 'HSS' has these ip addresses assigned to its device.

How to grow, shrink or combine its ip addresses.

Address Range Comment Last Update Devices using this range
172.105.238.0/24 admingary: Mon Mar 25 14:25:43 GMT 2013 5
172.105.239.0/24 admingary: Fri Jan 18 18:02:22 GMT 2013 5
172.105.240.24/29 Sasitorn Siripimol Admin Acct: Mon Oct 22 17:12:12 GMT 2012 1
172.105.240.32/29 admingary: Mon Mar 25 14:25:44 GMT 2013 1
172.105.240.48/29 Rick Dipper: Thu Sep 19 19:45:01 GMT 2013 0




mysql> select address, lastupdate, comment from customer_address_copy where shortname='HSS' order by 3;
+-------------------+-------------------------------------------------------------+---------+
| address | lastupdate | comment |
+-------------------+-------------------------------------------------------------+---------+
| 172.105.238.0/24 | admingary: Mon Mar 25 14:25:43 GMT 2013 | |
| 172.105.239.0/24 | admingary: Fri Jan 18 18:02:22 GMT 2013 | |
| 172.105.240.24/29 | Sasitorn Siripimol Admin Acct: Mon Oct 22 17:12:12 GMT 2012 | |
| 172.105.240.32/29 | admingary: Mon Mar 25 14:25:44 GMT 2013 | |
| 172.105.240.48/29 | Rick Dipper: Thu Sep 19 19:45:01 GMT 2013 | |
+-------------------+-------------------------------------------------------------+---------+
5 rows in set (0.00 sec)


Laurent_R
Veteran / Moderator

Dec 16, 2013, 8:40 AM

Post #2 of 30 (2642 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

What do you mean "grow, shrink, and combine ip addresses"?

Please explain the result that you would want.


FishMonger
Veteran / Moderator

Dec 16, 2013, 8:57 AM

Post #3 of 30 (2639 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

I'm not sure what you're wanting to accomplish, but based on the values in the lastupdate field, I'd say that your database is setup poorly.

It appears that the lastupdate field contains several different types of information which should be separated into their own fields.


sh.ajay12
User

Dec 17, 2013, 12:15 AM

Post #4 of 30 (2602 views)
Re: [Laurent_R] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello Laurent_R,

Initially the requirement was to delete and combine ip subnet mask.

I am able to delete ip addresses from customer information table.

But i don't know, how to combine ip addresses subnet mask.

Please let me know. If you know any concept where we can combine ip address subnet mask.

Thank you For Reply.


Laurent_R
Veteran / Moderator

Dec 17, 2013, 1:14 AM

Post #5 of 30 (2598 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hi,

take a look at the Net::IPAddress module: http://search.cpan.org/~sarenner/Net-IPAddress-1.10/IPAddress.pm. It probably does everything that you need.


sh.ajay12
User

Dec 17, 2013, 4:02 AM

Post #6 of 30 (2589 views)
Re: [Laurent_R] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello Laurent_R,

I am reading the link you have provided.

I will inform you.

Thank you for reply.


sh.ajay12
User

Dec 17, 2013, 4:54 AM

Post #7 of 30 (2585 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Yes FishMonger,

I will try to organize the database in well mannered way.

Thanks for reply.


sh.ajay12
User

Dec 19, 2013, 3:24 AM

Post #8 of 30 (2504 views)
Re: [Laurent_R] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello Laurent_R,

I have to increase and decrease range for IP address.

I have to create buttons on my front end to grow and shrink ip address range.

Grow--If the ip address which already exists in database.
For eg- 172.105.240.24/29 if some one clicks on GROW then the ip address should change to /30 bit address and should check it does not overlaps the existing address
and if
some one clicks on

Shrink -- Then the ip address range 172.105.240.24/29 should change to /30

Please suggest me some CPAN module which can complete above requirement or any resource that can explain me the concept.

Thank You Everyone.


FishMonger
Veteran / Moderator

Dec 19, 2013, 6:49 AM

Post #9 of 30 (2501 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Are you still early enough in your design phase to alter the table structure?

I would suggest splitting your address field into either 2 or 3 separate fields and define them as unsigned int. This is what I did and IMO is easy to maintain.

My database has 20 tables and 2 of them are used to maintain the subnet and IP allocations. Here are their definitions.


Code
mysql> desc subnets; 
+-------------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------------+---------------------+------+-----+---------+-------+
| network | int(10) unsigned | NO | PRI | NULL | |
| CIDR | tinyint(2) unsigned | NO | MUL | NULL | |
| division | varchar(24) | NO | PRI | NULL | |
| description | varchar(64) | NO | | NULL | |
+-------------+---------------------+------+-----+---------+-------+



Code
mysql> desc allocations; 
+-----------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-----------+---------------------+------+-----+---------+-------+
| IP | int(10) unsigned | NO | PRI | NULL | |
| network | int(10) unsigned | NO | MUL | NULL | |
| CIDR | tinyint(2) unsigned | NO | MUL | NULL | |
| division | varchar(24) | NO | MUL | NULL | |
| hostname | varchar(45) | YES | | NULL | |
| allocated | tinyint(1) | NO | | 0 | |
+-----------+---------------------+------+-----+---------+-------+

These tables are linked together by the network field. i.e., the network field in the allocations table is a FOREIGN KEY referencing the network field in the subnets table.

Here is the contents of the subnets table where the network address is outputed in both int and quad format.


Code
mysql> select * from subnets; 
+-----------+------+----------+----------------------+
| network | CIDR | division | description |
+-----------+------+----------+----------------------+
| 176173056 | 22 | 9 | Store 9 Data Network |
| 176174080 | 22 | 9 | Store 9 VOIP Network |
+-----------+------+----------+----------------------+


Code
mysql> select inet_ntoa(network) as network, CIDR, division, description from subnets; 
+-------------+------+----------+----------------------+
| network | CIDR | division | description |
+-------------+------+----------+----------------------+
| 10.128.48.0 | 22 | 9 | Store 9 Data Network |
| 10.128.52.0 | 22 | 9 | Store 9 VOIP Network |
+-------------+------+----------+----------------------+


I also have a cidr2mask table which tells me how many addresses are needed for each CIDR value.

Code
mysql> select * from cidr2mask; 
+------+-----------------+------------+
| CIDR | netmask | addresses |
+------+-----------------+------------+
| 1 | 128.0.0.0 | 2147483648 |
| 2 | 192.0.0.0 | 1073741824 |
| 3 | 224.0.0.0 | 536870912 |
| 4 | 240.0.0.0 | 268435456 |
| 5 | 248.0.0.0 | 134217728 |
| 6 | 252.0.0.0 | 67108864 |
| 7 | 254.0.0.0 | 33554432 |
| 8 | 255.0.0.0 | 16777216 |
| 9 | 255.128.0.0 | 8388608 |
| 10 | 255.192.0.0 | 4194304 |
| 11 | 255.224.0.0 | 2097152 |
| 12 | 255.240.0.0 | 1048576 |
| 13 | 255.248.0.0 | 524288 |
| 14 | 255.252.0.0 | 262144 |
| 15 | 255.254.0.0 | 131072 |
| 16 | 255.255.0.0 | 65536 |
| 17 | 255.255.128.0 | 32768 |
| 18 | 255.255.192.0 | 16384 |
| 19 | 255.255.224.0 | 8192 |
| 20 | 255.255.240.0 | 4096 |
| 21 | 255.255.248.0 | 2048 |
| 22 | 255.255.252.0 | 1024 |
| 23 | 255.255.254.0 | 512 |
| 24 | 255.255.255.0 | 256 |
| 25 | 255.255.255.128 | 128 |
| 26 | 255.255.255.192 | 64 |
| 27 | 255.255.255.224 | 32 |
| 28 | 255.255.255.240 | 16 |
| 29 | 255.255.255.248 | 8 |
| 30 | 255.255.255.252 | 4 |
| 31 | 255.255.255.254 | 2 |
| 32 | 255.255.255.255 | 1 |
+------+-----------------+------------+

With this setup, I can easily find out if there are any overlaps in the address ranges.


sh.ajay12
User

Dec 19, 2013, 9:23 AM

Post #10 of 30 (2498 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

No I am working on a project, which is already developed. I have to add some new features to it.

The table structure you have given as example, I may not be able to implement it completely. I will try to follow it.

Does any one knows any Perl module, which can use to increase Ip range and shrink ip range ?

Thank you for reply.


FishMonger
Veteran / Moderator

Dec 19, 2013, 9:33 AM

Post #11 of 30 (2495 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

There are modules to help you calculate IP address ranges.

Here are 2 examples.

Net::IP http://search.cpan.org/~manu/Net-IP-1.26/IP.pm
Net::CIDR http://search.cpan.org/~mrsam/Net-CIDR-0.17/CIDR.pm

However, your description of what you need to accomplish is not very clear, so I'm not sure what to suggest at this point.


sh.ajay12
User

Dec 22, 2013, 11:17 PM

Post #12 of 30 (2413 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello FishMonger, Sorry for late reply.
Here is my requirement.

Addresses IMPSS+ Knows This Customer Uses
Address Range Comment Last Update Devices using this range
1.0.0.0/32 DELETE GROW SHRINK adminajay: Thu Dec 19 09:43:32 GMT 2013 0
16.0.0.0/32 DELETE GROW SHRINK adminajay: Thu Dec 19 09:43:02 GMT 2013 0
92.1.1.1 0
172.105.238.0/24 DELETE GROW SHRINK admingary: Mon Mar 25 14:25:43 GMT 2013 5
172.105.239.0/24 DELETE GROW SHRINK admingary: Fri Jan 18 18:02:22 GMT 2013 5
172.105.240.24/29 DELETE GROW SHRINK Sasitorn Siripimol Admin Acct: Mon Oct 22 17:12:12 GMT 2012 1
172.105.240.32/29 DELETE GROW SHRINK admingary: Mon Mar 25 14:25:44 GMT 2013 1
172.105.240.48/29 DELETE GROW SHRINK Rick Dipper: Thu Sep 19 19:45:01 GMT 2013 0
199.22.44.55/32 DELETE GROW SHRINK adminajay: Wed Dec 18 11:42:35 GMT 2013 0
199.55.44.22/32 DELETE GROW SHRINK adminajay: Wed Dec 18 11:30:19 GMT 2013 0
199.77.55.11/32 DELETE GROW SHRINK adminajay: Wed Dec 18 11:30:33 GMT 2013 0
199.88.22.77/32 DELETE GROW SHRINK adminajay: Wed Dec 18 11:30:44 GMT 2013 0
199.99.11.22/32 DELETE GROW SHRINK adminajay: Wed Dec 18 11:42:58 GMT 2013 0
200.200.200.0/32 DELETE GROW SHRINK adminajay: Thu Dec 19 06:17:15 GMT 2013 0
200.200.230.230/32 DELETE GROW SHRINK adminajay: Thu Dec 19 09:40:16 GMT 2013 0

for eg:

this record
172.105.238.0/24 DELETE GROW SHRINK admingary: Mon Mar 25 14:25:43 GMT 2013 5

The last 5 indicates that Customer Devices using this range
similarly its for other records also. After every IP address there is DELETE GROW SHRINK.

requirement.

The requirement is that whenever any one clicks on Grow then the ip address range should grow. for eg - from /24 to /23 and should check it should not overlap other ip addresses and for SHRINK, it should shrink the ip address range /24 to /25 and if the user clicks again on shrink then again from /25 to /26 .

Please suggest me.


sh.ajay12
User

Dec 23, 2013, 12:21 AM

Post #13 of 30 (2409 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello Members,

If you come across any ideas or solution on this requirement then please post on this topics.

Thank you in Advance.


FishMonger
Veteran / Moderator

Dec 23, 2013, 8:55 AM

Post #14 of 30 (2397 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Foreach network address in your file/table calculate its broadcast address and convert both of those to their integer value.

When growing the network, calculate the new broadcast address as an integer and then check if there is another network address/integer grater than the one being changed and less than the new broadcast address. If there is, then you have an overlap that needs to be resolved however you see fit.


sh.ajay12
User

Dec 23, 2013, 11:20 PM

Post #15 of 30 (2374 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Yes I am trying to implement it.

Thank You for reply.


sh.ajay12
User

Dec 24, 2013, 12:06 AM

Post #16 of 30 (2371 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

hello Fish Monger,

Here is my database description. Please suggest me, how should i start.

Code
mysql> DESCRIBE cpe_device_copy; 
+--------------------------+--------------+------+-----+---------------------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------------------------+--------------+------+-----+---------------------+-------+
| shortname | varchar(15) | NO | PRI | | |
| site | varchar(25) | NO | | | |
| devicename | varchar(50) | NO | PRI | | |
| devicetype | varchar(30) | NO | MUL | | |
| ip | varchar(15) | NO | | | |
| devicecomment | varchar(75) | NO | | | |
| lastupdate | varchar(100) | YES | | NULL | |
| override_email | varchar(500) | NO | | | |
| add_email | varchar(500) | NO | | | |
| snmp_version | varchar(20) | NO | | 3 authPriv | |
| internet_routed | int(1) | NO | | | |
| managed_by | varchar(30) | NO | | Project Team | |
| turn_off_nagios | int(1) | NO | | 0 | |
| backup_proto | varchar(15) | YES | | NULL | |
| backup_user | varchar(30) | YES | | NULL | |
| handle_traps | int(1) | NO | | 0 | |
| infonet_routed | varchar(15) | YES | | NULL | |
| virtual | int(1) | NO | | 0 | |
| scan_ip | varchar(15) | YES | | NULL | |
| s_site | varchar(30) | YES | | NULL | |
| s_cabinet | varchar(40) | YES | | NULL | |
| s_asset_tag | varchar(10) | YES | | NULL | |
| s_type | varchar(50) | YES | | NULL | |
| s_checked | varchar(100) | YES | | NULL | |
| s_serial_number | varchar(50) | YES | | NULL | |
| ticket_number | varchar(20) | NO | | | |
| ticket_change | varchar(100) | NO | | | |
| ticket_time | datetime | YES | | NULL | |
| mss_app_rep | int(1) | NO | | 0 | |
| moi_service | int(1) | YES | | 0 | |
| management_path | varchar(50) | NO | | Via Management Link | |
| snmp_max_msg_size | varchar(10) | NO | | default | |
| mlr | varchar(20) | NO | | | |
| acs | varchar(10) | NO | | None | |
| acs_checked | varchar(100) | NO | | | |
| cattools | varchar(10) | NO | | NO | |
| cattools_checked | varchar(100) | NO | | | |
| snmp | varchar(20) | NO | | | |
| snmp_login | varchar(20) | NO | | | |
| snmp_passwd | varchar(40) | NO | | | |
| snmp_ppasswd | varchar(40) | NO | | | |
| bsg | varchar(10) | NO | | | |
| impss_dedicated_customer | varchar(30) | NO | | | |
+--------------------------+--------------+------+-----+---------------------+-------+
43 rows in set (0.00 sec)



mysql> DESCRIBE customer_address_copy;
+------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+------------+--------------+------+-----+---------+-------+
| shortname | varchar(15) | NO | PRI | | |
| address | varchar(20) | NO | PRI | | |
| lastupdate | varchar(100) | NO | | | |
| comment | varchar(100) | NO | | | |
+------------+--------------+------+-----+---------+-------+
4 rows in set (0.00 sec)



(This post was edited by FishMonger on Dec 31, 2013, 7:01 AM)


sh.ajay12
User

Dec 24, 2013, 12:50 AM

Post #17 of 30 (2366 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello FishMonger,

Also i would request you to please let me know.

If i can use some Perl function to combine ip addresses.

Please suggest if i can use this module Net::CIDR::Lite to combine subnet range.

Thank You.


FishMonger
Veteran / Moderator

Dec 24, 2013, 6:57 AM

Post #18 of 30 (2348 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post


Quote
Here is my database description. Please suggest me, how should i start.

I'm not sure what you're asking. Are you asking how to fix the poorly designed table?

In post #14 I told you what you need to do and your followup post said you were trying to implement it. So, post your code and specific question on the part that is giving you trouble.


Quote
If i can use some Perl function to combine ip addresses.

Please suggest if i can use this module Net::CIDR::Lite to combine subnet range.

That module does have an add() method/function which may do what you want, but I can't say for sure because you're still not being very clear on what you need to do.


sh.ajay12
User

Dec 29, 2013, 10:18 PM

Post #19 of 30 (2187 views)
Re: [FishMonger] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello Forum Members,

If you have any suggestions regarding combining ip address subnet then please suggest me.

Thank You very much.


Laurent_R
Veteran / Moderator

Dec 29, 2013, 11:19 PM

Post #20 of 30 (2184 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hmm, have you read Fishmonger's suggestions? I don't what could be added unless you provide answers to his questions of give additional details on what you want;


sh.ajay12
User

Dec 30, 2013, 12:32 AM

Post #21 of 30 (2183 views)
Re: [Laurent_R] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Yes Laurent, I will post the questions after some time. Thank You for reply.


sh.ajay12
User

Dec 30, 2013, 2:51 AM

Post #22 of 30 (2181 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello FishMonger and Laurent,

Suppose i have this ip address 172.105.241.51 which is a 32 net mask.
Now when i click on GROW, then it should change to 31 net mask.
and also check for overlaps.

This is the requirement.

Please suggest.

Thank You for your reply.


sh.ajay12
User

Dec 30, 2013, 3:16 AM

Post #23 of 30 (2179 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

Hello FishMonger and Laurent,

Here is the code to delete an ip address. Similarly i want to write different subroutines to GROW and SHRINK and COMBINE subnets.
I would request you to please let me know, on which subroutine should i first start my work. GROW,SHRINK,OR COMBINE.

If you have suggestions, please provide me.

Code
sub remove_address 
{
$BLOCK=new2 Net::Netmask("$ADDRESS");
if ( ! defined($BLOCK) )
{
print_error("Bad Address: $ADDRESS");
print_error("END");
return();
}
$OK=0;
$SQL="select ip, devicename from cpe_device_copy where shortname = '$CUSTOMER'";
$STH=$DBH->prepare($SQL);
$STH->execute();
sql_check();
while ( @ROW=$STH->fetchrow_array() )
{
if ( $BLOCK->match($ROW[0]) )
{
print_error("Device $ROW[0] $ROW[1] is using the range you wish to remove");
$OK++;
}
}
if ( $OK )
{
print_error("END");
return;
}

$SQL="select address from customer_address_copy where shortname = '$CUSTOMER'";
$STH=$DBH->prepare($SQL);
$STH->execute();
sql_check();
undef($R);
while ( @ROW=$STH->fetchrow_array() )
{
$T=new2 Net::Netmask("$ROW[0]");
if ( $T->match($BLOCK->base()) && $T->bits()<=$BLOCK->bits() )
{
print_error(sprintf("Remove ajay %s From $ROW[0]",$BLOCK->desc()));
if ( defined($R) )
{
print_error("Error: More than one block matches");
print_error("END");
return();
}
$R=$ROW[0];
}
}
if ( ! defined($R) )
{
print_error("ERROR: No Blocks Match");
print_error("END");
return();
}
$RBLOCK=new2 Net::Netmask("$R");
$BITS=$BLOCK->bits();
foreach $IP ( $RBLOCK->enumerate($BITS) )
{
$LIST{$IP}=1;
}
$LIST{$BLOCK->base()}=0;
foreach $IP ( keys(%LIST) )
{
next if ( $LIST{$IP}==0 );
$BLOCKS[$#BLOCKS+1]=new Net::Netmask("$IP/$BITS");
}

$LASTUPDATE=`date`;
chomp($LASTUPDATE);
$LASTUPDATE="$USERNAME: $LASTUPDATE";
foreach $BLOCK ( cidrs2cidrs(@BLOCKS) )
{
print_error(sprintf("INFO: Add %s<br>\n",$BLOCK->desc()));
$SQL=sprintf("insert into customer_address_copy ( shortname, address, lastupdate ) values ( '$CUSTOMER','%s','$LASTUPDATE' )",$BLOCK->desc());
$DBH->do($SQL);
sql_check();
}

print_error(sprintf("Remove Ajay %s<br>\n",$RBLOCK->desc()));
$SQL=sprintf("delete from customer_address_copy where shortname='$CUSTOMER' and address='%s'",$RBLOCK->desc());
#printf("$SQL");
$DBH->do($SQL);
sql_check();
print_error("END");
}



(This post was edited by FishMonger on Dec 30, 2013, 8:04 AM)


sh.ajay12
User

Dec 30, 2013, 6:29 AM

Post #24 of 30 (2176 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

The above subroutine name is remove_address2 and it is called from below code.

Code
if ( $USERLEVEL > 3 ) 
{
$STATE=state($STATE,"DO","REMOVE_ADDRESS2");
$HSTATE=state($STATE,"ADDRESS",$ROW[0]);
printf("<td><form style=\"margin:1px; padding:1px\" method=get action=$URL>$HSTATE<input type=SUBMIT value='Combine'> <input type=checkbox name=ADDNOW><input type=hidden </form>\n");
}

there is also a subroutine called state()
sub state
{
use strict;
my($STATE,$CHANGE,$VALUE)=@_;

if ( defined($VALUE) )
{
if ( $STATE=~m/name=$CHANGE / )
{
$STATE=~s/name=$CHANGE value='[^']+'/name=$CHANGE value='$VALUE'/;
}
else
{
$STATE=sprintf("%s<input type=hidden name=%s value='%s'>",$STATE,$CHANGE,$VALUE);
}
}
else
{
$STATE=~s/<input type=hidden name=$CHANGE value='[^']*'>//;
}
return($STATE);
}


Please FishMonger and Laurent I am trying my best to write the code.
Please suggest me. If you require any other information please tell me.


(This post was edited by FishMonger on Dec 30, 2013, 8:05 AM)


FishMonger
Veteran / Moderator

Dec 30, 2013, 8:08 AM

Post #25 of 30 (2170 views)
Re: [sh.ajay12] Grow, Shrink, Combine Ip address net mask [In reply to] Can't Post

I added code tags which retains the formatting/indentation to make your code more readable.

Please use those code tags whenever you post code.

I will look over you code and post back when I have more time.

First page Previous page 1 2 Next page Last page  View All
 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives