Home > Articles

This chapter is from the book

Topic: Troubleshoot client- and router-based DHCP connectivity issues

There can be many issues to prevent proper DHCP connectivity. Here are just some issues you should be aware of:

  • Errors in router or switch configurations

  • DHCP server configuration

  • DHCP relay-agent configuration

  • DHCP server scope configuration or software defect

The four steps of the DHCP process that must succeed for a successful DHCP lease are as follows:

  1. Discover (from the client)

  2. Offer (from the server)

  3. Request (from the client)

  4. Acknowledgement (from the server)

Remember the key verification commands for DHCP. show ip dhcp binding is critical for the server, and show ip interface brief works well for the client.

CramQuiz

  1. Examine the configuration shown. DHCP clients in the 10.1.1.0/24 subnet are complaining that they cannot access Internet resources. What is the most likely issue?

  2. R1#show running-config
    Building configuration...
    
    Current configuration : 1312 bytes
    !
    ! Last configuration change at 08:57:10 UTC Fri Aug 26 2016
    !
    upgrade fpd auto
    version 15.0
    service timestamps debug datetime msec
    service timestamps log datetime msec
    no service password-encryption
    !
    hostname R1
    !
    boot-start-marker
    boot-end-marker
    !
    !
    no aaa new-model
    !
    !
    !
    ip source-route
    no ip icmp rate-limit unreachable
    ip cef
    !
    !
    ip dhcp excluded-address 10.1.1.1 10.1.1.10
    !
    ip dhcp pool CCNAEXAMCRAM
       network 10.1.1.0 255.255.255.0
       default-router 10.1.1.1
       option 150 ip 10.10.10.2
    !
    !
    no ip domain lookup
    no ipv6 cef
    !
    multilink bundle-name authenticated
    !
    !
    redundancy
    !
    !
    ip tcp synwait-time 5
    !
    !
    !
    interface FastEthernet0/0
     ip address 10.1.1.1 255.255.255.0
     duplex half
    !
    !
    interface FastEthernet1/0
     no ip address
     shutdown
     duplex auto
     speed auto
    !
    !
    interface FastEthernet1/1
     no ip address
     shutdown
     duplex auto
     speed auto
    !
    !
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    !
    !
    !
    no cdp log mismatch duplex
    !
    !
    !
    control-plane
    !
    !
    !
    mgcp fax t38 ecm
    mgcp behavior g729-variants static-pt
    !
    !
    !
    gatekeeper
     shutdown
    !
    !
    line con 0
     exec-timeout 0 0
     privilege level 15
     logging synchronous
     stopbits 1
    line aux 0
     exec-timeout 0 0
     privilege level 15
     logging synchronous
     stopbits 1
    line vty 0 4
     login
    !
    ntp master 2
    end
    
    R1#
    • src.jpg A. The scope of addresses in the pool is not correct.

    • src.jpg B. There is no lease duration set.

    • src.jpg C. There are no DNS servers assigned to the clients.

    • src.jpg D. The default gateway is incorrect.

  3. What is the second step of the four steps of the DHCP process?

    • src.jpg A. Acknowledgement

    • src.jpg B. Request

    • src.jpg C. Offer

    • src.jpg D. Discover

CramQuiz Answers

  1. C is correct. This configuration is missing the assignment of DNS servers for the clients.

  2. C is correct. The second step of the process is an offer.

Pearson IT Certification Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Pearson IT Certification and its family of brands. I can unsubscribe at any time.