Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.03 KB | None | 0 0
  1. [root@network 135185ea-a416-463b-a331-e9930551d42e]# ip netns
  2. qdhcp-135185ea-a416-463b-a331-e9930551d42e
  3. qrouter-2f35b6f0-eaae-4059-8920-1335bf659339
  4.  
  5.  
  6. [root@network 135185ea-a416-463b-a331-e9930551d42e]# ip netns exec qdhcp-135185ea-a416-463b-a331-e9930551d42e ifconfig
  7. lo Link encap:Local Loopback
  8. inet addr:127.0.0.1 Mask:255.0.0.0
  9. UP LOOPBACK RUNNING MTU:16436 Metric:1
  10. RX packets:27 errors:0 dropped:0 overruns:0 frame:0
  11. TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
  12. collisions:0 txqueuelen:0
  13. RX bytes:15552 (15.1 KiB) TX bytes:15552 (15.1 KiB)
  14.  
  15. tap59ace705-bf Link encap:Ethernet HWaddr FA:16:3E:41:83:15
  16. inet addr:125.125.0.2 Bcast:125.125.0.255 Mask:255.255.255.0
  17. UP BROADCAST RUNNING MTU:1500 Metric:1
  18. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  19. TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
  20. collisions:0 txqueuelen:0
  21. RX bytes:0 (0.0 b) TX bytes:90 (90.0 b)
  22.  
  23. [root@network]# ip a
  24. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  25. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  26. inet 127.0.0.1/8 scope host lo
  27. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  28. link/ether 00:50:56:b9:33:c0 brd ff:ff:ff:ff:ff:ff
  29. inet 10.0.0.21/24 brd 10.0.0.255 scope global eth0
  30. 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  31. link/ether 00:50:56:b9:e2:66 brd ff:ff:ff:ff:ff:ff
  32. inet 10.0.1.21/24 brd 10.0.1.255 scope global eth1
  33. 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  34. link/ether 00:50:56:b9:28:78 brd ff:ff:ff:ff:ff:ff
  35. 5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  36. link/ether 0e:a9:d4:69:2b:5a brd ff:ff:ff:ff:ff:ff
  37. 6: br-ex: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  38. link/ether 00:50:56:b9:28:78 brd ff:ff:ff:ff:ff:ff
  39. 9: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  40. link/ether 92:b3:97:d3:f7:40 brd ff:ff:ff:ff:ff:ff
  41. 13: br-tun: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  42. link/ether 12:a3:b1:78:26:4b brd ff:ff:ff:ff:ff:ff
  43.  
  44. [root@compute1# ip a
  45. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
  46. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  47. inet 127.0.0.1/8 scope host lo
  48. 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  49. link/ether 00:50:56:a5:53:92 brd ff:ff:ff:ff:ff:ff
  50. inet 10.0.0.31/24 brd 10.0.0.255 scope global eth0
  51. 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
  52. link/ether 00:50:56:a5:21:17 brd ff:ff:ff:ff:ff:ff
  53. inet 10.0.1.31/24 brd 10.0.1.255 scope global eth1
  54. 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  55. link/ether 00:50:56:a5:80:7e brd ff:ff:ff:ff:ff:ff
  56. inet 192.168.1.182/24 brd 192.168.1.255 scope global eth2
  57. 5: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
  58. link/ether 3a:60:68:74:05:0e brd ff:ff:ff:ff:ff:ff
  59. 6: br-int: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  60. link/ether 32:c1:90:71:b7:4e brd ff:ff:ff:ff:ff:ff
  61. 8: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  62. link/ether 52:54:00:8e:e6:06 brd ff:ff:ff:ff:ff:ff
  63. inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0
  64. 9: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 500
  65. link/ether 52:54:00:8e:e6:06 brd ff:ff:ff:ff:ff:ff
  66. 12: br-tun: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  67. link/ether 62:6b:0b:3b:57:46 brd ff:ff:ff:ff:ff:ff
  68. 100: qbr16606914-07: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  69. link/ether 26:b6:1f:bc:3f:44 brd ff:ff:ff:ff:ff:ff
  70. 101: qvo16606914-07: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  71. link/ether 62:c5:5a:7d:eb:cb brd ff:ff:ff:ff:ff:ff
  72. 102: qvb16606914-07: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  73. link/ether 26:b6:1f:bc:3f:44 brd ff:ff:ff:ff:ff:ff
  74. 103: tap16606914-07: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
  75. link/ether fe:16:3e:d4:e9:a1 brd ff:ff:ff:ff:ff:ff
  76. 104: qbre29cc150-f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  77. link/ether 32:f6:3b:1f:51:d8 brd ff:ff:ff:ff:ff:ff
  78. 105: qvoe29cc150-f3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  79. link/ether b6:bb:55:6e:0e:93 brd ff:ff:ff:ff:ff:ff
  80. 106: qvbe29cc150-f3: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  81. link/ether 32:f6:3b:1f:51:d8 brd ff:ff:ff:ff:ff:ff
  82. 107: tape29cc150-f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
  83. link/ether fe:16:3e:8f:39:4d brd ff:ff:ff:ff:ff:ff
  84. 108: qbr36bbaa63-24: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN
  85. link/ether 8a:20:67:87:40:c4 brd ff:ff:ff:ff:ff:ff
  86. 109: qvo36bbaa63-24: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  87. link/ether a6:a9:06:7f:98:2e brd ff:ff:ff:ff:ff:ff
  88. 110: qvb36bbaa63-24: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
  89. link/ether 8a:20:67:87:40:c4 brd ff:ff:ff:ff:ff:ff
  90. 111: tap36bbaa63-24: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 500
  91. link/ether fe:16:3e:b1:a6:ed brd ff:ff:ff:ff:ff:ff
  92.  
  93.  
  94. [root@network neutron]# ovs-vsctl show
  95. 4fb97892-454c-47d5-9bf9-441c772d4605
  96. Bridge br-tun
  97. Port patch-int
  98. Interface patch-int
  99. type: patch
  100. options: {peer=patch-tun}
  101. Port br-tun
  102. Interface br-tun
  103. type: internal
  104. Port "gre-0a00011f"
  105. Interface "gre-0a00011f"
  106. type: gre
  107. options: {in_key=flow, local_ip="10.0.1.21", out_key=flow, remote_ip="10.0.1.31"}
  108. Bridge br-int
  109. fail_mode: secure
  110. Port br-int
  111. Interface br-int
  112. type: internal
  113. Port patch-tun
  114. Interface patch-tun
  115. type: patch
  116. options: {peer=patch-int}
  117. Port "tap59ace705-bf"
  118. tag: 4095
  119. Interface "tap59ace705-bf"
  120. type: internal
  121. Port "qr-8edf09fb-64"
  122. tag: 1
  123. Interface "qr-8edf09fb-64"
  124. type: internal
  125. Bridge br-ex
  126. Port "eth2"
  127. Interface "eth2"
  128. Port br-ex
  129. Interface br-ex
  130. type: internal
  131. Port "qg-35ecd29a-78"
  132. Interface "qg-35ecd29a-78"
  133. type: internal
  134. ovs_version: "1.11.0"
  135. [root@network neutron]#
  136.  
  137.  
  138. [root@compute1 neutron]# ovs-vsctl show
  139. 836f8047-b974-4e46-a30a-a60da7987d4a
  140. Bridge br-tun
  141. Port "gre-0a000115"
  142. Interface "gre-0a000115"
  143. type: gre
  144. options: {in_key=flow, local_ip="10.0.1.31", out_key=flow, remote_ip="10.0.1.21"}
  145. Port br-tun
  146. Interface br-tun
  147. type: internal
  148. Port patch-int
  149. Interface patch-int
  150. type: patch
  151. options: {peer=patch-tun}
  152. Bridge br-int
  153. fail_mode: secure
  154. Port patch-tun
  155. Interface patch-tun
  156. type: patch
  157. options: {peer=patch-int}
  158. Port "qvo16606914-07"
  159. tag: 11
  160. Interface "qvo16606914-07"
  161. Port br-int
  162. Interface br-int
  163. type: internal
  164. Port "qvoe29cc150-f3"
  165. tag: 11
  166. Interface "qvoe29cc150-f3"
  167. Port "qvo36bbaa63-24"
  168. tag: 11
  169. Interface "qvo36bbaa63-24"
  170. Port "qvo90d721a4-66"
  171. tag: 1
  172. Interface "qvo90d721a4-66"
  173. ovs_version: "1.11.0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement