WebJul 20, 2016 · I setup 2 centos7 machines(A & B) with hostname and static ip address. logged into machine A. then tried to ping with hostname of machine A. it is pinging. … WebMar 2, 2006 · can ping ip but not hostname Linux - Networking This forum is for any issue related to networks or networking. Routing, network cards, OSI, etc. Anything is fair game. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest.
[Solved] Can only ping per IP but not per hostname in LAN - Arch Linux
WebNov 24, 2011 · Next thing I could suggest is verifying the shared libraries used by nslookup and by ping: this can be done by: - looking for the full paths to nslookup and ping: Code: which nslookup which ping. - then listing the shared libraries to check for problems: Code: ldd -v /path/to/nslookup ldd -v /path/to/ping. WebIf you are using windows machine to ping your linux machine: 1) Go to start and click on RUN or (windows+r) 2) Type drivers and hit enter 3) Navigate to etc folder and edit hosts file 4) Add the entry here like . Localhost entry which is added there will give you hint of how to add the entry. And it's done. simons family farm
networking - Unable to connect to a Linux Samba server via hostname on ...
WebMar 3, 2024 · It must be a DNS thing. If you can ping a numeric IP only DNS can be failing. Setting nameserver 8.8.8.8 in /etc/resolv.conf is sensible. But take into account … Web1. Some routers and Windows systems won't be able to connect via hostname. Your router may have a method of manually setting hostnames to a specific MAC or IP address, which could solve the problem. I solved the problem inserting next line in hosts file from Windows (for me, in Windows 7, this file is located in C:\Windows\System32\Drivers\etc ... WebJan 31, 2024 · They can ping the IP address, but not the host name of any server on the other side of the VPN. Now you have conflicting information. Above you say it can ping by IP, but here. BlastoZero wrote:. If you perform an nslookup of the IP address, it can resolve to the hostname. It just can't ping or connect to it. simons family tree