Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
Exploring TCP/IP Settings on Your Computer
Answered

IPCONFIG: Reading Your Computer’s Settings

In this chapter, we’ve discussed the basic components of TCP/IP such as IP addresses, subnet masks, DNS requests, and ARP requests. In this activity, we’ll show you how to explore these items on your computer. Although this activity is designed for Windows computers, most of these commands will also work on Apple computers.

This activity will use the command prompt, so start by clicking START, then RUN, and then type CMD and press enter. You should see the command window, which in Windows is a small window with a black background. Like all other windows, you can change its shape by grabbing the corner and stretching it.

IPCONFIG: Reading Your Computer’s Settings

In a focus box earlier in the chapter, we showed you how to find your computer’s TRCP/IP settings using Windows. You can also do it by using the IPCONFIG command. In the command window, type IPCONFIG/ALL and press enter.

You should see a screen like that shown in Figure 5-19. The middle of the screen will show the TCP/IP information about your computer. You can see the IP address (192.168.1.102 in Figure 5-19); the subnet mask (255.255.255.0); the default gateway, which is the IP address of the router leading out of your subnet (192.168.1.1); the DHCP server (192.168.1.1); and the available DNS servers (e.g., 63.240.76.4). Your computer will have similar, but different, information. As discussed in Technical Focus 5.3, your computer might be using “private” IP addresses the same as my computer shown in Figure 5-21, so your addresses may be identical to mine. We’ll explain how network address translation (NAT) is done in Chapter 11

Deliverables

Use the ipconfig/all command on your computer. What is the IP address, subnet mask, IP address of default gateway, and MAC of your computer?

Why does every computer on the Internet need to have these four numbers?

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 gateway. Figure 5-22 shows that the PING command sends four packets to the target computer and then displays the maximum, minimum, and average transit times. In Figure 5-22, you can see that pinging my gateway is fast: less than 1 millisecond for the packet to travel from my computer to my router and back again.

PING: Finding Other Computers

Next, ping a well-known website in the United States to see the average times taken. Remember that not all websites will respond to the ping command. In Figure 5-22, you can see that it took an average of 52 milliseconds for a packet to go from my computer to Google and back again. Also note that www.google.com has an IP address of 216.239.37.99.

Now, ping a website outside the United States. In Figure 5-20, you can see that it took an average of 239 milliseconds for a packet to go from my computer to the City University of Hong Kong and back again. If you think about it, the Internet is amazingly fast.

Deliverables

Ping your own default gateway. How many packets were returned? How long did it take for your default gateway to respond?

Ping google.com. How many packets were returned? How long did it take for you default gateway to respond?

Ping National Australian University www.anu.edu.au. How many packets were returned? How long did it take for your default gateway to respond?

ARP: Displaying Physical Addresses

Remember that to send a message to other computers on the Internet, you must know the physical address (aka data link layer address) of the next computer to send the message to. Most computers on the Internet will be outside your subnet, so almost all messages your computer sends will be sent to your gateway (i.e., the router leaving your subnet). Remember that computers use ARP requests to find physical addresses and store them in their ARP tables. To find out what data link layer addresses your computer knows, you can use the ARP command.

At the command prompt, type ARP-A and press enter. This will display the contents of your ARP table. In Figure 5-23, you can see that the ARP table in my computer has only one entry, which means that all the messages from my computer since I turned it on have only gone to this one computer—my router. You can also see the physical address of my router: 00-04-5a-0b-d1-40

If you have another computer on your subnet, ping it and then take a look at your ARP table again. In Figure 5-23, you can see the ping of another computer on my subnet (192.168.1.152) and then see the ARP table with this new entry. When I pinged 192.168.1.152, my computer had to find its physical address, so it issued an ARP request, and 192.168.1.152 responded with an ARP response, which my computer added into the ARP table before sending the ping.

ARP: Displaying Physical Addresses

Deliverables

Type ARP-A at the command prompt. What are the entries in your ARP table?

Suppose that there are no entries in your ARP table. Is this a problem? Why or why not?

Remember that to send a message to other computers on the Internet, you must know their IP addresses. Computers use DNS servers to find IP addresses. You can issue a DNS request by using the NSLOOKUP command.

Type NSLOOKUP and the URL of a computer on the Internet and press enter. In Figure 5-24, you’ll see that www.cnn.com has several IP addresses and is also known as cnn.com

Deliverable

Find the IP address of google.com and of another website of your choice.

DNS Cache

The IPCONFIG/DISPLAYDNS command can be used to show the contents of the DNS cache. You can experiment with this by displaying the cache, visiting a new website with your browser, and then displaying the cache again. Figure 5-25 shows part of the cache on my computer after visiting a number of sites. The DNS cache contains information about all the websites I’ve visited, either directly or indirectly (by having a Web page on one server pull a graphics file off of a different server)

For example, the second entry in this figure is ns1.cisco.com, which has an IP address of 128.107.241.185 (a 4-byte long address). The record type is one, which means this is a “host”—that is, a computer on the Internet using IPv4. Because the DNS information might change, all entries have a maximum time to live set by the DNS that provides the information (usually 24 hours); the time to live value is the time in seconds that this entry will remain in the cache until it is removed.

The very last entry in this figure is for ns1.v6.telekom.at. The record type of 28 means that this is a host that uses IPv6, which you can see from the 16-byte long address in the record (2001:890:600:d1: :100).

Deliverables

Display your DNS cache using the command ipconfig /displaydns.

How many entries are there in your cache?

Open your browser and visit www.ietf.com. Once the page loads, display your DNS cache again. Copy the DNS entry for this website.

TRACERT: Finding Routes through the Internet

The TRACERT command will show you the IP addresses of computers in the route from your computer to another computer on the Internet. Many networks have disabled TRACERT for security reasons, so it doesn’t always work. Type TRACERT and the URL of a computer on the Internet and press enter. In Figure 5-26, you’ll see the route from my computer, through the Insight network, through the AT&T network, through the Level 3 network, and then through the Google network until it reaches the server. TRACERT usually sends three packets, so beside each hop is the total time to reach that hop for each of the three packets. You’ll see that it took just over 50 milliseconds for a packet to go from my computer to Google. You’ll also see that the times aren’t always “right,” in that the first packet took 50 milliseconds to reach the bbrl Washington Level 3 router (step 9) but only 40 milliseconds to reach the next hop to the car2 Washington Level 3 router (step 10). The time to each hop is measured separately, each with a different packet, so sometimes a packet is delayed longer on one hop or another.

Deliverables

Type tracert google.com in your comand window.

How many computers/hops did it take the packet to reach Google?

What was the shortest hop (in terms of time)? Why do you think this is the shortest hop?

Submission Requirements:  Please submit your assignment in a Word Document (.doc, .docx) file.  Insert your screenshots on the same document where you answer your questions.  You should not be submitting multiple documents for this assignment.

support
Whatsapp
callback
sales
sales chat
Whatsapp
callback
sales chat
close