Unix questions - Net Mask

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > November 2006 > Net Mask





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Net Mask
v2desperado@gmail.com

2006-11-02, 1:24 am

Suppose i wanted to have a subnet of IBM's network that could
support having 1000 hosts on it. What would the netmask need to be?

Ans: I Calculated netmask i got "255.255.64.0" is it correct

Barry Margolin

2006-11-02, 1:24 am

In article <1162431996.862306.248080@f16g2000cwb.googlegroups.com>,
v2desperado@gmail.com wrote:

> Suppose i wanted to have a subnet of IBM's network that could
> support having 1000 hosts on it. What would the netmask need to be?
>
> Ans: I Calculated netmask i got "255.255.64.0" is it correct


Don't post the same question in multiple newsgroups. If you must,
cross-post rather than multi-posting.

This question isn't really on-topic for ANY Unix newsgroup, so it's
certainly not on-topic for two of them.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Doug McIntyre

2006-11-02, 1:24 am

v2desperado@gmail.com writes:
>Suppose i wanted to have a subnet of IBM's network that could
> support having 1000 hosts on it. What would the netmask need to be?


>Ans: I Calculated netmask i got "255.255.64.0" is it correct


Your netmask only supports 512 hosts, and is a bit strange.
Typically, netmasks look something like 256-(2^x) in each octet.

Its easiest to visualize what netmasks do by writing them out as
binary, and realize that netmasks are ANDed with IP addresses to
determine if the IP addresses fall within a given subnet or not.



Warren Block

2006-11-02, 1:24 am

v2desperado@gmail.com <v2desperado@gmail.com> wrote:
> Suppose i wanted to have a subnet of IBM's network that could
> support having 1000 hosts on it. What would the netmask need to be?
>
> Ans: I Calculated netmask i got "255.255.64.0" is it correct


Just put it back the way it was before somebody finds out.

--
Warren Block * Rapid City, South Dakota * USA
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com