4220_JonathanCine_lab_TCPIP Command

docx

School

Florida Atlantic University *

*We aren’t endorsed by this school

Course

4220

Subject

Computer Science

Date

Dec 6, 2023

Type

docx

Pages

7

Uploaded by JudgeLeopardMaster963

Report
ISM4220, ISM6225 Lab Assignment 2. TCP/IP Command DELIVERABLE Electronic file: 4220_yourname_lab_TCPIP Command.doc Submit your file(s) through Canvas before the due date. Late submission penalty will be applied. Project 1: Using the ‘ipconfig’ Command The TCP/IP command used to test communication over IP to another host via sending out an echo request is ping. Ping Verifies IP-level connectivity to another TCP/IP computer by sending Internet Control Message Protocol (ICMP) Echo Request messages. The receipt of corresponding Echo Reply messages are displayed, along with round-trip times. Ping is the primary TCP/IP command used to troubleshoot connectivity, reachability, and name resolution. 1. First obtain the TCP/IP configuration of a computer by opening Command Prompt, and then typing ‘ipconfig.’ 2. This time, type ‘ipconfig /all’ 3. Fill out the following blanks by finding the information about a network you are using. Physical address (MAC address): EC-2E-98-51-5B-23 that's the address embedded in your network card, analogous to your VIN on your car. IP address: 10.13.229.141 the IP address is changeable, unlike the MAC address. Subnet Mask address: 255.255.2240 the subnet mask number tells your computer whether it is located on a subnetwork, a part of a larger network. Default Gateway: 10.13.224.5 That's the computer or router that connect to the rest of the world, outside your subnet or LAN. IP address of the DHCP server: 131.91.129.19 That's the computer that issues IP addresses to any computer that is powered up. When was the lease for the IP address obtained: Monday, September 4, 2023 2:49:51 AM When will the lease expire: Thursday September 7, 2023 5:15:44 PM For Mac Users, how to open Terminal on Mac. Instead of Command Prompt, you need to run Terminal on your Mac laptop for this project. The Terminal app is in the Utilities folder in Applications. To open it, open your Finder, and then Applications folder, then open Utilities and double-click on Terminal. Project 2: Using the ‘ping’ Command Copyright © 2020. May not be copied, scanned, or posted, in whole or in part, except for use with the written permission.
ISM4220, ISM6225 1. Type ‘ipconfig.’ From the display of the ipconfig command, ensure that the network adapter for the TCP/IP configuration you are testing is not in a Media disconnected state. 2. At the command prompt, ping the loopback address by typing ‘ping yahoo.com.’ What is IP address of www.yahoo.com ? Please find the IP address from the result of Ping command. Take a screenshot of result and paste it here. 3. You can use ping to test both the computer name and the IP address of the computer. If pinging the IP address is successful, but pinging the computer name is not, you might have a name resolution problem. In this case, ensure that the computer name you are specifying can be resolved through the local Hosts file, by using Domain Name System (DNS) queries, or through NetBIOS name resolution techniques. 4. Ping the IP address of www.yahoo.com , the answer of Q1. (ex. Ping 192.111.1.1). Take a screenshot of result and paste it here. Copyright © 2020. May not be copied, scanned, or posted, in whole or in part, except for use with the written permission.
ISM4220, ISM6225 5. Ping yahoo.com -4. Take a screenshot of result and paste it here. Ping the IP address of a remote host (a host that is on a different subnet). If the ping command fails, verify that the remote host IP address is correct, that the remote host is operational, and that all of the gateways (routers) between this computer and the remote host are operational. Copyright © 2020. May not be copied, scanned, or posted, in whole or in part, except for use with the written permission.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
ISM4220, ISM6225 Ping the IP address of the DNS server. If the ping command fails, verify that the DNS server IP address is correct, that the DNS server is operational, and that all of the gateways (routers) between this computer and the DNS server are operational. 6. Type Pathping www.yahoo.com . How many hops (stops) in the path can you find the data packet travel from the result of pathping? 14 Hops Take a screenshot of result and paste it here. Project 3: Using the ‘netstat’ Command 1. Explain about ‘port’ in computer networking (Max 5 sentences) ? In computer networking, a port is a number assigned to uniquely identify a connection endpoint and to direct data to a specific service. At the software level, within an operating system, a port is a logical construct that identifies a specific process or a type of network service. The TCP/IP command used to gather information about open ports on a computer is netstat. By default, netstat shows all the open ports on the local computer and the ports on remote computers that they are connected to. The first output in Figure 1 shows the use of netstat to list open ports on the local computer. We see three open ports. The various options available with netstat can be seen using the DOS help for Copyright © 2020. May not be copied, scanned, or posted, in whole or in part, except for use with the written permission.
ISM4220, ISM6225 netstat using the command netstat /? . Without any options, netstat shows the network connections open on the computer. The –n option shows IP addresses instead of computer names. Netstat can be used to infer how networked applications work. For example, we can use netstat to see the connections opened by web browsers to display web pages. An example is shown in Figure 1, which shows a second invocation of netstat a few seconds after the first call to netstat. The main activity performed during this interval was a visit to the home page of St. Thomas University, ( www.stu.edu ). From a comparison of the first two outputs of netstat, we see that the visit to www.stu.edu opened five ports on the local computer. These ports allow the browser to quickly gather all the different pieces of information required to assemble the web page from different sources on the Internet. Netstat has an option, -f, to view the URLs of the remote computers. This option is handy to identify the remote computers. <Figure 1> 2. Based on the output of netstat on your computer, answer the following question. What is the port number of the first IP address row? 49897 Take a screenshot of result and paste it here. Copyright © 2020. May not be copied, scanned, or posted, in whole or in part, except for use with the written permission.
ISM4220, ISM6225 4. Run netstat -r . What does the opion ‘-r’ mean? -r shows the routing table (i.e., take a screenshot of result and paste it here) . Copyright © 2020. May not be copied, scanned, or posted, in whole or in part, except for use with the written permission.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
ISM4220, ISM6225 For Mac Users, how to run Terminal as an administrator on Mac. Use this link: https://www.lifewire.com/using-netstat-command-on-mac-4176069 , for a refence. In order to run as an administrator, it's located at /usr/bin/gnome-terminal and can be run with the Run sudo -H gnome-terminal from the original non-root graphical terminal. Enter your password as prompted by sudo. The graphical terminal will start. Copyright © 2020. May not be copied, scanned, or posted, in whole or in part, except for use with the written permission.