LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2009, 08:15 AM   #16
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191

Code:
it-lenny:~$ ipcalc 64.5.96.0 /26
Address:   64.5.96.0            01000000.00000101.01100000.00 000000
Netmask:   255.255.255.192 = 26 11111111.11111111.11111111.11 000000
Wildcard:  0.0.0.63             00000000.00000000.00000000.00 111111
=>
Network:   64.5.96.0/26         01000000.00000101.01100000.00 000000
HostMin:   64.5.96.1            01000000.00000101.01100000.00 000001
HostMax:   64.5.96.62           01000000.00000101.01100000.00 111110
Broadcast: 64.5.96.63           01000000.00000101.01100000.00 111111
Hosts/Net: 62                    Class A


it-lenny:~$ ipcalc 64.5.96.64 /26
Address:   64.5.96.64           01000000.00000101.01100000.01 000000
Netmask:   255.255.255.192 = 26 11111111.11111111.11111111.11 000000
Wildcard:  0.0.0.63             00000000.00000000.00000000.00 111111
=>
Network:   64.5.96.64/26        01000000.00000101.01100000.01 000000
HostMin:   64.5.96.65           01000000.00000101.01100000.01 000001
HostMax:   64.5.96.126          01000000.00000101.01100000.01 111110
Broadcast: 64.5.96.127          01000000.00000101.01100000.01 111111
Hosts/Net: 62                    Class A
of course using a calculator is cheating. you should never cheat until you completely understand subnetting and know how to do it manually..

I usually recommend the site http://www.learntosubnet.com/ as a decent place to learn the basics.



P.S. this thread should have been in the networking forum..
 
Old 02-25-2009, 10:20 AM   #17
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
Looks good to me!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Subnetting question pnellesen Linux - Networking 11 08-30-2006 03:19 PM
subnetting juanb Linux - Networking 1 06-30-2004 10:23 AM
subnetting samba question odious1 Linux - Networking 1 10-31-2003 01:16 PM
subnetting Fabian030 General 4 09-11-2003 03:11 AM
subnetting juanb Linux - Networking 3 08-26-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration