Solved

Linux Server not pinging through its hostname

Posted on 2015-01-07
5
230 Views
Last Modified: 2015-01-08
Hi ,

I created a new VM for RHEL 6.4, configured the hostname and Ip address onto the configuration file. Able to ping the IP from inside the server and outside the server but unable to ping server name outside the server but able to do the same within the server.

Please Suggest!
0
Comment
Question by:Techie solution
5 Comments
 
LVL 76

Expert Comment

by:arnold
Comment Utility
Your VM is likely feither does not have an external IP (natted by host) connection or has firewall /iptables blocking ICMP packets.
To confirm, double check the VMs network setting to make sure it is not Natted by the host.
Second check whether IPtables is running on this system.
Can the host ping the VM?
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
Where would a computer outside your server be able to lookup the hostname to get the IP address?  Is it registered in DNS somewhere?
0
 
LVL 23

Expert Comment

by:savone
Comment Utility
You need to either create a forward A record for your server in your networks DNS, or add an entry to a host file on the outside computer.  

Obviously DNS is the preferred method.
0
 
LVL 11

Expert Comment

by:andreas
Comment Utility
I think you didnt setup a dns record for the server. the internal ping for the hostname is working as its using he hostsfile. for outside pings to the name the system needs to be registered at your organisations DNS server.

So a

nslookup IP  
of the Server shows the correct hostname.
0
 

Author Comment

by:Techie solution
Comment Utility
Thank You All!

I just created the Host Record in Forward and Reverse Lookup Zone of DNS, it worked.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now