Veerendra,

Mark bring up an interesting if annoying point.

Security zealots often turn off the ICMP service that supports ping.

One trick is to use the Google DNS server which is 8.8.8.8.

Try to ping 8.8.8.8
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=43 time=33.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=43 time=34.5 ms
<ctl c> to stop.

Put that in /etc/resolv.conf in the following fashion.

First make a backup of what you got!
cp  /etc/resolv.conf /etc/$(date +%F)_resolv.conf
# makes a date coded copy

Next Edit /etc/resolv.conf to look like this:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 8.8.8.8

Note we are disregarding the warning not to edit by hand.

The output of the three earlier commands would still be useful.

Regards,

Flint

On Thu, 4 Aug 2016, Mark Post wrote:

Date: Thu, 4 Aug 2016 13:01:58 -0600
From: Mark Post <mp...@suse.com>
Reply-To: Linux on 390 Port <LINUX-390@VM.MARIST.EDU>
To: LINUX-390@VM.MARIST.EDU
Subject: Re: zlinux suse12 cant ping hostname

On 8/4/2016 at 12:41 PM, Veerendra H <kumarsyste...@gmail.com> wrote:
Hi,

We have Suse12 installed on one of our zlinux systems. Cant get to ping the
host name of any servers but i can ping the IPs. i checked around on
/etc/sysconfig/network but didnt find a file to update to change the DNS
resolver.

I updated the /etc/resolv.conf with our domain name but still cant get this
working.

If you can ping an IP address, but not a host name, then clearly the problem is in name resolution. If you cannot ping the name server then that would likely be the cause of your problem (but not always if the network admins disabled ICMP). If you can ping the IP address of your name server then there may be a problem with a firewall or router somewhere. Try and see if you can telnet to port 53 on the name server.

Taking a different approach, you could try using YaST to configure this and see if things work better.

And also, which Suse doc helps in configuring and troubleshooting Suse12?
Please advise

https://www.suse.com/documentation/sles-12/index.html


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


Kindest Regards,



☮ Paul Flint
(802) 479-2360 Home
(802) 595-9365 Cell

/************************************
Based upon email reliability concerns,
please send an acknowledgement in response to this note.

Paul Flint
17 Averill Street
Barre, VT
05641

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to