Question

In: Computer Science

You are currently troubleshooting a networking issue. You have narrowed down the IP address that is...

  1. You are currently troubleshooting a networking issue. You have narrowed down the IP address that is causing the issue, but you need to know the host name of the computer. What command would give you this information?
  2. The internet browser is unable to find the host you are trying to reach. What command(s) should you use to try to rectify the situation?

Solutions

Expert Solution

The solution for the above problem is given below and if you feel any problem then feel free to ask.

Solution:-

Finding hostname in Windows :

If you want to know the hostname then you have to open the command line and enter the "hostname" command and it will give the host name of the computer you are working on.

And if you want to get the host name from a given IP address then you have to enter the "nslookup <ip>" command and it will give you the hostname that is bound with that IP address. Here the <ip> gets replaced by the IP whose hostname you want to find.

Now, finding hostname in Linux :

If you want to know the hostname on a Linux based system then you can also use "hostname" command in the Terminal and it will give you the present computer's host name on which you have entered the command.

And, if you want to know the hostname from the IP address of the system then you can use either "nslookup <ip>" or "host <ip>" commands and either of them will give you the hostname. In case of nslookup command the hostname is given in front of the "name =" label and in case of host command the hostname is given in the last of the data without any label. And also the <ip> part in both commands get replaced by the IP whose hostname you want to find.

If the internet browser is unable to find the hostname then you have to flush the domain name server by the following command in the terminal so that any problem in the file of DNS will get flushed also:

For flushing DNS the commands are as follows:

In Windows: ipconfig /flushdns

In Linux: sudo /etc/init.d/nscd restart


Related Solutions

A host (computer) with networking capabilities is assigned a MAC address AB1CD22EF33 and a public IP...
A host (computer) with networking capabilities is assigned a MAC address AB1CD22EF33 and a public IP address 192.92.21.5/24. The gate way is connected to your ISP with optic cables. The ISP public address is 16.12.11.253/30. The MAC address of your ISP is 112233ABCDEF. a. Explain why both a MAC and an IP address are assigned to a host in the network. b. Clearly differentiate between public & private Internet address. c. Explain the meaning of the CIDR address 196.92.21.5/24. d....
Given an IP address of 220.84.9.123 and a subnet mask of 255.255.255.240 Write down the address...
Given an IP address of 220.84.9.123 and a subnet mask of 255.255.255.240 Write down the address of the network, show your calculation. Write also the broadcast address 2. On a network with an IP address of 133.133.133.13 and a subnet mask of 255.255.248.0 what is the network ID?  Show your calculation.  Write also the broadcast address On a Class C network, you have a subnet mask of 255.255.255.192.   How many hosts per subnet do you have? On how many subnets was divided...
u are looking for a car and have narrowed it down to two options. You can...
u are looking for a car and have narrowed it down to two options. You can buy a new car at a cost of $23,995, which has estimated life of 12 years and annual maintenance costs of $750 per year. Your second option is a used car at a cost of $14,225, with an estimated remaining life of 7 years and annual maintenance costs of $1800 per year. Which is the cheaper option, given your borrowing cost of 7%?
Suppose you are considering purchasing a new car. You and your spouse have narrowed it down...
Suppose you are considering purchasing a new car. You and your spouse have narrowed it down to two choices: a. Sedan Initial Price: $27,300 Annual O&M: $4,456 Expected trade-in value after 5 years: $9,100 b. SUV Initial Price: $38,795 Annual O&M: $3,050 Expected trade-in value after 5 years: $18,544 If you intend to keep your new vehicle for 5 years, then trade it in, determine the net present value (NPV) of each alternative, assuming a discount rate of 4.0%. Which...
Suppose that you are thinking about buying a car and have narrowed down your choices to...
Suppose that you are thinking about buying a car and have narrowed down your choices to two options. The new car option: the new car costs $26,000 and can be financed with a four-year loan at 7.54%. The used car option: a three-year old model of the same car costs $14,000 and can be financed with a three-year loan at 7.07%. What is the difference in monthly payments between financing the new car and financing the used car? Use PMT...
If you have a network with 300 computers explain how you would setup an IP address...
If you have a network with 300 computers explain how you would setup an IP address scheme to meet the needs of the network (draw this if necessary) If you get a computer that has the wrong IP address and is assigned via DHCP how can you get a new address? Answer for command line and gui. What does it mean when you get a 169.x.x.x address?
Assume that we have a machine with IP Address 15.107.33.204 with netmask 255.255.255.240. Assume that you...
Assume that we have a machine with IP Address 15.107.33.204 with netmask 255.255.255.240. Assume that you manage a /11 address space, and that we have fully divided it up into child networks the size of the one on which this machine resides. How many useable subnets of this size can be created? How many useable addresses will be available on each of these subnets? List the IP addresses of the first three and last three of these useable subnets. Give...
If you have a computer, why would you want an IP address? Why would you want...
If you have a computer, why would you want an IP address? Why would you want a URL? Would you ever want both? Why? Detailed answer please.
What is the difference between IP and MAC address on a PC? What command would you...
What is the difference between IP and MAC address on a PC? What command would you type that will give you both IP and MAC information.
Your ISP has assigned you the following public IP address 196.92.16.64/28. Your router's address is 196.92.16.65/28....
Your ISP has assigned you the following public IP address 196.92.16.64/28. Your router's address is 196.92.16.65/28. (a) How many hosts can you assign a public address? (b) What will be the range of public addresses? (c) If you have 200 hosts of your network. Explain how you would provide Internet Access to all the host concurrently using NAT. (d) You have 26 hosts divided into 2 groups in your network. Explain how you would provide Internet access to all the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT