Issue with Ping command on newly setup Network - "Bad value for option -c"

Hi Champs, so after I create network, and have other member joining the network, when I try to Ping other IP address, the following error “Bad value for option -c” pop up. I have checked the firewall even exit the anti-virus software but same error still occurs. Any one have experience on resolve this error? Thanks.

Unrelated to ZeroTier. Run the command without arguments and read the output.

Hi Andrew - Thanks, sorry what is arguments?

I have no idea with a “routing compartment identifier” is, but that’s what the “-c” argument is for according to the command help. Remove the “-c 5” from the command and try again

PS C:\Users\grant> ping /?

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
            [-r count] [-s count] [[-j host-list] | [-k host-list]]
            [-w timeout] [-R] [-S srcaddr] [-c compartment] [-p]
            [-4] [-6] target_name

Options:
    -t             Ping the specified host until stopped.
                   To see statistics and continue - type Control-Break;
                   To stop - type Control-C.
    -a             Resolve addresses to hostnames.
    -n count       Number of echo requests to send.
    -l size        Send buffer size.
    -f             Set Don't Fragment flag in packet (IPv4-only).
    -i TTL         Time To Live.
    -v TOS         Type Of Service (IPv4-only. This setting has been deprecated
                   and has no effect on the type of service field in the IP
                   Header).
    -r count       Record route for count hops (IPv4-only).
    -s count       Timestamp for count hops (IPv4-only).
    -j host-list   Loose source route along host-list (IPv4-only).
    -k host-list   Strict source route along host-list (IPv4-only).
    -w timeout     Timeout in milliseconds to wait for each reply.
    -R             Use routing header to test reverse route also (IPv6-only).
                   Per RFC 5095 the use of this routing header has been
                   deprecated. Some systems may drop echo requests if
                   this header is used.
    -S srcaddr     Source address to use.
    -c compartment Routing compartment identifier.
    -p             Ping a Hyper-V Network Virtualization provider address.
    -4             Force using IPv4.
    -6             Force using IPv6.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.