Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

the subnet mask 255.255.255.254 is applied to a packet with a destination address of 192.168.12.135. which subnet is the packet sent to? explain.

OpenStudy (anonymous):

so you want the address of that subnet.. it's easy bro

OpenStudy (anonymous):

192.168.12.134 this is the required subnet

OpenStudy (anonymous):

I'm not 100% sure... Out of all the networking questions and content that I've been sifting through, subnets, for some reason, cloud my vision completely.

OpenStudy (anonymous):

I told you the ans..

OpenStudy (anonymous):

thank you! it's much appreciated! could you show me how to get that answer though?

OpenStudy (anonymous):

I have tons of the same kind of question that I need to work through

OpenStudy (anonymous):

ok.. of course bro... to find the subnet address.. you just have to make host bits as zero in the ip address... and you are given the subnet address. So you know what are the host bits... make them zero.. the address that you get now is ur required subnet

OpenStudy (anonymous):

so... the host address is 0.0.0.135, AKA, 00000000.00000000.00000000.10000111, where do I got from there?

OpenStudy (rsmith6559):

The reason that it's called net[work] mask is that it provides a mask for a processor to do a bitwise and on the address to determine the network number The netmask can then be logically not'd to reverse the value of the bits, and when it's and'd with the full address will give the node number. And, or, not and exclusive or are referred to as logical operators in most languages. In your example:192.168.12.135/31, the first 31 bits are masked, so: networkNumber = 192.168.12.135 & 255.255.255.254 which results in the last digit becomes 0 so the networkNumber is 192.168.12.134 nodeMask = not( 255.255.255.254 ) # not isn't a function which toggles all the bits, so nodeMask = 1 nodeNumber = 192.168.12.135 and 1, which coincidentally come out to nodeNumber = 1 Just to really give you a headache, 192.168.12.135/31 would be the multicast address of the 192.168.12.134 network.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!