Question

Project 4-3: In the following steps, you will learn more about the PING (Packet Internet Grouper)...

Project 4-3:

In the following steps, you will learn more about the PING (Packet Internet Grouper) utility, which can be used on a network running IPv4 to verify that TCP/IP is configured correctly and communicating with the network. A ping test is typically the first thing network professionals try when troubleshooting a TCP/IP connection problem. For this project, you can use any type of workstation that's running TCP/IPv4, preferably one connected to the Internet. The output described in the following steps assumes you are using a Windows XP, Vista, or 7 workstation. However, you could just as easily use a UNIX or Linux workstation. The output returned by the ping command on a UNIX or Linux workstation may be formatted slightly differently. Also, if you are using a UNIX or Linux workstation, you will need to press CTRL+C to halt the ping process after you have determined whether a host is responding. Rather than sending only four packets, the ping command on a UNIX or Linux host will keep sending packets until you stop it.

1. On a Windows workstation, click the Start button, select All Programs, select Accessories, and then select Command Prompt (you can also type "cmd" without quotation marks in to the Windows search bar). The command prompt window opens. (If you are working on a UNIX or Linux client, make sure you are at a shell prompt -- this is also called the terminal).

2. Type "ping 127.0.0.1" without quotation marks, and then press enter (remember that 127.0.0.1 is the loopback address). The first line of the response reads "Pinging 127.0.0.1 with 32 bytes of data." Following that, you see multiple lines that begin "Reply from 127.0.0.1." If you do not see four positive reply lines, or if you see four lines with the words "Request timed out," check the syntax of your ping command. If you typed the command correctly, check the status of your TCP/IP protocol.

3. At the end of each line of output, a TTL value appears. What is the value of the TTL, and what does this number represent?

4. Next, you will try a ping test that can help you determine whether your TCP/IP services are operating successfully. At the command prompt, type "ping www.yahoo.com" without quotation marks, then press Enter.

5. What was the response? If you receive a "Request timed out" message, why might you have received it? If you received a valid response, with four lines of replies, note the TTL. Why does it differ from the TTL observed when you pinged the loopback address? Also note the number of packets sent and received and the number of packets lost, if any. Finally, note the IP address that responded to your ping test (consider that for security purposes some organizations will prevent devices on their networks from responding to ping requests. In that case, a "Request timed out" response does not necessarily indicate a problem on the network).

6. You have learned that, when pinging, you can attempt to contact a host either by IP address or host name. This time, rather than attempting to reach a host, you will attempt to reach an IP address. At the command prompt, type ping x, where x is the IP address that responded to your ping test from Step 4. Did the response differ from the response you noted in Step 5?

7. Now try the ping command using the following syntax: ping -a x, where X is the same IP address you used in Step 6. The -a switch causes the ping utility to resolve the IP address you've entered with its host name. Note the name of the host that responds. It might be different from www.yahoo.com. This difference has to do with how the owner of the yahoo.com domain has configured its network. For example, the company might want to make its public host name easier for customers to remember. Or, it might arrange for several different hosts to respond to requests for that more memorable host name.

8. If you are using a Windows computer, type "exit" without quotation marks and then press Enter to close the command prompt window.

PreviousNext

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. On a Ubuntu(Linux) machine pressing the Ctrl+Alt+T opens up the terminal window where we can enter the futher provided commands.

2.

3. TTL value for our ping is 64.

Time to live (TTL) limits the lifespan data packets in a computer or network. TTL value of a packet is reduced by 1 when it passes through a router on its route to destination. This prevents a data packet from circulating indefinitely in the network causing overloading.

4.

5.Output received on running command ping yahoo.com

PING yahoo.com(media-router-fp2.prod1.media.vip.gq1.yahoo.com (2001:4998:c:1023::5)) 56 data bytes
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (2001:4998:c:1023::5): icmp_seq=1 ttl=48 time=521 ms
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (2001:4998:c:1023::5): icmp_seq=2 ttl=48 time=413 ms
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (2001:4998:c:1023::5): icmp_seq=3 ttl=48 time=373 ms
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (2001:4998:c:1023::5): icmp_seq=4 ttl=48 time=415 ms

4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 373.999/431.297/521.759/54.816 ms

The TTL value is chosen by the OS depending on the network the packet is being sent to. By default on linux the TTL value is 64. While pinging the loopback address 127.0.0.1 the default TTL value is always used.

4 packets are received and 4 packets are transmitted. No packet was lost while sending and receiving.

The IP address that responded to the ping command is 2001:4998:c:1023::5

6.

Yes the response was different from the response in 5.

Add a comment
Know the answer?
Add Answer to:
Project 4-3: In the following steps, you will learn more about the PING (Packet Internet Grouper)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • PING: Finding Other Computers The PING sends a small packet to any computer on the Internet...

    PING: Finding Other Computers The PING sends a small packet to any computer on the Internet to show you how long it takes the packet to travel from your computer to the target computer and back again. You can ping a computer using its IP address or Web URL Not all computers respond to ping commands, so not every computer you ping will answer. Start by pinging your default gateway: just type PING followed by the IP address of your...

  • Using python 3 to create the UDP Ping Clien and server. Using UDP sockets, you will...

    Using python 3 to create the UDP Ping Clien and server. Using UDP sockets, you will write a client and server program that enables the client to determine the round-trip time (RTT) to the server. To determine the RTT delay, the client records the time on sending a ping request to the server, and then records the time on receiving a ping response from the server. The difference in the two times is the RTT. The ping message contains 2...

  • . Long on to a PC with the administrator account, or an account that has administrator privilege....

    . Long on to a PC with the administrator account, or an account that has administrator privilege. Please take a note of your system information and location where you perform the lab. Open the command prompt. For Windows 10, type cmd in Cortona. For Windows XP. choose Start à Run, and type cmd in the Open field. For Windows 7, click on Start, enter cmd in "Search program and file, and choose "cmd.exe from search result. For Windows 8 press...

  • Description: In this project, you are asked to install virtualization software on a host computer, install...

    Description: In this project, you are asked to install virtualization software on a host computer, install guest operating system on the virtual machine, and finally set up a web server in the guest operating system. Host Operating System: Your host operating system can be any operating system you are familiar with and have access to. Virtualization Software: VMWare Workstation Player or VirtualBox Guest Operating System: Ubuntu Web Server: Apache Steps: 1. Install Virtualization software a. VMWare Player i. Free download...

  • computer networks help please !!! could someone help with the following tasks! ANY HELP WILL BE...

    computer networks help please !!! could someone help with the following tasks! ANY HELP WILL BE IMMENSELY APPRECIATED! THANKS. Task 1 In the following scenario, we would like to find out more information about a host that is on out network. Given an IP address we would like to search for additional information, we can start with obtaining the IP address off the default route. When running on a Linux VM, this like most likely to be the internal IP...

  • Description: In this assignment, you will be launching a denial of service attack on a web...

    Description: In this assignment, you will be launching a denial of service attack on a web server. We will be using hping3, a command-line oriented network security tool inside Kali Linux (an advanced penetration testing Linux distribution). Setting up the victim machine Download the Windows XP virtual machine with WebGoat server installed, using the following link. We will use this machine as the victim machine and launch a DoS attack on the WebGoat server.https://drive.google.com/open?id=0BwCbaZv8DevUejBPWlNHREFVc2s Open the victim machine and launch...

  • HOMEWORK 4

    Each (1-13) question is 5 points: 1.      How many bits are in a MAC address?2.       3.      How many bits are in an IPv4 IP address? 4.      When using DSL modem to connect to the Internet, the data transmission shares the cabling with what other technology? 5.      Which type of networking cable is more reliable, STP or UTP? Which is used more on LANs? 6.      Which TCP/IP protocol that manages packet delivery guarantees that delivery? Which protocol does not guarantee delivery, but is faster? 7.      Which...

  • Six Which of the following options can be used to configure TCP/IP? (Choose all that apply.)...

    Six Which of the following options can be used to configure TCP/IP? (Choose all that apply.) APIPA DHCP DNS Static IP addressing You need to install a new Windows 10 machine into Site A with a subnet mask of 255.255.255.224. Which TCP/IP address can you assign to the new Windows 10 machine as a valid host address? 192.168.2.63 Which subnet mask would you utilize if you had a class C network and you wanted to connect 23 branch offices back...

  • How to solve Exercises 1? Project Goal The project will give you some hands-on experience with...

    How to solve Exercises 1? Project Goal The project will give you some hands-on experience with Nmap. Nmap is a network tool that allows you to scan live hosts and services (open ports), thus, creating a "map" of the network. You will be using Zenmap, a graphical user interface (GUID of Nmap, to investigate several basic types of networl scanning techniques. You can work in teams of two students or alone. Setup: Installing&Using Zenmap Visit nmap.org/download.html to download and install...

  • can you please help me with this homework. DCOM 101 – Introduction to Data Communications Final Project Instructions: In this Final Project, you will test the skills and knowledge gained throughout th...

    can you please help me with this homework. DCOM 101 – Introduction to Data Communications Final Project Instructions: In this Final Project, you will test the skills and knowledge gained throughout this course. The steps listed below are loosely based on the Assignments you have completed thus far, so don’t hesitate to look back and use those resources. Follow the steps in each section, and paste screenshots when prompted. This assignment is worth 10% of your final grade. Basic Network...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT