ping이 작동할 때 "ping -vrf"가 작동하지 않는 이유는 무엇입니까?

ping이 작동할 때 "ping -vrf"가 작동하지 않는 이유는 무엇입니까?
0:root@SERVER:/root # ping IPADDRESS
PING IPADDRESS (IPADDRESS): 56 data bytes
64 bytes from IPADDRESS: icmp_seq=0 ttl=254 time=0 ms
64 bytes from IPADDRESS: icmp_seq=1 ttl=254 time=0 ms
64 bytes from IPADDRESS: icmp_seq=2 ttl=254 time=0 ms
^C
--- IPADDRESS ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0/0/0 ms
0:root@SERVER:/root # ping -vrf IPADDRESS
PING IPADDRESS (IPADDRESS): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote IPADDRESS 64 chars, ret=-1
.ping: sendto: Network is unreachable
ping: wrote IPADDRESS 64 chars, ret=-1
.ping: sendto: Network is unreachable
ping: wrote IPADDRESS 64 chars, ret=-1
.ping: sendto: Network is unreachable
ping: wrote IPADDRESS 64 chars, ret=-1
.ping: sendto: Network is unreachable
ping: wrote IPADDRESS 64 chars, ret=-1
.ping: sendto: Network is unreachable
ping: wrote IPADDRESS 64 chars, ret=-1
.ping: sendto: Network is unreachable

질문: IPADDRESS를 ping할 수 있는데 IPADDRESS를 "ping -vrf"할 수 없는 이유는 무엇입니까?

답변1

-r옵션 때문인거 같습니다 . 남성의 경우:

   -r     Bypass the normal routing tables and send directly to a host 
          on an attached interface.  If the host is not on a directly-
          attached network, an error is returned.  This option can be 
          used to ping a local host through an interface that has no 
          route through it provided the option -I is also used.

호스트를 네트워크에 직접 연결해야 합니다. 그렇지 않으면 질문처럼 실패할 것입니다.

관련 정보