Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Ip Address
Results 1 to 3 of 3

Thread: Ip Address

  1. #1
    Junior Member
    Join Date
    Apr 2006
    Posts
    92

    Question Ip Address

    Hi,

    If an ip address is 108.72.20.5 and mask is 250.255.248 what is the the total number of hosts? Can anyone explain what is the solution?

    Saswata

  2. #2
    Senior Member RickDev's Avatar
    Join Date
    Jul 2005
    Location
    Melbourne, Florida
    Posts
    438
    Do you mean 255.255.248.0 on the subnet? Look at this link

    http://www.ralphb.net/IPSubnet/class_a.html

    That should tell you the amount of hosts for each subnet mask.
    RickDev
    "Nobody knows what I do until I stop doing it."


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    |
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  3. #3

    Hmmmm....well

    Hmmmm....well, based on my understanding, and from what I can see, this subnet mask does not work. But when someone asks a question like this, sometimes there is a reason beyond common usage.

    Here are my thoughts:

    IP Address: 108.72.20.5
    01101100.01001000.00010100.00000101

    Subnet Mask: 250.255.248
    11111010.11111111.11111000.00000000

    With the network and broadcast bits excluded, you might possibly get 1 host mathematically (in the 10. octet), but I don't think it would be functional.

    My understanding is that none of the rest would matter because the firmware and/or software would not understand the reasserting of network bits, once a host bit has been introduced. Also, I think this mask would be rejected by any platform that was not specifically designed to work with this numbering scheme, as it is uncommon and unorthodox in the existing, commonly used, network numbering paradigm.

    If however, what you mean is:

    IP Address: 108.72.20.5
    01101100.01001000.00010100.00000101

    Subnet Mask: 255.255.248
    11111111.11111111.11111000.00000000 (21 mask bits; 13 subnet bits)

    Then you answer is:
    You have 8192 Subnets with 2046 host addresses ranging from: 108.72.16.1 to 108.72.23.254

    Your network ID is 180.72.16.0
    Your Broadcast Address is 182.72.23.255

    Although keep in mind that this is a highly customizable address range.

Similar Threads

  1. Bad ip address
    By saswata in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 08-27-2007, 05:26 AM
  2. How to Achive IP address through MAC(Ethernet) address
    By krishnacins in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 10-03-2005, 02:17 PM
  3. IP address??
    By in forum Windows - General Topics
    Replies: 24
    Last Post: 01-03-2004, 07:58 PM
  4. Lan address?
    By pinehead in forum Linux - General Topics
    Replies: 3
    Last Post: 07-24-2003, 06:01 PM
  5. ip address on rh7.2
    By elovkoff in forum Linux - General Topics
    Replies: 9
    Last Post: 02-27-2002, 02:00 AM

Bookmarks

Posting Permissions

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