Question

In: Computer Science

255.255.255.248 is a legal Class C netmask                                  True &nbs

  1. 255.255.255.248 is a legal Class C netmask                                  True                False
  2. 192.168.2.255 is a likely IP address for a host                              True                False
  3. If we use 4 bits from the last octet for the network, we would have 16 networks, with 16 hosts each                        True                False

[Show your work – no calculators of any sorts]

  1. We have a subnetted network with netmask 255.255.255.128 - What is the broadcast address for the first network? (Just the last octet is fine.)

Solutions

Expert Solution

Kindly upvote if this helped

1)
255.255.255.248 is a legal Class C netmask                                  True                False

- Range of class C IP address is 192.0. 0.0 to 223.255. 255.0.
- For subnet having 255.255.255.248 in class C, 3 bits are reserved for host ()

- Thus, the answer is TRUE


2.)
192.168.2.255 is a likely IP address for a host                              True                False

-
This is a class C IP address.
- 24 bits are reserved for network bits and 8 are reserved for host bits.
- For each network, first and last address are reserved
- First address is reserved for network address and last is reserved for broadcast address and cannot be assigned to any host.
- The given IP address uses the last adress with a network and cannot be a host address
- Thus, answer is FALSE


3.) If we use 4 bits from the last octet for the network, we would have 16 networks, with 16 hosts each                        True                False

-
If 4 bits are reserved for network from last octet, then number of network would be 2^4 = 16 is right.
- But, for host in each network, first and last address is reserved as stated in 2).
-
First is reserved for network address and last address in a network is reserved for broadcase address.
- Thus, number of host in each network would be 2^4 - 2 = 14 hosts per network.
- Thus, the answer is FALSE


4)
We have a subnetted network with netmask 255.255.255.128 - What is the broadcast address for the first network? (Just the last octet is fine.)

- According to this subnet, 25 bits are reserved for network bits.
- 11111111.11111111.11111111.10000000
- Last 7 bits are host bits.
- Therefore, for network address, convert the host bits to all 0
- So ,for network address, the last octed is 10000000
- But, for broadcast, we consider the last address.
- Convert all host bits to 1 for broadcast address.
- 1 1111111

Last octed of broadcast adress of first network - 11111111 (first 1 is a part of network bit and last 7 host bits)



Related Solutions

Class B             {                         Public:     &nbs
Class B             {                         Public:                                     Void b1();                         Protected:                                     Void b2();             };             Class A : public B             {                         Public:                                     Void a1();                         Protected: Void a2();             };             Class C: public A             {                         Public:                                     Void c1();             }; Void main () { B temp1; A temp2; C temp3; }             Name all member functions of all classes visible through temp1 in the main function? Name all member functions of...
Which of the following statements concerning depreciation is true?                         a.       &nbs
Which of the following statements concerning depreciation is true?                         a.         Depreciation expense accounts for the loss of value of inventory.                         b.         There is no relationship between depreciation expense on the income statement and accumulated depreciation on the balance sheet.                         c.         Net property and equipment is equal to gross property and equipment minus accumulated depreciation.                         d.         Accumulated depreciation appears on the balance sheet under the category “Other Assets.”                         e.         For accounting purposes, depreciation is calculated by...
  Answer the questions related to the following code:             Class B             {      &nbs
  Answer the questions related to the following code:             Class B             {                         Public:                                     Void b1();                         Protected:                                     Void b2();             };             Class A : public B             {                         Public:                                     Void  a1();                         Protected: Void  a2();             };             Class C: public A               {                         Public:                                     Void c1();             }; Void main () { B temp1; A temp2; C temp3; }    Name all member functions of all classes visible through temp1 in the main function? Name all member functions of all classes visible through temp2 in the main function? Name all...
JAVA package stringPractice1068; public class SomePracticeStringMethods { /* returns true if c is a punctuation mark...
JAVA package stringPractice1068; public class SomePracticeStringMethods { /* returns true if c is a punctuation mark or false otherwise * * Punctuation mark is defined as: * apostrophe ' * comma , * period . * semicolon ; * colon : * exclamation point ! * question mark ? * * (You don't have to worry about any others) */ public static boolean isPunct(char c) {    /* placeholder just so that the function    * compiles. fill in your...
Write a single C++ statement to accomplish each of the following.                               &nbs
Write a single C++ statement to accomplish each of the following.                                                  (6 pts) Read an integer from the user at the keyboard and store the value entered in an integer variable age. Compute the product of the 3 integers contained in variables x, y and z and assign the result to the variable result
What are the three types of company legal structures discussed in the class?
What are the three types of company legal structures discussed in the class?
It is said that company letters of recommendations are vulnerable to legal complications. Is that true?Is...
It is said that company letters of recommendations are vulnerable to legal complications. Is that true?Is so ,why should you consult your organization's legal department before writing one?
C++ Code Vehicle Class The vehicle class is the parent class of a derived class: locomotive....
C++ Code Vehicle Class The vehicle class is the parent class of a derived class: locomotive. Their inheritance will be public inheritance so reflect that appropriately in their .h files. The description of the vehicle class is given in the simple UML diagram below: vehicle -map: char** -name: string -size:int -------------------------- +vehicle() +setName(s:string):void +getName():string +getMap():char** +getSize():int +setMap(s: string):void +getMapAt(x:int, y:int):char +~vehicle() +operator−−():void +determineRouteStatistics()=0:void The class variables are as follows: • map: A 2D array of chars, it will represent the...
C++ Code Vehicle Class The vehicle class is the parent class of the derived class: dieselLocomotive....
C++ Code Vehicle Class The vehicle class is the parent class of the derived class: dieselLocomotive. Their inheritance will be public inheritance so reect that appropriately in their .h les. The description of the vehicle class is given in the simple UML diagram below: vehicle -map: char** -name: string -size:int -------------------------- +vehicle() +getSize():int +setName(s:string):void +getName():string +getMap():char** +setMap(s: string):void +getMapAt(x:int, y:int):char +~vehicle() +operator--():void +determineRouteStatistics()=0:void The class variables are as follows: map: A 2D array of chars, it will represent the map...
an internship director is reviewing applications for next year’s class. Is it legal or ethical to...
an internship director is reviewing applications for next year’s class. Is it legal or ethical to look at an applicant’s public facebook or twitter page and use information she/he finds there in making his/her decision?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT