Advertisement
shaggycat

Untitled

May 6th, 2015
507
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  1. [root@nethost network-scripts]# ip netns ls
  2. qrouter-7573b61c-1cb2-43bc-8296-421e319d2bd0
  3. qdhcp-f8bdf250-d08f-467a-a073-003ea3165c5d
  4.  
  5.  
  6. [root@nethost network-scripts]# ip netns exec qdhcp-f8bdf250-d08f-467a-a073-003ea3165c5d ifconfig
  7. lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  8. inet 127.0.0.1 netmask 255.0.0.0
  9. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  10. loop txqueuelen 0 (Local Loopback)
  11. RX packets 0 bytes 0 (0.0 B)
  12. RX errors 0 dropped 0 overruns 0 frame 0
  13. TX packets 0 bytes 0 (0.0 B)
  14. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  15.  
  16. tap270c51fa-76: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  17. inet 10.0.0.101 netmask 255.255.255.0 broadcast 10.0.0.255
  18. inet6 fe80::f816:3eff:fee8:3cd7 prefixlen 64 scopeid 0x20<link>
  19. ether fa:16:3e:e8:3c:d7 txqueuelen 0 (Ethernet)
  20. RX packets 11 bytes 724 (724.0 B)
  21. RX errors 0 dropped 0 overruns 0 frame 0
  22. TX packets 8 bytes 648 (648.0 B)
  23. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  24.  
  25. [root@nethost network-scripts]#
  26.  
  27. ip netns exec qrouter-7573b61c-1cb2-43bc-8296-421e319d2bd0 ifconfig
  28. lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
  29. inet 127.0.0.1 netmask 255.0.0.0
  30. inet6 ::1 prefixlen 128 scopeid 0x10<host>
  31. loop txqueuelen 0 (Local Loopback)
  32. RX packets 0 bytes 0 (0.0 B)
  33. RX errors 0 dropped 0 overruns 0 frame 0
  34. TX packets 0 bytes 0 (0.0 B)
  35. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  36.  
  37. qg-8d652de9-58: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  38. inet 10.2.57.68 netmask 255.255.255.0 broadcast 10.2.57.255
  39. inet6 fe80::f816:3eff:fe4e:b045 prefixlen 64 scopeid 0x20<link>
  40. ether fa:16:3e:4e:b0:45 txqueuelen 0 (Ethernet)
  41. RX packets 12 bytes 1080 (1.0 KiB)
  42. RX errors 0 dropped 0 overruns 0 frame 0
  43. TX packets 13 bytes 990 (990.0 B)
  44. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  45.  
  46. qr-1a0e7fd7-63: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
  47. inet 10.0.0.1 netmask 255.255.255.0 broadcast 10.0.0.255
  48. inet6 fe80::f816:3eff:feac:4843 prefixlen 64 scopeid 0x20<link>
  49. ether fa:16:3e:ac:48:43 txqueuelen 0 (Ethernet)
  50. RX packets 24 bytes 1972 (1.9 KiB)
  51. RX errors 0 dropped 0 overruns 0 frame 0
  52. TX packets 10 bytes 864 (864.0 B)
  53. TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
  54.  
  55.  
  56.  
  57. [root@nethost network-scripts]# ovs-vsctl show
  58. a2345917-b56c-4413-8ea3-2d383c8cbc92
  59. Bridge br-ex
  60. Port br-ex
  61. Interface br-ex
  62. type: internal
  63. Port "eth4"
  64. Interface "eth4"
  65. Port phy-br-ex
  66. Interface phy-br-ex
  67. type: patch
  68. options: {peer=int-br-ex}
  69. Bridge br-tun
  70. Port patch-int
  71. Interface patch-int
  72. type: patch
  73. options: {peer=patch-tun}
  74. Port br-tun
  75. Interface br-tun
  76. type: internal
  77. Port "gre-0a00001f"
  78. Interface "gre-0a00001f"
  79. type: gre
  80. options: {df_default="true", in_key=flow, local_ip="10.0.0.2", out_key=flow, remote_ip="10.0.0.31"}
  81. Bridge br-vlan
  82. Port "eth1"
  83. Interface "eth1"
  84. Port phy-br-vlan
  85. Interface phy-br-vlan
  86. type: patch
  87. options: {peer=int-br-vlan}
  88. Port br-vlan
  89. Interface br-vlan
  90. type: internal
  91. Bridge br-int
  92. fail_mode: secure
  93. Port int-br-ex
  94. Interface int-br-ex
  95. type: patch
  96. options: {peer=phy-br-ex}
  97. Port br-int
  98. Interface br-int
  99. type: internal
  100. Port int-br-vlan
  101. Interface int-br-vlan
  102. type: patch
  103. options: {peer=phy-br-vlan}
  104. Port "tap270c51fa-76"
  105. tag: 1
  106. Interface "tap270c51fa-76"
  107. type: internal
  108. Port "qr-1a0e7fd7-63"
  109. tag: 1
  110. Interface "qr-1a0e7fd7-63"
  111. type: internal
  112. Port "qg-8d652de9-58"
  113. tag: 2
  114. Interface "qg-8d652de9-58"
  115. type: internal
  116. ovs_version: "2.1.3"
  117. [root@nethost network-scripts]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement