Changes between Version 1 and Version 2 of TipAndDoc/VM/network/ping
- Timestamp:
- Jun 25, 2009 9:07:35 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TipAndDoc/VM/network/ping
v1 v2 8 8 * 実機で追試が必要? 9 9 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 10 14 = パケットロスするケース = 11 15 == inner-BB -> router -> centos-outer -> WAN == … … 24 28 1 packets transmitted, 0 received, 100% packet loss, time 0ms 25 29 }}} 26 1. ubuntu-inner-BB: ~$ sudo tcpdump -p -n icmp -ieth030 1. ubuntu-inner-BB:eth0 27 31 {{{ 28 32 18:09:56.550982 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 29 33 }}} 30 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth234 1. ubuntu-router:eth2 31 35 {{{ 32 36 18:09:56.719082 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 33 37 }}} 34 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth038 1. ubuntu-router:eth0 35 39 {{{ 36 40 18:09:56.719179 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 37 41 }}} 38 1. centos-outer ~]$ sudo tcpdump -p -n icmp -ieth142 1. centos-outer:eth1 39 43 {{{ 40 44 18:09:56.864853 IP 10.2.0.10 > 10.0.0.20: ICMP echo request, id 45848, seq 1, length 64 41 45 }}} 42 1. centos-outer ~]$ sudo tcpdump -p -n icmp -ieth046 1. centos-outer:eth0 43 47 {{{ 44 48 18:09:56.865503 IP 10.0.0.20 > 10.2.0.10: ICMP echo reply, id 45848, seq 1, length 64 … … 56 60 1 packets transmitted, 0 received, 100% packet loss, time 0ms 57 61 }}} 58 1. centos-inner ~]$ sudo tcpdump -p -n icmp -ieth062 1. centos-inner:eth0 59 63 {{{ 60 64 20:07:51.313947 IP 192.168.50.110 > 10.0.0.10: ICMP echo request, id 44813, seq 1, length 64 … … 72 76 1 packets transmitted, 0 received, 100% packet loss, time 0ms 73 77 }}} 74 1. centos-outer ~]$ sudo tcpdump -p -n icmp -ieth078 1. centos-outer:eth0 75 79 {{{ 76 80 20:17:30.551763 IP 192.168.40.20 > 10.1.0.110: ICMP echo request, id 48141, seq 1, length 64 … … 92 96 1 packets transmitted, 0 received, 100% packet loss, time 0ms 93 97 }}} 94 1. ubuntu-outer: ~$ sudo tcpdump -p -n icmp -ieth198 1. ubuntu-outer:eth1 95 99 {{{ 96 100 20:29:41.465087 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 97 101 }}} 98 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth0102 1. ubuntu-router:eth0 99 103 {{{ 100 104 20:29:41.471692 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 101 105 }}} 102 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth1106 1. ubuntu-router:eth1 103 107 {{{ 104 108 20:29:41.481482 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 105 109 }}} 106 1. centos-inner ~]$ sudo tcpdump -p -n icmp -ieth1110 1. centos-inner:eth1 107 111 {{{ 108 112 20:29:41.437276 IP 10.0.0.10 > 10.1.0.110: ICMP echo request, id 31255, seq 1, length 64 109 113 }}} 110 1. centos-inner ~]$ sudo tcpdump -p -n icmp -ieth0114 1. centos-inner:eth0 111 115 {{{ 112 116 20:29:41.438220 IP 10.1.0.110 > 10.0.0.10: ICMP echo reply, id 31255, seq 1, length 64 … … 134 138 rtt min/avg/max/mdev = 10.017/10.017/10.017/0.000 ms 135 139 }}} 136 1. ubuntu-inner-BB: ~$ sudo tcpdump -p -n icmp -ieth0140 1. ubuntu-inner-BB:eth0 137 141 {{{ 138 142 18:04:53.003357 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 139 143 18:04:53.013360 IP 10.0.0.10 > 10.2.0.10: ICMP echo reply, id 35352, seq 1, length 64 140 144 }}} 141 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth2145 1. ubuntu-router:eth2 142 146 {{{ 143 147 18:04:53.180070 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 144 148 18:04:53.180372 IP 10.0.0.10 > 10.2.0.10: ICMP echo reply, id 35352, seq 1, length 64 145 149 }}} 146 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth0150 1. ubuntu-router:eth0 147 151 {{{ 148 152 18:04:53.180105 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 149 153 18:04:53.180366 IP 10.0.0.10 > 10.2.0.10: ICMP echo reply, id 35352, seq 1, length 64 150 154 }}} 151 1. ubuntu-outer: ~$ sudo tcpdump -p -n icmp -ieth1155 1. ubuntu-outer:eth1 152 156 {{{ 153 157 18:04:53.177594 IP 10.2.0.10 > 10.0.0.10: ICMP echo request, id 35352, seq 1, length 64 … … 176 180 rtt min/avg/max/mdev = 36.889/36.889/36.889/0.000 ms 177 181 }}} 178 1. ubuntu-outer: ~$ sudo tcpdump -p -n icmp -ieth1182 1. ubuntu-outer:eth1 179 183 {{{ 180 184 20:36:54.692467 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 181 185 20:36:54.712537 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 182 186 }}} 183 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth0187 1. ubuntu-router:eth0 184 188 {{{ 185 189 20:36:54.699054 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 186 190 20:36:54.718482 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 187 191 }}} 188 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth1192 1. ubuntu-router:eth1 189 193 {{{ 190 194 20:36:54.711750 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 191 195 }}} 192 1. ubuntu-inner-AB: ~$ sudo tcpdump -p -n icmp -ieth0196 1. ubuntu-inner-AB:eth0 193 197 {{{ 194 198 20:36:54.703190 IP 10.0.0.10 > 10.1.0.30: ICMP echo request, id 45847, seq 1, length 64 195 199 }}} 196 1. ubuntu-inner-AB: ~$ sudo tcpdump -p -n icmp -ieth1200 1. ubuntu-inner-AB:eth1 197 201 {{{ 198 202 20:36:54.706993 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 199 203 }}} 200 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth2204 1. ubuntu-router:eth2 201 205 {{{ 202 206 20:36:54.718451 IP 10.1.0.30 > 10.0.0.10: ICMP echo reply, id 45847, seq 1, length 64 … … 218 222 rtt min/avg/max/mdev = 25.532/25.532/25.532/0.000 ms 219 223 }}} 220 1. ubuntu-outer: ~$ sudo tcpdump -p -n icmp -ieth1224 1. ubuntu-outer:eth1 221 225 {{{ 222 226 20:14:02.893113 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 223 227 20:14:02.914912 IP 10.1.0.20 > 10.0.0.10: ICMP echo reply, id 60438, seq 1, length 64 224 228 }}} 225 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth0229 1. ubuntu-router:eth0 226 230 {{{ 227 231 20:14:02.900364 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 228 232 20:14:02.920840 IP 10.1.0.20 > 10.0.0.10: ICMP echo reply, id 60438, seq 1, length 64 229 233 }}} 230 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth1234 1. ubuntu-router:eth1 231 235 {{{ 232 236 20:14:02.900768 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 233 237 20:14:02.920824 IP 10.1.0.20 > 10.0.0.10: ICMP echo reply, id 60438, seq 1, length 64 234 238 }}} 235 1. ubuntu-inner-AA: ~$ sudo tcpdump -p -n icmp -ieth0239 1. ubuntu-inner-AA:eth0 236 240 {{{ 237 241 20:14:02.888999 IP 10.0.0.10 > 10.1.0.20: ICMP echo request, id 60438, seq 1, length 64 … … 251 255 rtt min/avg/max/mdev = 26.001/26.001/26.001/0.000 ms 252 256 }}} 253 1. ubuntu-outer: ~$ sudo tcpdump -p -n icmp -ieth1257 1. ubuntu-outer:eth1 254 258 {{{ 255 259 21:46:14.403188 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 256 260 21:46:14.419804 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 57113, seq 1, length 64 257 261 }}} 258 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth0262 1. ubuntu-router:eth0 259 263 {{{ 260 264 21:46:14.409977 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 261 265 21:46:14.424457 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 57113, seq 1, length 64 262 266 }}} 263 1. ubuntu-router: ~$ sudo tcpdump -p -n icmp -ieth2267 1. ubuntu-router:eth2 264 268 {{{ 265 269 21:46:14.423153 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 266 270 21:46:14.424369 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 57113, seq 1, length 64 267 271 }}} 268 1. ubuntu-inner-BB: ~$ sudo tcpdump -p -n icmp -ieth0272 1. ubuntu-inner-BB:eth0 269 273 {{{ 270 274 21:46:14.417399 IP 10.0.0.10 > 10.2.0.20: ICMP echo request, id 57113, seq 1, length 64 … … 294 298 1. 途中、eth1を切断してもpingは通り続けた 295 299 1. eth0を切断するとpacket lost 296 1. ubuntu-inner-BB: ~$ sudo tcpdump -p -n icmp -ieth0300 1. ubuntu-inner-BB:eth0 297 301 {{{ 298 302 22:07:09.562788 IP 10.2.0.20 > 10.0.0.10: ICMP echo reply, id 38682, seq 18, length 64 … … 309 313 }}} 310 314 * eth1をダウンさせても変わらず 311 1. ubuntu-inner-BB: ~$ sudo tcpdump -p -n icmp -ieth1315 1. ubuntu-inner-BB:eth1 312 316 {{{ 313 317 tcpdump: bind: Network is down