>> Delete No. 38934 article
No. ping으로 path MTU discovery이용에 대한 질문

등록 2002-01-06 15:56:00 By localhost     조회 2
이름 이운락    

 처음에는 ping이 간단한 host진단 네트워크 프로그램인줄 알았는데
생각보다 복잡한 프로그램이더군요.
 ping으로 전송 할 수 있는 최적 패킷 크기를 알아보려고 path MTU discovery
를 적용 하려고 실행 했습니다.
 ping -c 5 -s 1472 -M do host
 PING www.xxx.xxx (xxx.xxx.xxx.xxx) from xxx.xxx.xxx.xxx : 1472(1500) bytes of data.
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=127 time=4.535 msec
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=127 time=4.535 msec (DUP!)
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=127 time=4.535 msec (DUP!)
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=127 time=4.535 msec (DUP!)
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=127 time=4.535 msec (DUP!)
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=127 time=4.535 msec (DUP!)
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp_seq=0 ttl=127 time=4.535 msec (DUP!)
1480 bytes from www.xxx.xxx (xxx.xxx.xxx.xxx): icmp
.....
생략
...
--- www.xxx.xx.xx ping statistics ---
5 packets transmitted, 5 packets received, +28 duplicates, 0% packet loss
round-trip min/avg/max/mdev = 4.598/28.063/53.904/13.976 ms
   그리고 윈도우에서는 조금 다르게 나옵니다.
Pinging www.xxx.xxx (xxx.xxx.xxx.xxx) with 1472 bytes of data:
 Reply from xxx.xxx.xxx.xxx: bytes=1472 time<10ms TTL=127
Reply from xxx.xxx.xxx.xxx: bytes=1472 time<10ms TTL=127
Reply from xxx.xxx.xxx.xxx: bytes=1472 time<10ms TTL=127
Reply from xxx.xxx.xxx.xxx: bytes=1472 time<10ms TTL=127
 Ping statistics for xxx.xxx.xxx.xxx:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum =  0ms, Average =  0ms
  진짜 정확한지는 잘 모르지만 1472가 최적의 패킷크기라는것을 알았는데
리눅스에서 실행한 결과를 보면 메세지 끝마다 (DUP!)라 되어있습니다.
이건 복제 되었다는 뜻이 맞는지요. 이건 무슨 뜻입니까?
 리눅스와 윈도우의 옵션이 다를뿐 같은 질의를 했는데 왜 결과가 다른지 모르겠습니다.
[관리자] 패스워드를 입력 하십시오. 답장이 존재하면 함께 삭제됩니다.[ 목록 | 이전 ]
패스워드:    

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved