What is the broadcast 123.1.0.0 /17

Can you tell what is the broadcast 123.1.0.0 /17 and how do you arrive at this using strict binary math, no tricks, magic numbers...
LVL 14
dmwynneAsked:
Who is Participating?
 
Infinity08Connect With a Mentor Commented:
The network is 123.1.0.0 (0x7B010000)
The netmask is 17 bits wide, so 255.255.128.0 (0xFFFF8000)

The broadcast address is thus :

        0x7B010000 OR NOT(0xFFFF8000) = 0x7B010000 OR 0x00007FFF = 0x7B017FFF

which is equivalent to 123.1.127.255

Generic formula :

        broadcast = network OR NOT(netmask)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.