#1 Download computer science & engineering books free           #2 Display your sponsored posts here. Reach 20,000+ students. Contact: info[at]cpentalk.com for quote           #3 Take the Ultimate Trivia Quiz. See where you rank globally.
+1 vote
in Computer Networks by

1. 31.107.256.80

2. 0.127.4.100

3. 222.222.255.222

4. 190.7.2.0

5. 127.1.1.1

6. 255.255.255.255

7. 198.121.254.255

1 Answer

0 votes
by (user.guest)
 
Best answer

1. 31.107.256.80 (Binary: 00011111 . 01101011 . 100000000 . 01010000)

This is a class A address. (first byte 31 is in 1 - 126)

NetID: 31

HostID: 107.256.80

This is a valid IP.


2. 0.127.4.100 (Binary: 00000000 . 01111111 . 00000100 . 01100100)

This is a class A address. (first byte is 0)

NetID: 0

HostID: 127.4.100

This is NOT a valid IP. This is because for an IP address to be valid, the network or host part should not be all 0s or all 1s.


3. 222.222.255.222 (Binary: 11011110 . 11011110 . 11111111 . 11011110)

This is a class C address. (from 192.0.0.0 to 223.255.255.255)

NetID: 222.222.255

HostID: 222

This is a valid IP.


4. 190.7.2.0 (Binary: 10111110 . 00000111 . 00000010 . 00000000)

This is a class B address. (first byte 190 is in 192 - 223)

NetID: 190.7

HostID: 2.0

This is a valid IP.


5. 127.1.1.1 (Binary: 01111111 . 00000001 . 00000001 . 00000001)

This is a class A address. (first byte 127 is in  1- 127)

The IP range 127.x.x.x is reserved for loopback addresses

NetID: 127

HostID: 1.1.1

This is a valid IP.


6. 255.255.255.255 (Binary: 11111111 . 11111111 . 11111111 . 11111111)

This is a class E address. (from 240.0.0.0 to 255.255.255.255 )

NetID: Not applicable to class E addresses

HostID: Not applicable to class E addresses

This is a NOT a valid IP. This is because of the presence of all 1s in the network and host part of the IP. This address represents broadcast to all networks.


7. 198.121.254.255 (Binary: 11000110 . 01111001 . 11111110 . 11111111)

This is a class C address. (first byte 198 is in 192 - 223)

NetID: 198.121.254

HostID: 255

This is NOT a valid IP. This is because the host part of the IP consists of only 1s.


Please leave a comment below and share with other students in your network if you found this solution helpful. Happy learning!

by (user.guest)
thank you so much
by (user.guest)
You're welcome. Feel free to share with other students in your network. Best of luck in your studies :)
by
Nice explanation
by (user.guest)
Glad you found it useful. All the best in your studies!
by (user.guest)
You might find some computer network books helpful. Check them out here > https://cpentalk.com/drive/index.php?p=Computer+Networks+Books

Related questions

Welcome to CPEN Talk
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

Chuck Norris can access the DB from the UI.
...