Spring 10 Ch 7 Practice Problems by 3GlV0g

VIEWS: 4 PAGES: 2

									Chapter 7

   1. How does a computer acquire an IP address? Manually, automatically by using DHCP

   2. What are the advantages of automatic assignment of IP address? Easier, faster, avoids duplicate because of
      human error, more secure

   3. Which software is commonly used to assign IP address automatically to computers in a network? DHCP

   4. How does a computer acquire an IP address from a DHCP software? 1. DHCP client sends a broadcast request
      looking for a DHCP server to answer, 2. The server receives the packet and sends back to the client an offer
      packet, with the address information, 3. The client receives the packet and sends back a request packet,
      requesting to use the address, 4. The server receives the packet and sends back an acknowledgement packet,
      confirming that the client has been given a lease on the address for a certain period of time.

   5. What is static IP address? What is dynamic IP address? Static IP address is usually used in a …

       Static address: IP address that does not change when the computer is disconnected and reconnected to the
       network. Normally assigned manually to the computer.

       Dynamic address: IP address that changes when the computer is disconnected and reconnected to the
       network. Assigned automatically by the DHCP.

       Static IP address is usually used in a server.

   6. What is APIPA? What is the format of APIPA? Can we use APIPA to connect a computer to the Internet?

       An address that is given to a machine if the machine fails to acquire IP address from the DHCP server.

       169.254.X.X

       NO.

   The next two problems are based on this assumption: IANA gives the license for class C 11000011 00000000
   00000000 00000000 to company A. This company wants to subnet its network into 15 subnetworks.

   7. What is the subnet mask (in binary format)?

       11111111 11111111 11111111 11111000

   8. What is the maximum number of nodes that can be connected to a subnetwork with the subnet mask that you
      identified in the prior problem?

       23 - 2

   The next three problems are based on this assumption: IANA gives the license for class B 10000010 00000000
   00000000 00000000 to company A. This company wants to subnet its network into 13 subnetworks.

   9. What is the subnet mask (in binary format) that allows 13 subnetworks?

       11111111 11111111 11110000 00000000

   10. What is the maximum number of nodes that can be connected to a subnetwork with the subnet mask that you
       identified in the prior problem?
    212 - 2



11. What is the broadcast address for the first network address?

    10000010 00000000 00011111 11111111

The next three problems are based on this assumption: IANA gives the license for class A 00001010 00000000
00000000 00000000 to company A. This company wants to subnet its network into 5 subnetworks.

12. What is the subnet mask (in binary format) that allows 5 subnetworks?

    11111111 11100000 00000000 00000000

13. What is the maximum number of nodes that can be connected to a subnetwork with the subnet mask that you
    identified in the prior problem?

    221 - 2

14. What is the broadcast address for the first network address?

    00001010 00111111 11111111 11111111

15. You have a network of 16 computers and would like to connect your network to the Internet by using public
    IP addresses. You ask IANA to subscribe at least 16 IP addresses. Nowadays, instead of giving you the whole IP
    Class C (e.g., 222.1.1.0), IANA will subnet this class and give you a portion of this class. How does IANA subnet
    this class (222.1.1.0) to be able to give you a portion of this class without wasting too many IP addresses?

    11011110 00000001 00000001 00000000

    Subnet mask: 11111111 11111111 11111111 11100000

    IANA could subnet this class by using the above subnet mask (11111111 11111111 11111111 11100000) and
    giving you the first network address (11011110 00000001 00000001 00100000) which allows you to connect
    your 16 computers to the Internet without wasting too many IP addresses.

16. What is IP broadcast address? Which application uses this broadcast address? What is Ethernet broadcast
    address of MAC broadcast address? Which application uses this broadcast address?

    IP address that is used to broadcast a packet to every computer in a network or a subnetwork.

    DHCP application. FF FF FF FF FF FF. ARP.

								
To top