Monday, 31 March 2014

Introduction to Data Communications and Networking

Activity 1
Objectives
• Configure Windows 2003 as a DHCP Server
• Capture and analyze DHCP traffic generated
DHCP is a client/server protocol that automatically provides an IP host with its IP address and other related configuration information such as the subnet mask and default gateway.
To Configure Windows 2003 as a DHCP Client
Start>Control Panel>Network Connections.
Right-click and select Open. Select anyone of the local area connections and click.
Click Properties. Local Area connection properties window appears.
Select Internet Protocol (TCP/IP) and click Properties. Internet Protocol (TCP/IP) Properties window appears. Select the radio button ‘obtain an IP address automatically’.

To Configure Windows 2003 as a DHCP Server
Start>Control Panel>Add/Remove Programs.
Click on Add/Remove Windows Components.
Select Networking Services and check it. Then click Details button.
Select DHCP and Simple TCP/IP Services.Click Ok. Click Next. Click Finish.
Start>Administrative Tools>DHCP. DHCP Manager appears.
Click on the computer and right-click and select New Scope. New Scope Wizard appears. Enter the name of the scope and its description. Enter the starting and ending IP address of the scope. Click Next.
  FOR MORE INFORMATION ON THIS TOPIC CLICK HERE
Select Yes for DHCP configure options and Click Next. If needed specify the router [default gateway] address and click Add. Click Next.
Click Next[for DNS server]. Click Next[for WINS server]. Select Yesfor activating the scope. Click Next. Completing the new scope wizard appears. Click Finish. DHCP window appears.
Activity 2
Requirements
1 Laptop with wireshark
1 Windows Server 2003
A switch
Capture DHCP traffic
1. Run the Wireshark software. From the Capture Menu click Start. In the window that pops up choose the appropriate network interface and Click Ok.
2. Generate DHCP traffic by using the commands ipconfig /release and ipconfig /renew at the DHCP client. Stop the DHCP capture.
• What is the transport layer protocol DHCP uses?
• What is the use of port numbers 68 and 67?
• Why is that the Source IP address of the DHCP Discover all 0s?
• Why is that the Destination IP address of the DHCP Discover all 1s?
• What is the relationship between BOOTP protocol and DHCP?
• What is the use of physical address in DHCP?
• Why is the Destination IP address of DHCP Offer all 1s?

No comments:

Post a Comment