The document discusses DHCP and ping commands. DHCP is a protocol that dynamically assigns IP addresses to devices on a network to simplify administration. The ping command is used to test connectivity to other devices and provides information like response time and hop count. It also explains how to use ping and what the output indicates.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
67 views13 pages
Understanding DHCP and Ping
The document discusses DHCP and ping commands. DHCP is a protocol that dynamically assigns IP addresses to devices on a network to simplify administration. The ping command is used to test connectivity to other devices and provides information like response time and hop count. It also explains how to use ping and what the output indicates.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13
UNDERSTANDING DHCP AND
PING DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP)
• DHCP is a software utility used to dynamically assign IP Address to Network
devices. This dynamic process eliminates the need to manually assign IP Addresses. • When a computer is set to obtain an IP address automatically, the other entire IP addressing configuration boxes are dimmed or disabled. The server maintains a list of IP addresses to assign, and it manages the process so that every device on the network receives a unique IP address DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) • These are the IP address information that a DHCP server can assign to hosts: • IP address • Subnet mask • Default gateway • Optional values, such as a Domain Name System (DNS) server address • You can configure a computer to accept an IP address from a DHCP server by clicking the Obtain an IP address automatically option in the NIC configuration window, as shown in Figure 1. DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) • Using a DHCP server simplifies the administration of a network because the software keeps track of IP addresses. • APIPA continually requests an IP address from a DHCP server for your computer. This operating system feature is called Automatic Private IP Addressing (APIPA) PING • The ping is a Command Prompt command used to test the ability of the source computer to reach a specified destination computer. • The ping command is usually used as a simple way to verify that a computer can communicate over the network with another computer or network device. • The ping command operates by sending Internet Control Message Protocol (ICMP) Echo Request messages to the destination computer and waiting for a response. USING THE PING COMMAND
• Ping is one of your most important tools in
troubleshooting Internet problems. It shows you whether the Domain Name Server is working, whether the computer you are trying to talk to is reachable, and how long it takes to get there. THIS OUTPUT SHOWS SEVERAL THINGS: 1. Decoding names to network addresses — A domain name server (DNS) resolves machine names to numeric addresses. A single machine can have many names, all of which resolve to the same Internet address. In the example just given, the name www.google.com resolves to the Internet address 122.2.152.23. 2. Round-trip response time — The parts of the replies that say things like time=105ms show you how long it took from the time the client machine sent out the ping message until a reply came back (1 ms is 1 millisecond, or one thousandth of a second). The variability in the times you see reflects that networks do not always respond identically. Differing amounts of traffic on the communication lines or differing loads on the server are common causes. You will see very different response times depending on the access equipment you use. 3. Routing hop count — The part of the replies that says TTL=50 tells you about the route the message took from one point to another. The acronym TTL stands for Time to Live, which is a measure of how many rerouting from one point to another the packet has to go through before IP declares it undeliverable. The number following TTL (called the hop count) is a number that usually starts at 255 and counts down by one every time the message gets rerouted through an intermediary computer. ACTIVITY: 1. WHAT IS THE IP ADDRESS OF YOUR MOBILE PHONE? 2. USING THE IP ADDRESS FIND THE FOLLOWING: a. Round Trip Response Time (ms) b. Rounding hop Count (TTL) c. IP Address of Facebook.com