Skip to content

Issue on subnet calculation #2

Description

@nilend

I think in the IPv4 addresses and subnet masks section in chapter 02, there is a wrong calculation for number of IPs. For 0-15 in the third octet we have 16 hosts and for 0-255 we have 256. So the right calculation should be (16 * 256) -2 which is 4094 not (15 * 254) -1. The reason for -2 is, in addition to broadcast address we need to remove the subnet address too.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions