- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ping problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 10:12 AM
07-17-2002 10:12 AM
ping problem
[wally:/] # domainname smc_nh
[wally:/] # domainname
smc_nh
[wally:/] # ping wally
nothing returns. But when I changed the domain name to anything at all, let say anything, I was able to ping.
[wally:/] # domainname anything
[wally:/] # domainname
anything
[wally:/] # ping wally
PING wally.xxxxxxxx.com: 64 byte packets
64 bytes from 172.xx.xx.xx: icmp_seq=0. time=1. ms
64 bytes from 172.xx.xx.xx: icmp_seq=1. time=0. ms
What's going on here?
Please help.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 10:17 AM
07-17-2002 10:17 AM
Re: ping problem
In the second case, the NIS master is not reachable and probably it is going through either hosts or DNS whatever you specified in your nsswitch.conf file.
If you are propating hosts database through NIS, then you may want to change the order in /etc/nsswitch.conf to make "files" to appear first for the hosts entry.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 11:06 AM
07-17-2002 11:06 AM
Re: ping problem
#more /etc/nsswitch.conf
hosts: dns [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] files[NOTFOUND
=return UNAVAIL=continue TRYAGAIN=return] files
In server C and wally, I don't have /etc/nsswitch.conf, but I have /etc/nsswitch.files
#more nsswitch.files
more nsswitch.files
#
# /etc/nsswitch.files:
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# does not use any name services.
#
passwd: files
group: files
hosts: files
services: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
How should I go from here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 12:07 PM
07-17-2002 12:07 PM
Re: ping problem
Do a nslookup with and without setting the domain name.
nslookup
> wally
> exit
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 12:14 PM
07-17-2002 12:14 PM
Re: ping problem
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 12:50 PM
07-17-2002 12:50 PM
Re: ping problem
I'd install arp patches just to be sure to be sure!
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2002 03:19 PM
07-17-2002 03:19 PM
Re: ping problem
The /etc/resolv.conf file will define search paths via the domain statement, and DNS servers, but it cannot do anything about /etc/hosts or NIS usage--that is the job for nsswitch.conf
See man switch
Bill Hassell, sysadmin