User Tools

Site Tools


misc:dhcp_test

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
misc:dhcp_test [2014/12/01 08:13] – external edit 127.0.0.1misc:dhcp_test [2016/02/10 07:36] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ==== Checking DHCP Options with DHCP test client ==== ==== Checking DHCP Options with DHCP test client ====
  
-DHCP test clientAnother great tool to use is the DHCP test client. This sniffs the network until a DHCP Offer / DHCP Ack is detected on UDP port 68 and shows the received information.+DHCP test client is a great tool to use in DHCP server trouble shooting proces.\\ 
 +This sniffs the network until a DHCP Offer / DHCP Ack is detected on UDP port 68 and shows the received information.
  
 The benefit of the DHCP test client is that you don’t have to install anything, just run the tool and initiate a DHCP request. The benefit of the DHCP test client is that you don’t have to install anything, just run the tool and initiate a DHCP request.
  
-DHCP test client can be downloaded from:\\+{{downloads:dhcptest-0.5-win32.zip|32 bit DHCP test client}} & {{downloads:dhcptest-0.5-win64.zip|64 bit DHCP client}}  can be downloaded from:\\
  
 [[http://files.thecybershadow.net/dhcptest/]] [[http://files.thecybershadow.net/dhcptest/]]
Line 11: Line 12:
 ==== Checking DHCP Options with PowerShell script ==== ==== Checking DHCP Options with PowerShell script ====
  
-Since the DhcpInterfaceOptions is always accessible (even when the client already received  the DHCP offer) I wanted to have the ability to read the content. So I wrote a PowerShell script that reads the registry key for each DHCP enabled NIC and shows the received DHCP options.+Before executing PS Script, script execution has to be enabled in PS: \\ 
 +  Get-ExecutionPolicy 
 +  Set-ExecutionPolicy RemoteSigned 
 + 
 +Since the DhcpInterfaceOptions is always accessible (even when the client already received  the DHCP offer) you can always read the content. PowerShell script reads the registry key for each DHCP enabled NIC and shows the received DHCP options.
  
 The script shows all Dhcp options and vendor specific Dhcp options (43). The script shows all Dhcp options and vendor specific Dhcp options (43).
Line 17: Line 22:
 ReadDhcpOptions ReadDhcpOptions
  
-You can find the PowerShell script here:   ReadDhcpOptions+You can find the PowerShell script here:   {{downloads:ReadDhcpOptions-v1.1.zip|ReadDhcpOptions}}\\ 
 +or download it from the author's site [[http://www.ingmarverheij.com/download/5839/ ]]  \\
  
 The archive contains three files The archive contains three files
Line 28: Line 34:
  
 [[http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml]] [[http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml]]
- 
- 
-PowerShell script can be downloaded from:\\ 
          
-[[http://www.ingmarverheij.com/download/5839/ ]]   +  
  
-Before executing PS Script, script execution has to be enabled in PS: \\ 
-  Get-ExecutionPolicy 
-  Set-ExecutionPolicy RemoteSigned 
  
misc/dhcp_test.1417421596.txt.gz · Last modified: 2016/02/10 07:02 (external edit)