Skip to content

unable to ping

hello, I on an HPZ400 with an internal nic and a couple of wifi adapters. I am unable to ping internally and externally. I tried using ping -I (nic interface) cisco.com or an internal ip and it doesn't work. Any suggestions? thank you.

↳ ping -I enp1s0 cisco.com 126 ↵  4593  15:51:24

ping: invalid option -- '5'

Usage: ping [-aAbBdDfhLnOqrRUvV64] [-c count] [-i interval] [-I interface]

[-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos]

[-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option]

[-w deadline] [-W timeout] [hop1 ...] destination

Usage: ping -6 [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface]

[-l preload] [-m mark] [-M pmtudisc_option]

[-N nodeinfo_option] [-p pattern] [-Q tclass] [-s packetsize]

[-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline]

[-W timeout] destination

0 points19 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
ce4eu4

Author

5
posts
25
comments
2
media
View profile

19 comments

ping: invalid option -- '5'

Apparently you're using an invalid option. What's the output of ping -I enp1s0 cisco.com?

3 points

thanks for responding. what do you mean by invalid option?

Here's the output of ping -I enp1s0 cisco.com

ping: invalid option -- '5'

Usage: ping [-aAbBdDfhLnOqrRUvV64] [-c count] [-i interval] [-I interface]

[-m mark] [-M pmtudisc_option] [-l preload] [-p pattern] [-Q tos]

[-s packetsize] [-S sndbuf] [-t ttl] [-T timestamp_option]

[-w deadline] [-W timeout] [hop1 ...] destination

Usage: ping -6 [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I interface]

[-l preload] [-m mark] [-M pmtudisc_option]

[-N nodeinfo_option] [-p pattern] [-Q tclass] [-s packetsize]

[-S sndbuf] [-t ttl] [-T timestamp_option] [-w deadline]

[-W timeout] destination

1 points

It is failing because you supplied the command with the option '5' (which I do not see in your command). Are you sure you are typing EXACTLY 'ping -I enp1s0 cisco.com'?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.