Advertisement
dev29aug

Untitled

Apr 29th, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.86 KB | None | 0 0
  1. Router IP: 10.129.51.180
  2. VM Floating IP: 10.129.51.181
  3. OpenStack Host IP: 10.129.55.192
  4. Router internal interface IP: 10.0.0.1
  5. Router External Gateway IP: 10.129.51.180
  6. Public subnet: 10.129.40.0/20
  7. allocation-pool=start=10.129.51.180,end=10.129.51.189
  8. gateway=10.129.63.253
  9. ================================================================================================================
  10. [root@CentOS64 ~(keystone_admin)]# ip netns
  11. qrouter-675192fb-093a-4883-a12d-bcbbbe512db8
  12. qdhcp-606683bc-3237-4fc5-8dd7-fdd8d075e859
  13. ================================================================================================================
  14. [root@CentOS64 ~(keystone_admin)]# ip netns exec qdhcp-606683bc-3237-4fc5-8dd7-fdd8d075e859 ping -c 1 10.0.0.1
  15. PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
  16. 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.417 ms
  17. ================================================================================================================
  18. [root@CentOS64 ~(keystone_admin)]# ip netns exec qdhcp-606683bc-3237-4fc5-8dd7-fdd8d075e859 route -n
  19. Kernel IP routing table
  20. Destination Gateway Genmask Flags Metric Ref Use Iface
  21. 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 tap06b541a2-9e
  22. 0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 tap06b541a2-9e
  23. ================================================================================================================
  24. [root@CentOS64 ~(keystone_admin)]# ip netns exec qdhcp-606683bc-3237-4fc5-8dd7-fdd8d075e859 ping -c 1 10.129.51.180
  25. PING 10.129.51.180 (10.129.51.180) 56(84) bytes of data.
  26. From 10.0.0.1 icmp_seq=1 Destination Net Unreachable
  27. ================================================================================================================
  28. [root@CentOS64 ~(keystone_admin)]# ip netns exec qrouter-675192fb-093a-4883-a12d-bcbbbe512db8 route -n
  29. Kernel IP routing table
  30. Destination Gateway Genmask Flags Metric Ref Use Iface
  31. 10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-8c704e3f-d5
  32. ================================================================================================================
  33. [root@CentOS64 ~(keystone_admin)]# ip netns exec qdhcp-606683bc-3237-4fc5-8dd7-fdd8d075e859 ip a
  34. 12: tap06b541a2-9e: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  35. link/ether fa:16:3e:90:71:af brd ff:ff:ff:ff:ff:ff
  36. inet 10.0.0.2/24 brd 10.0.0.255 scope global tap06b541a2-9e
  37. 13: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  38. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  39. inet 127.0.0.1/8 scope host lo
  40.  
  41. ================================================================================================================
  42. [root@CentOS64 ~(keystone_admin)]# ip netns exec qrouter-675192fb-093a-4883-a12d-bcbbbe512db8 ip a
  43. 11: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  44. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  45. inet 127.0.0.1/8 scope host lo
  46. 14: qr-8c704e3f-d5: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  47. link/ether fa:16:3e:d7:9a:f6 brd ff:ff:ff:ff:ff:ff
  48. inet 10.0.0.1/24 brd 10.0.0.255 scope global qr-8c704e3f-d5
  49. ================================================================================================================
  50. [root@CentOS64 ~(keystone_admin)]# ip netns exec qrouter-675192fb-093a-4883-a12d-bcbbbe512db8 ping 10.129.51.181
  51. connect: Network is unreachable
  52. ================================================================================================================
  53.  
  54.  
  55. [root@CentOS64 ~(keystone_admin)]# ovs-vsctl show
  56. 786a1f14-cf23-4c39-a8c2-93506a8495bb
  57. Bridge br-int
  58. Port "qr-8c704e3f-d5"
  59. tag: 1
  60. Interface "qr-8c704e3f-d5"
  61. type: internal
  62. Port "qvo885629a1-87"
  63. tag: 1
  64. Interface "qvo885629a1-87"
  65. Port br-int
  66. Interface br-int
  67. type: internal
  68. Port "tap06b541a2-9e"
  69. tag: 1
  70. Interface "tap06b541a2-9e"
  71. type: internal
  72. Bridge br-ex
  73. Port br-ex
  74. Interface br-ex
  75. type: internal
  76. Port "eth0"
  77. Interface "eth0"
  78. ovs_version: "1.11.0"
  79.  
  80. ================================================================================================================
  81. [root@CentOS64 ~(keystone_admin)]# ovs-dpctl show
  82. system@ovs-system:
  83. lookups: hit:4507067 missed:1540177 lost:0
  84. flows: 258
  85. port 0: ovs-system (internal)
  86. port 1: br-ex (internal)
  87. port 2: tap06b541a2-9e (internal)
  88. port 3: br-int (internal)
  89. port 4: qr-8c704e3f-d5 (internal)
  90. port 5: eth0
  91. port 7: qvo885629a1-87
  92. ================================================================================================================
  93.  
  94. [root@CentOS64 ~(keystone_admin)]# ifconfig -a
  95. br-ex Link encap:Ethernet HWaddr 00:50:56:86:05:B7
  96. inet addr:10.129.55.192 Bcast:10.129.63.255 Mask:255.255.240.0
  97. UP BROADCAST RUNNING MTU:1500 Metric:1
  98. RX packets:2777152 errors:0 dropped:0 overruns:0 frame:0
  99. TX packets:40063 errors:0 dropped:0 overruns:0 carrier:0
  100. collisions:0 txqueuelen:0
  101. RX bytes:276346543 (263.5 MiB) TX bytes:10576792 (10.0 MiB)
  102.  
  103. br-int Link encap:Ethernet HWaddr 2A:8B:D4:A3:A8:4F
  104. UP BROADCAST RUNNING MTU:1500 Metric:1
  105. RX packets:20 errors:0 dropped:0 overruns:0 frame:0
  106. TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
  107. collisions:0 txqueuelen:0
  108. RX bytes:1676 (1.6 KiB) TX bytes:90 (90.0 b)
  109.  
  110. eth0 Link encap:Ethernet HWaddr 00:50:56:86:05:B7
  111. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  112. RX packets:6189819 errors:0 dropped:0 overruns:0 frame:0
  113. TX packets:54387 errors:0 dropped:0 overruns:0 carrier:0
  114. collisions:0 txqueuelen:1000
  115. RX bytes:612400723 (584.0 MiB) TX bytes:14418860 (13.7 MiB)
  116.  
  117. lo Link encap:Local Loopback
  118. inet addr:127.0.0.1 Mask:255.0.0.0
  119. UP LOOPBACK RUNNING MTU:16436 Metric:1
  120. RX packets:3334799 errors:0 dropped:0 overruns:0 frame:0
  121. TX packets:3334799 errors:0 dropped:0 overruns:0 carrier:0
  122. collisions:0 txqueuelen:0
  123. RX bytes:1006519742 (959.8 MiB) TX bytes:1006519742 (959.8 MiB)
  124.  
  125. ovs-system Link encap:Ethernet HWaddr 1E:A8:9F:0D:83:37
  126. BROADCAST MULTICAST MTU:1500 Metric:1
  127. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  128. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  129. collisions:0 txqueuelen:0
  130. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  131.  
  132. qbr885629a1-87 Link encap:Ethernet HWaddr 22:39:0C:E6:62:71
  133. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  134. RX packets:16 errors:0 dropped:0 overruns:0 frame:0
  135. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  136. collisions:0 txqueuelen:0
  137. RX bytes:1236 (1.2 KiB) TX bytes:0 (0.0 b)
  138.  
  139. qvb885629a1-87 Link encap:Ethernet HWaddr 22:39:0C:E6:62:71
  140. UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
  141. RX packets:100 errors:0 dropped:0 overruns:0 frame:0
  142. TX packets:140 errors:0 dropped:0 overruns:0 carrier:0
  143. collisions:0 txqueuelen:1000
  144. RX bytes:10849 (10.5 KiB) TX bytes:13544 (13.2 KiB)
  145.  
  146. qvo885629a1-87 Link encap:Ethernet HWaddr 2A:E2:CA:AB:5B:03
  147. UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
  148. RX packets:140 errors:0 dropped:0 overruns:0 frame:0
  149. TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
  150. collisions:0 txqueuelen:1000
  151. RX bytes:13544 (13.2 KiB) TX bytes:10849 (10.5 KiB)
  152.  
  153. tap885629a1-87 Link encap:Ethernet HWaddr FE:16:3E:58:23:EF
  154. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  155. RX packets:140 errors:0 dropped:0 overruns:0 frame:0
  156. TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
  157. collisions:0 txqueuelen:500
  158. RX bytes:13544 (13.2 KiB) TX bytes:11017 (10.7 KiB)
  159.  
  160. virbr0 Link encap:Ethernet HWaddr 52:54:00:3B:B8:8D
  161. inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
  162. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  163. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  164. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  165. collisions:0 txqueuelen:0
  166. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
  167.  
  168. virbr0-nic Link encap:Ethernet HWaddr 52:54:00:3B:B8:8D
  169. BROADCAST MULTICAST MTU:1500 Metric:1
  170. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  171. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  172. collisions:0 txqueuelen:500
  173. RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement