If we have an IP address 12812383 with a net mask of 2552551

If we have an IP address 128.123.8.3 with a net mask of 255.255.192.0, what is the network and host portions of that IP address?

Solution

So we have the Given terms

IP Address:- 128.123.8.3

Netmask:-255.255.192.0

Now to Find the Network Portion we convert the IP Address and Netmask to binary notation and then Add using Bitwise AND Operator used for addition of Binary Numbers.

So Binary of IP Address will be 10000000 01111011 00001000 00000011 (128.123.8.3)

And Binary of Netmask will be 11111111 11111111 11000000 00000000 (255.255.192.0)

Now add them (Using AND Operator) to get Network Portion so the Network portion will be

10000000 01111011 00000000 00000000 (128.123.0.0)

Now to find the Host Portion of the IP Address Add the Binary notation of IP Address and Negation of the netmask

So Binary of IP Address will be 10000000 01111011 00001000 00000011 (128.123.8.3)

And Negation(~) of the Netmask will be 00000000 00000000 00111111 11111111 (0.0.63.255)

Now add them (Using AND Operator) to get Host Portion so the Host portion will be

00000000 00000000 00001000 00000011 (0.0.8.3)

 If we have an IP address 128.123.8.3 with a net mask of 255.255.192.0, what is the network and host portions of that IP address?SolutionSo we have the Given te

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site