Changes between Version 1 and Version 2 of TipAndDoc/VM/network/ping


Ignore:
Timestamp:
Jun 25, 2009 9:07:35 PM (15 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/VM/network/ping

    v1 v2  
    88   * 実機で追試が必要? 
    99 
     10 * tcpdumpによるパケットキャプチャ 
     11   * sudo tcpdump -p -n icmp -i eth? 
     12   * ex) ubuntu-inner-BB:eth0 => ubuntu-inner-BB上の、「sudo tcpdump -p -n icmp -i eth0」によるパケットキャプチャ 
     13 
    1014 = パケットロスするケース = 
    1115 == inner-BB -> router -> centos-outer -> WAN == 
     
    24281 packets transmitted, 0 received, 100% packet loss, time 0ms 
    2529}}} 
    26    1. ubuntu-inner-BB:~$ sudo tcpdump -p -n icmp -i eth0 
     30   1. ubuntu-inner-BB:eth0 
    2731{{{ 
    283218:09:56.550982 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 
    2933}}} 
    30    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth2 
     34   1. ubuntu-router:eth2 
    3135{{{ 
    323618:09:56.719082 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 
    3337}}} 
    34    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth0 
     38   1. ubuntu-router:eth0 
    3539{{{ 
    364018:09:56.719179 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 
    3741}}} 
    38    1. centos-outer ~]$ sudo tcpdump -p -n icmp -i eth1 
     42   1. centos-outer:eth1 
    3943{{{ 
    404418:09:56.864853 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 
    4145}}} 
    42    1. centos-outer ~]$ sudo tcpdump -p -n icmp -i eth0 
     46   1. centos-outer:eth0 
    4347{{{ 
    444818:09:56.865503 IP 10.0.0.20 > 10.2.0.10: ICMP echo reply, id 45848, seq 1, length 64 
     
    56601 packets transmitted, 0 received, 100% packet loss, time 0ms 
    5761}}} 
    58    1. centos-inner ~]$ sudo tcpdump -p -n icmp -i eth0 
     62   1. centos-inner:eth0 
    5963{{{ 
    606420:07:51.313947 IP 192.168.50.110 > 10.0.0.10: ICMP echo request, id 44813, seq 1, length 64 
     
    72761 packets transmitted, 0 received, 100% packet loss, time 0ms 
    7377}}} 
    74    1. centos-outer ~]$ sudo tcpdump -p -n icmp -i eth0 
     78   1. centos-outer:eth0 
    7579{{{ 
    768020:17:30.551763 IP 192.168.40.20 > 10.1.0.110: ICMP echo request, id 48141, seq 1, length 64 
     
    92961 packets transmitted, 0 received, 100% packet loss, time 0ms 
    9397}}} 
    94    1. ubuntu-outer:~$ sudo tcpdump -p -n icmp -i eth1 
     98   1. ubuntu-outer:eth1 
    9599{{{ 
    9610020:29:41.465087 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 
    97101}}} 
    98    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth0 
     102   1. ubuntu-router:eth0 
    99103{{{ 
    10010420:29:41.471692 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 
    101105}}} 
    102    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth1 
     106   1. ubuntu-router:eth1 
    103107{{{ 
    10410820:29:41.481482 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 
    105109}}} 
    106    1. centos-inner ~]$ sudo tcpdump -p -n icmp -i eth1 
     110   1. centos-inner:eth1 
    107111{{{ 
    10811220:29:41.437276 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 
    109113}}} 
    110    1. centos-inner ~]$ sudo tcpdump -p -n icmp -i eth0 
     114   1. centos-inner:eth0 
    111115{{{ 
    11211620:29:41.438220 IP 10.1.0.110 > 10.0.0.10: ICMP echo reply, id 31255, seq 1, length 64 
     
    134138rtt min/avg/max/mdev = 10.017/10.017/10.017/0.000 ms 
    135139}}} 
    136    1. ubuntu-inner-BB:~$ sudo tcpdump -p -n icmp -i eth0 
     140   1. ubuntu-inner-BB:eth0 
    137141{{{ 
    13814218:04:53.003357 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 
    13914318:04:53.013360 IP 10.0.0.10 > 10.2.0.10: ICMP echo reply, id 35352, seq 1, length 64 
    140144}}} 
    141    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth2 
     145   1. ubuntu-router:eth2 
    142146{{{ 
    14314718:04:53.180070 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 
    14414818:04:53.180372 IP 10.0.0.10 > 10.2.0.10: ICMP echo reply, id 35352, seq 1, length 64 
    145149}}} 
    146    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth0 
     150   1. ubuntu-router:eth0 
    147151{{{ 
    14815218:04:53.180105 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 
    14915318:04:53.180366 IP 10.0.0.10 > 10.2.0.10: ICMP echo reply, id 35352, seq 1, length 64 
    150154}}} 
    151    1. ubuntu-outer:~$ sudo tcpdump -p -n icmp -i eth1 
     155   1. ubuntu-outer:eth1 
    152156{{{ 
    15315718:04:53.177594 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 
     
    176180rtt min/avg/max/mdev = 36.889/36.889/36.889/0.000 ms 
    177181}}} 
    178    1. ubuntu-outer:~$ sudo tcpdump -p -n icmp -i eth1 
     182   1. ubuntu-outer:eth1 
    179183{{{ 
    18018420:36:54.692467 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 
    18118520:36:54.712537 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 
    182186}}} 
    183    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth0 
     187   1. ubuntu-router:eth0 
    184188{{{ 
    18518920:36:54.699054 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 
    18619020:36:54.718482 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 
    187191}}} 
    188    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth1 
     192   1. ubuntu-router:eth1 
    189193{{{ 
    19019420:36:54.711750 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 
    191195}}} 
    192    1. ubuntu-inner-AB:~$ sudo tcpdump -p -n icmp -i eth0 
     196   1. ubuntu-inner-AB:eth0 
    193197{{{ 
    19419820:36:54.703190 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 
    195199}}} 
    196    1. ubuntu-inner-AB:~$ sudo tcpdump -p -n icmp -i eth1 
     200   1. ubuntu-inner-AB:eth1 
    197201{{{ 
    19820220:36:54.706993 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 
    199203}}} 
    200    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth2 
     204   1. ubuntu-router:eth2 
    201205{{{ 
    20220620:36:54.718451 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 
     
    218222rtt min/avg/max/mdev = 25.532/25.532/25.532/0.000 ms 
    219223}}} 
    220    1. ubuntu-outer:~$ sudo tcpdump -p -n icmp -i eth1 
     224   1. ubuntu-outer:eth1 
    221225{{{ 
    22222620:14:02.893113 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 
    22322720:14:02.914912 IP 10.1.0.20 > 10.0.0.10: ICMP echo reply, id 60438, seq 1, length 64 
    224228}}} 
    225    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth0 
     229   1. ubuntu-router:eth0 
    226230{{{ 
    22723120:14:02.900364 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 
    22823220:14:02.920840 IP 10.1.0.20 > 10.0.0.10: ICMP echo reply, id 60438, seq 1, length 64 
    229233}}} 
    230    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth1 
     234   1. ubuntu-router:eth1 
    231235{{{ 
    23223620:14:02.900768 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 
    23323720:14:02.920824 IP 10.1.0.20 > 10.0.0.10: ICMP echo reply, id 60438, seq 1, length 64 
    234238}}} 
    235    1. ubuntu-inner-AA:~$ sudo tcpdump -p -n icmp -i eth0 
     239   1. ubuntu-inner-AA:eth0 
    236240{{{ 
    23724120:14:02.888999 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 
     
    251255rtt min/avg/max/mdev = 26.001/26.001/26.001/0.000 ms 
    252256}}} 
    253    1. ubuntu-outer:~$ sudo tcpdump -p -n icmp -i eth1 
     257   1. ubuntu-outer:eth1 
    254258{{{ 
    25525921:46:14.403188 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 
    25626021:46:14.419804 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 57113, seq 1, length 64 
    257261}}} 
    258    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth0 
     262   1. ubuntu-router:eth0 
    259263{{{ 
    26026421:46:14.409977 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 
    26126521:46:14.424457 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 57113, seq 1, length 64 
    262266}}} 
    263    1. ubuntu-router:~$ sudo tcpdump -p -n icmp -i eth2 
     267   1. ubuntu-router:eth2 
    264268{{{ 
    26526921:46:14.423153 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 
    26627021:46:14.424369 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 57113, seq 1, length 64 
    267271}}} 
    268    1. ubuntu-inner-BB:~$ sudo tcpdump -p -n icmp -i eth0 
     272   1. ubuntu-inner-BB:eth0 
    269273{{{ 
    27027421:46:14.417399 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 
     
    294298   1. 途中、eth1を切断してもpingは通り続けた 
    295299   1. eth0を切断するとpacket lost 
    296    1. ubuntu-inner-BB:~$ sudo tcpdump -p -n icmp -i eth0 
     300   1. ubuntu-inner-BB:eth0 
    297301{{{ 
    29830222:07:09.562788 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 38682, seq 18, length 64 
     
    309313}}} 
    310314   * eth1をダウンさせても変わらず 
    311      1. ubuntu-inner-BB:~$ sudo tcpdump -p -n icmp -i eth1 
     315     1. ubuntu-inner-BB:eth1 
    312316{{{ 
    313317tcpdump: bind: Network is down