- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- odd ping behavior; host IP needs to be in quotes
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
11-01-2002 12:40 PM
11-01-2002 12:40 PM
odd ping behavior; host IP needs to be in quotes
24576 Nov 14 2000 /usr/sbin/ping
I have several other servers with the exact same configuration (patch level, etc.) that do not have this issue.
I can ping by hostname:
# ping localhost
PING localhost: 64 byte packets
64 bytes from 127.0.0.1: icmp_seq=0. time=0. ms
I cannot ping by ip address. I get 100% packet loss.
BUT I found that if i put the IP address in quotes then I can ping by ip address.
Anyone seen this?
This server is on a DMZ network. But I cannot see what that would have to do with it as I am not trying to route anything anywhere anyway, just ping myself. Also there are other servers on the DMZ whose network functions operate normally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:03 PM
11-01-2002 01:03 PM
Re: odd ping behavior; host IP needs to be in quotes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:15 PM
11-01-2002 01:15 PM
Re: odd ping behavior; host IP needs to be in quotes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:15 PM
11-01-2002 01:15 PM
Re: odd ping behavior; host IP needs to be in quotes
A. The ping command you are running is actually a wrapper and thus not the command you expect.
II. Your shell's IFS (Internal Field Separotor) has been 'improved' to include '.'.
echo ${IFS} | od -c
IFS should be space, tab, and LF by default.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:27 PM
11-01-2002 01:27 PM
Re: odd ping behavior; host IP needs to be in quotes
what happens if you give full path for ping, viz.
/usr/sbin/ping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 01:54 PM
11-01-2002 01:54 PM
Re: odd ping behavior; host IP needs to be in quotes
# echo ${IFS} | od -c
0000000 \n
0000001
I was doing the ping testing using the full path to the command so there are no aliases. It could be a wraper but then wouldn't that file size be a little bit dirrent?
It just dawned on me that traceroute did the same thing. I needed quotes to do a traceroute too! odd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2002 02:16 PM
11-01-2002 02:16 PM