Results 1 to 2 of 2

Thread: Subnetting Question

  1. #1

    Subnetting Question

    Suppose the administrator of a class B IP network wishes to divide the network to create subnets with up to 240 hosts on each subnet. Then what would be a suitable net/host address boundary and a subnet mask.

    My Solution:

    240 host = log2(240) = 8

    therefore there are 32 bits in ip address and we need the 8 bits to accommodate 240 hosts.

    Therefore 32-8 = 24. Therefore we need the first 24 bits for the network park, which suggest the
    host/net boundary of /24 is suitable.

    This means that the first 24 bits are all 1s and therefore we get the following:
    11111111 11111111 11111111 = 255.255.255.

    Therefore our subnet mask becomes with a boundary of /24 on class B IP network.

    HI Can anybody check my solution and please let me know whether it is right or wrong.

    Thank you

  2. #2
    You can use at least 254 different networks, like so:



    etc, etc.

    In other words, you are on the right track.
    arrogance breeds ignorance

    Screaming Electron, Full of BSD Goodness

Similar Threads

  1. A question
    By mcdougrs in forum General Chat
    Replies: 25
    Last Post: 12-14-2002, 03:23 PM
  2. KDE 2.2.2 Question
    By stryder144 in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 11-23-2002, 08:06 AM
  3. D.E.S. question
    By traceroute in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 05-23-2002, 10:17 AM
  4. DHCP and Subnetting
    By rooster in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 04-07-2002, 08:19 AM
  5. a log question
    By ericn in forum Linux - General Topics
    Replies: 4
    Last Post: 12-20-2001, 04:57 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts