LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-18-2009, 09:59 PM   #1
chibi2666
LQ Newbie
 
Registered: Nov 2008
Posts: 19

Rep: Reputation: 0
Subnetting question


HI,

a subnet mask of 255.255.255.192 and the first network address of 64.5.96.0, I'm trying to find all of the network/broadcast pairs?


I got 64.5.96.0 255.255.255.192

64.5.96.1 255.255.255.224


Can you please help me with this problem.

Thanks
 
Old 02-18-2009, 10:35 PM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
here

Code:
[noc@nc ~]$ 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
Code:
[noc@nc ~]$ ipcalc 64.5.96.1/27
Address:   64.5.96.1            01000000.00000101.01100000.000 00001
Netmask:   255.255.255.224 = 27 11111111.11111111.11111111.111 00000
Wildcard:  0.0.0.31             00000000.00000000.00000000.000 11111
=>
Network:   64.5.96.0/27         01000000.00000101.01100000.000 00000
HostMin:   64.5.96.1            01000000.00000101.01100000.000 00001
HostMax:   64.5.96.30           01000000.00000101.01100000.000 11110
Broadcast: 64.5.96.31           01000000.00000101.01100000.000 11111
Hosts/Net: 30                    Class A
 
Old 02-18-2009, 10:36 PM   #3
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
If I don't have time to calculate networks on paper, I use this: http://www.subnet-calculator.com/

Quick and easy.

---

@routers: even better - a utility already available on your server.

Last edited by anomie; 02-18-2009 at 10:38 PM.
 
Old 02-18-2009, 10:55 PM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
for security reason all junkies tools not on the server
everything inside the laptop
 
  


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 chibi2666 Linux - Newbie 16 02-25-2009 10:20 AM
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 juanb Linux - Networking 3 08-26-2003 10:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

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