>> Edit article
이름
제목
패스워드
처음에는 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