Advertisement
gregmark

OpenStack or Bust, Part 10: ping/ssh to vm-01

Mar 21st, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.46 KB | None | 0 0
  1. root@kcon-cs-gen-01i:~# ping 50.50.1.2
  2. PING 50.50.1.2 (50.50.1.2) 56(84) bytes of data.
  3. 64 bytes from 50.50.1.2: icmp_req=13 ttl=63 time=20.8 ms
  4. 64 bytes from 50.50.1.2: icmp_req=14 ttl=63 time=0.742 ms
  5. 64 bytes from 50.50.1.2: icmp_req=15 ttl=63 time=0.653 ms
  6. 64 bytes from 50.50.1.2: icmp_req=16 ttl=63 time=0.711 ms
  7. 64 bytes from 50.50.1.2: icmp_req=17 ttl=63 time=0.647 ms
  8. 64 bytes from 50.50.1.2: icmp_req=18 ttl=63 time=0.475 ms
  9. 64 bytes from 50.50.1.2: icmp_req=19 ttl=63 time=0.570 ms
  10. 64 bytes from 50.50.1.2: icmp_req=20 ttl=63 time=0.707 ms
  11. 64 bytes from 50.50.1.2: icmp_req=21 ttl=63 time=0.525 ms
  12. 64 bytes from 50.50.1.2: icmp_req=22 ttl=63 time=0.565 ms
  13. 64 bytes from 50.50.1.2: icmp_req=23 ttl=63 time=0.448 ms
  14. 64 bytes from 50.50.1.2: icmp_req=24 ttl=63 time=0.557 ms
  15. 64 bytes from 50.50.1.2: icmp_req=25 ttl=63 time=0.585 ms
  16. 64 bytes from 50.50.1.2: icmp_req=26 ttl=63 time=0.590 ms
  17. 64 bytes from 50.50.1.2: icmp_req=27 ttl=63 time=0.556 ms
  18. ^C
  19. --- 50.50.1.2 ping statistics ---
  20. 27 packets transmitted, 15 received, 44% packet loss, time 26097ms
  21. rtt min/avg/max/mdev = 0.448/1.948/20.894/5.064 ms
  22.  
  23. ### Check out that 20-second lagtime before I got a ICMP reply.  Note, this was after about 2 hours after the last time I had pingged it.  Worrisome!
  24.  
  25.  
  26. ## Next try one minute later, latency normal
  27.  
  28. root@kcon-cs-gen-01i:~# ping 50.50.1.2
  29. PING 50.50.1.2 (50.50.1.2) 56(84) bytes of data.
  30. 64 bytes from 50.50.1.2: icmp_req=1 ttl=63 time=0.638 ms
  31. 64 bytes from 50.50.1.2: icmp_req=2 ttl=63 time=0.599 ms
  32. ^C
  33. --- 50.50.1.2 ping statistics ---
  34. 2 packets transmitted, 2 received, 0% packet loss, time 999ms
  35. rtt min/avg/max/mdev = 0.599/0.618/0.638/0.031 ms
  36.  
  37.  
  38. ### SSH to VM instance from controller node
  39.  
  40. root@kcon-cs-gen-01i:~# ssh 50.50.1.2 -l cirros
  41. cirros@50.50.1.2's password:
  42.  
  43. $ ip -o addr show
  44. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN \    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  45. 1: lo    inet 127.0.0.1/8 scope host lo
  46. 1: lo    inet6 ::1/128 scope host \       valid_lft forever preferred_lft forever
  47. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000\    link/ether fa:16:3e:93:58:92 brd ff:ff:ff:ff:ff:ff
  48. 2: eth0    inet 50.50.1.2/24 brd 50.50.1.255 scope global eth0
  49. 2: eth0    inet6 fe80::f816:3eff:fe93:5892/64 scope link tentative flags 08 \       valid_lft forever preferred_lft forever
  50.  
  51. $ ip -o route show
  52. default via 50.50.1.1 dev eth0
  53. 50.50.1.0/24 dev eth0  src 50.50.1.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement