Daryl's TCP/IP Primer

Addressing and Subnetting on the Near Side of the 'Net

[<--Prev] [Next-->]
[Printable Version] [Daryl's ColdFusion Primer] [About Daryl] Bookmark and Share
Google
 
Daryl's TCP/IP Primer on Facebook

7. Daryl's Subnet Calculator

[DHTML version]
Enter IP Address:
Enter Subnet Mask:
Enter Destination Address:
Step 1: Convert all values to Binary:
a. IP Address:
b. Subnet Mask:
c. Destination Address:
Step 2: Apply Source subnet mask to Source address:
a. Address (from 1a):
Mask (from 1b):
= Src Network:
= Src Network:
Step 3: Apply Source subnet mask to Destination address:
Address (from 1c):
Mask (from 1b):
= Dst Network:
Step 4: Compare the network portions for equality:
Source:
Destination:
Are they the same?
Result:
Ever get one of those spam e-mails where the IP address is an integer? Type it in here and it will be decoded:
Excercises:
I've also noticed a freeware Win32 app that does similar things at http://www.wildpackets.com/products/ipsubnetcalculator/.


Next: Routing and Static Routes
Copyright ©1996-2010 Daryl Banttari. See Disclaimer.