Course Home
CPSC 341 - Wireshark DHCP Lab
Earl Rodd

Name: _________________________________________________

Operating System _________________________________

System used for lab _____________________________________

Overview

This lab contains instructions for both LINUX and Windows. Windows provides fewer options for the user, but to do the things we want to do, it is simpler. The Windows instructions are provided in case you use your own machine with Wireshark. Malone lab Windows machines do not have Wireshark installed.

We will trace three functions:

  1. Renewing our DHCP - this will request a DHCP address. This might be used if we had lost our connection.
  2. Release our lease.
  3. Renew (obtain) our connection.

Lab steps

When you start Wireshark, it is helpful to filter unwanted traffic. We could use a filter of "udp" since DHCP uses UDP packets, but this can get unwanted packets. The best capture filter to use is:

src port 67 or src port 68

These are the ports used for DHCP.

  1. Start Wireshark

  2. Renew our DHCP lease:

  3. Stop Wireshark

  4. Start Wireshark

  5. Release our lease

  6. Stop Wireshark

  7. Start Wireshark

  8. Ask DHCP to obtain an IP address

  9. Stop Wireshark

To hand in

This handout with answers.