Advertisement
Guest User

Untitled

a guest
Nov 4th, 2011
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.00 KB | None | 0 0
  1. INSTANCES
  2. root@c3cloud:/home/localadmin# euca-describe-instances
  3. RESERVATION r-61vr8g2u c3cloud default
  4. INSTANCE i-00000014 ami-00000004 172.16.50.5 172.16.50.5 running mykey (c3cloud, c3cloud) 0 m1.tiny 2011-11-04T16:09:28Z nova aki-00000003 ami-00000000
  5. RESERVATION r-nf0l6m6n c3cloud default
  6. INSTANCE i-00000012 ami-00000004 10.0.0.227 172.16.50.3 running mykey (c3cloud, c3cloud) 0 m1.tiny 2011-11-04T15:50:17Z nova aki-00000003 ami-00000000
  7. RESERVATION r-t3h1aig6 c3cloud default
  8. INSTANCE i-00000015 ami-00000004 172.16.50.6 172.16.50.6 running mykey (c3cloud, c3compute1) 0 m1.tiny 2011-11-04T16:09:36Z nova aki-00000003 ami-00000000
  9. RESERVATION r-d00b12l8 c3cloud default
  10. INSTANCE i-00000016 ami-00000004 172.16.50.7 172.16.50.7 running mykey (c3cloud, c3compute1) 0 m1.tiny 2011-11-04T16:09:52Z nova aki-00000003 ami-00000000
  11. RESERVATION r-mt3mow3o c3cloud default
  12. INSTANCE i-00000013 ami-00000004 172.16.50.4 172.16.50.4 running mykey (c3cloud, c3cloud) 0 m1.tiny 2011-11-04T16:09:22Z nova aki-00000003 ami-00000000
  13.  
  14. ------
  15. Ping to a instance in the c3cloud compute node in private ip OK
  16. ------
  17.  
  18. root@c3cloud:/home/localadmin# ping 172.16.50.5
  19. PING 172.16.50.5 (172.16.50.5) 56(84) bytes of data.
  20. 64 bytes from 172.16.50.5: icmp_seq=1 ttl=64 time=0.449 ms
  21. ^C
  22. --- 172.16.50.5 ping statistics ---
  23. 1 packets transmitted, 1 received, 0% packet loss, time 0ms
  24. rtt min/avg/max/mdev = 0.449/0.449/0.449/0.000 ms
  25.  
  26. ------
  27. Ping to a instance in the c3cloud compute node in public ip OK
  28. ------
  29.  
  30. root@c3cloud:/home/localadmin# ping 10.0.0.227
  31. PING 10.0.0.227 (10.0.0.227) 56(84) bytes of data.
  32. 64 bytes from 10.0.0.227: icmp_seq=1 ttl=64 time=0.406 ms
  33. ^C
  34. --- 10.0.0.227 ping statistics ---
  35. 1 packets transmitted, 1 received, 0% packet loss, time 0ms
  36. rtt min/avg/max/mdev = 0.406/0.406/0.406/0.000 ms
  37.  
  38. ------
  39. Ping to a instance in the c3compute1 compute node in private ip FAIL
  40. ------
  41.  
  42. root@c3cloud:/home/localadmin# ping 172.16.50.6
  43. PING 172.16.50.6 (172.16.50.6) 56(84) bytes of data.
  44. From 172.16.50.1 icmp_seq=1 Destination Host Unreachable
  45. From 172.16.50.1 icmp_seq=2 Destination Host Unreachable
  46. From 172.16.50.1 icmp_seq=3 Destination Host Unreachable
  47. ^C
  48. --- 172.16.50.6 ping statistics ---
  49. 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3006ms
  50. , pipe 4
  51.  
  52. ------
  53. IFCONFIG
  54. ------
  55.  
  56. root@c3cloud:/home/localadmin# ifconfig
  57. br100 Link encap:Ethernet HWaddr 02:16:3e:36:4f:18
  58. inet addr:172.16.50.1 Bcast:172.16.50.255 Mask:255.255.255.0
  59. inet6 addr: fe80::f46d:d9ff:fe1b:7e7c/64 Scope:Link
  60. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  61. RX packets:892 errors:0 dropped:0 overruns:0 frame:0
  62. TX packets:930 errors:0 dropped:0 overruns:0 carrier:0
  63. collisions:0 txqueuelen:0
  64. RX bytes:97235 (97.2 KB) TX bytes:130878 (130.8 KB)
  65.  
  66. eth0 Link encap:Ethernet HWaddr 00:25:90:06:25:6c
  67. inet addr:10.0.0.254 Bcast:10.0.0.255 Mask:255.255.255.0
  68. inet6 addr: fe80::225:90ff:fe06:256c/64 Scope:Link
  69. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  70. RX packets:25589 errors:0 dropped:0 overruns:0 frame:0
  71. TX packets:5881 errors:0 dropped:0 overruns:0 carrier:0
  72. collisions:0 txqueuelen:100
  73. RX bytes:3156317 (3.1 MB) TX bytes:918773 (918.7 KB)
  74. Memory:fb5e0000-fb600000
  75.  
  76. eth1 Link encap:Ethernet HWaddr 00:25:90:06:25:6d
  77. inet addr:192.168.1.254 Bcast:192.168.255.255 Mask:255.255.255.0
  78. inet6 addr: fe80::225:90ff:fe06:256d/64 Scope:Link
  79. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  80. RX packets:20687 errors:0 dropped:0 overruns:0 frame:0
  81. TX packets:16300 errors:0 dropped:0 overruns:0 carrier:0
  82. collisions:0 txqueuelen:1000
  83. RX bytes:8250279 (8.2 MB) TX bytes:9979473 (9.9 MB)
  84. Memory:fb6e0000-fb700000
  85.  
  86. lo Link encap:Local Loopback
  87. inet addr:127.0.0.1 Mask:255.0.0.0
  88. inet6 addr: ::1/128 Scope:Host
  89. UP LOOPBACK RUNNING MTU:16436 Metric:1
  90. RX packets:81972 errors:0 dropped:0 overruns:0 frame:0
  91. TX packets:81972 errors:0 dropped:0 overruns:0 carrier:0
  92. collisions:0 txqueuelen:0
  93. RX bytes:66863420 (66.8 MB) TX bytes:66863420 (66.8 MB)
  94.  
  95. virbr0 Link encap:Ethernet HWaddr 56:43:6c:eb:2a:ce
  96. inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
  97. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  98. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  99. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  100. collisions:0 txqueuelen:0
  101. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  102.  
  103. vlan100 Link encap:Ethernet HWaddr 02:16:3e:36:4f:18
  104. inet6 addr: fe80::16:3eff:fe36:4f18/64 Scope:Link
  105. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  106. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  107. TX packets:46 errors:0 dropped:2 overruns:0 carrier:0
  108. collisions:0 txqueuelen:0
  109. RX bytes:0 (0.0 B) TX bytes:4716 (4.7 KB)
  110.  
  111. vnet0 Link encap:Ethernet HWaddr fe:16:3e:50:21:3e
  112. inet6 addr: fe80::fc16:3eff:fe50:213e/64 Scope:Link
  113. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  114. RX packets:493 errors:0 dropped:0 overruns:0 frame:0
  115. TX packets:563 errors:0 dropped:0 overruns:0 carrier:0
  116. collisions:0 txqueuelen:500
  117. RX bytes:69093 (69.0 KB) TX bytes:76252 (76.2 KB)
  118.  
  119. vnet1 Link encap:Ethernet HWaddr fe:16:3e:1e:ea:ad
  120. inet6 addr: fe80::fc16:3eff:fe1e:eaad/64 Scope:Link
  121. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  122. RX packets:199 errors:0 dropped:0 overruns:0 frame:0
  123. TX packets:202 errors:0 dropped:0 overruns:0 carrier:0
  124. collisions:0 txqueuelen:500
  125. RX bytes:20404 (20.4 KB) TX bytes:30417 (30.4 KB)
  126.  
  127. vnet2 Link encap:Ethernet HWaddr fe:16:3e:05:cc:bd
  128. inet6 addr: fe80::fc16:3eff:fe05:ccbd/64 Scope:Link
  129. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  130. RX packets:200 errors:0 dropped:0 overruns:0 frame:0
  131. TX packets:194 errors:0 dropped:0 overruns:0 carrier:0
  132. collisions:0 txqueuelen:500
  133. RX bytes:20226 (20.2 KB) TX bytes:28363 (28.3 KB)
  134.  
  135. ------
  136. ROUTE INFORMATION
  137. ------
  138.  
  139. root@c3cloud:/home/localadmin# route
  140. Kernel IP routing table
  141. Destination Gateway Genmask Flags Metric Ref Use Iface
  142. 10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
  143. 172.16.50.0 * 255.255.255.0 U 0 0 0 br100
  144. 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1
  145. 192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
  146. default 10.0.0.1 0.0.0.0 UG 100 0 0 eth0
  147.  
  148. ------
  149. IPTABLES INFORMATION
  150. ------
  151.  
  152. root@c3cloud:/home/localadmin# iptables -t nat -L -v
  153. Chain PREROUTING (policy ACCEPT 223 packets, 40742 bytes)
  154. pkts bytes target prot opt in out source destination
  155. 223 40742 nova-network-PREROUTING all -- any any anywhere anywhere
  156. 223 40742 nova-compute-PREROUTING all -- any any anywhere anywhere
  157.  
  158. Chain POSTROUTING (policy ACCEPT 81 packets, 5443 bytes)
  159. pkts bytes target prot opt in out source destination
  160. 84 5695 nova-network-POSTROUTING all -- any any anywhere anywhere
  161. 81 5443 nova-compute-POSTROUTING all -- any any anywhere anywhere
  162. 0 0 MASQUERADE tcp -- any any 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  163. 0 0 MASQUERADE udp -- any any 192.168.122.0/24 !192.168.122.0/24 masq ports: 1024-65535
  164. 0 0 MASQUERADE all -- any any 192.168.122.0/24 !192.168.122.0/24
  165. 81 5443 nova-postrouting-bottom all -- any any anywhere anywhere
  166.  
  167. Chain OUTPUT (policy ACCEPT 83 packets, 5611 bytes)
  168. pkts bytes target prot opt in out source destination
  169. 84 5695 nova-network-OUTPUT all -- any any anywhere anywhere
  170. 83 5611 nova-compute-OUTPUT all -- any any anywhere anywhere
  171.  
  172. Chain nova-compute-OUTPUT (1 references)
  173. pkts bytes target prot opt in out source destination
  174.  
  175. Chain nova-compute-POSTROUTING (1 references)
  176. pkts bytes target prot opt in out source destination
  177.  
  178. Chain nova-compute-PREROUTING (1 references)
  179. pkts bytes target prot opt in out source destination
  180.  
  181. Chain nova-compute-floating-snat (1 references)
  182. pkts bytes target prot opt in out source destination
  183.  
  184. Chain nova-compute-snat (1 references)
  185. pkts bytes target prot opt in out source destination
  186. 81 5443 nova-compute-floating-snat all -- any any anywhere anywhere
  187.  
  188. Chain nova-network-OUTPUT (1 references)
  189. pkts bytes target prot opt in out source destination
  190. 1 84 DNAT all -- any any anywhere 10.0.0.227 to:172.16.50.3
  191. 0 0 DNAT udp -- any any anywhere 10.0.0.254 udp dpt:1000 to:172.16.50.2:1194
  192.  
  193. Chain nova-network-POSTROUTING (1 references)
  194. pkts bytes target prot opt in out source destination
  195. 0 0 ACCEPT all -- any any 172.16.0.0/12 10.128.0.0/24
  196. 3 252 ACCEPT all -- any any 172.16.0.0/12 172.16.0.0/12
  197.  
  198. Chain nova-network-PREROUTING (1 references)
  199. pkts bytes target prot opt in out source destination
  200. 0 0 DNAT tcp -- any any anywhere 169.254.169.254 tcp dpt:www to:10.0.0.254:8443
  201. 0 0 DNAT all -- any any anywhere 10.0.0.227 to:172.16.50.3
  202. 0 0 DNAT udp -- any any anywhere 10.0.0.254 udp dpt:1000 to:172.16.50.2:1194
  203.  
  204. Chain nova-network-floating-snat (1 references)
  205. pkts bytes target prot opt in out source destination
  206. 0 0 SNAT all -- any any 172.16.50.3 anywhere to:10.0.0.227
  207.  
  208. Chain nova-network-snat (1 references)
  209. pkts bytes target prot opt in out source destination
  210. 81 5443 nova-network-floating-snat all -- any any anywhere anywhere
  211. 0 0 SNAT all -- any any 172.16.0.0/12 anywhere to:10.0.0.254
  212.  
  213. Chain nova-postrouting-bottom (1 references)
  214. pkts bytes target prot opt in out source destination
  215. 81 5443 nova-network-snat all -- any any anywhere anywhere
  216. 81 5443 nova-compute-snat all -- any any anywhere anywhere
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement