Advertisement
Guest User

Untitled

a guest
Feb 17th, 2016
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.86 KB | None | 0 0
  1. [stack@vpn-6-13 ~]$ sudo ovs-ofctl dump-flows br-int
  2. NXST_FLOW reply (xid=0x4):
  3. cookie=0x8fb036643dc472b8, duration=265.353s, table=0, n_packets=0, n_bytes=0, idle_age=265, priority=10,icmp6,in_port=4,icmp_type=136 actions=resubmit(,24)
  4. cookie=0x8fb036643dc472b8, duration=265.345s, table=0, n_packets=1, n_bytes=42, idle_age=36, priority=10,arp,in_port=4 actions=resubmit(,24)
  5. cookie=0x8fb036643dc472b8, duration=268.099s, table=0, n_packets=201, n_bytes=19530, idle_age=30, priority=2,in_port=16,dl_src=fa:16:3f:9b:60:bb actions=resubmit(,1)
  6. cookie=0x8fb036643dc472b8, duration=268.199s, table=0, n_packets=0, n_bytes=0, idle_age=268, priority=0 actions=NORMAL
  7. cookie=0x8fb036643dc472b8, duration=268.123s, table=0, n_packets=63, n_bytes=5666, idle_age=28, priority=1 actions=NORMAL
  8. cookie=0x8fb036643dc472b8, duration=265.706s, table=1, n_packets=2, n_bytes=196, idle_age=35, priority=4,dl_vlan=2,dl_dst=fa:16:3e:20:45:99 actions=strip_vlan,mod_dl_src:fa:16:3e:97:cd:b7,output:4
  9. cookie=0x8fb036643dc472b8, duration=265.579s, table=1, n_packets=196, n_bytes=19208, idle_age=30, priority=4,dl_vlan=1,dl_dst=fa:16:3e:09:ea:b6 actions=strip_vlan,mod_dl_src:fa:16:3e:d3:38:a4,output:15
  10. cookie=0x8fb036643dc472b8, duration=265.562s, table=1, n_packets=0, n_bytes=0, idle_age=265, priority=4,dl_vlan=2,dl_dst=fa:16:3e:b5:bc:e7 actions=strip_vlan,mod_dl_src:fa:16:3e:97:cd:b7,output:6
  11. cookie=0x8fb036643dc472b8, duration=60.022s, table=1, n_packets=0, n_bytes=0, idle_age=60, priority=4,dl_vlan=1,dl_dst=fa:16:3e:01:78:7b actions=strip_vlan,mod_dl_src:fa:16:3e:d3:38:a4,output:5
  12. cookie=0x8fb036643dc472b8, duration=268.132s, table=1, n_packets=3, n_bytes=126, idle_age=36, priority=1 actions=drop
  13. cookie=0x8fb036643dc472b8, duration=268.126s, table=2, n_packets=0, n_bytes=0, idle_age=268, priority=1 actions=drop
  14. cookie=0x8fb036643dc472b8, duration=268.135s, table=23, n_packets=0, n_bytes=0, idle_age=268, priority=0 actions=drop
  15. cookie=0x8fb036643dc472b8, duration=265.357s, table=24, n_packets=0, n_bytes=0, idle_age=265, priority=2,icmp6,in_port=4,icmp_type=136,nd_target=fe80::f816:3eff:fe20:4599 actions=NORMAL
  16. cookie=0x8fb036643dc472b8, duration=265.349s, table=24, n_packets=1, n_bytes=42, idle_age=36, priority=2,arp,in_port=4,arp_spa=20.0.0.3 actions=NORMAL
  17. cookie=0x8fb036643dc472b8, duration=268.191s, table=24, n_packets=0, n_bytes=0, idle_age=268, priority=0 actions=drop
  18.  
  19.  
  20. [stack@vpn-6-13 ~]$ sudo ovs-ofctl dump-flows br-tun
  21. NXST_FLOW reply (xid=0x4):
  22. cookie=0x8fb036643dc472b8, duration=270.423s, table=0, n_packets=55, n_bytes=5050, idle_age=30, priority=1,in_port=1 actions=resubmit(,1)
  23. cookie=0x8fb036643dc472b8, duration=267.505s, table=0, n_packets=207, n_bytes=19950, idle_age=30, priority=1,in_port=2 actions=resubmit(,4)
  24. cookie=0x8fb036643dc472b8, duration=270.448s, table=0, n_packets=0, n_bytes=0, idle_age=270, priority=0 actions=drop
  25. cookie=0x8fb036643dc472b8, duration=268.039s, table=1, n_packets=1, n_bytes=42, idle_age=39, priority=3,arp,dl_vlan=2,arp_tpa=20.0.0.1 actions=drop
  26. cookie=0x8fb036643dc472b8, duration=62.323s, table=1, n_packets=0, n_bytes=0, idle_age=62, priority=3,arp,dl_vlan=1,arp_tpa=10.0.0.1 actions=drop
  27. cookie=0x8fb036643dc472b8, duration=268.035s, table=1, n_packets=0, n_bytes=0, idle_age=268, priority=2,dl_vlan=2,dl_dst=fa:16:3e:97:cd:b7 actions=drop
  28. cookie=0x8fb036643dc472b8, duration=267.921s, table=1, n_packets=0, n_bytes=0, idle_age=267, priority=2,dl_vlan=1,dl_dst=fa:16:3e:d3:38:a4 actions=drop
  29. cookie=0x8fb036643dc472b8, duration=62.319s, table=1, n_packets=0, n_bytes=0, idle_age=62, priority=2,dl_vlan=1,dl_dst=fa:16:3e:32:10:51 actions=drop
  30. cookie=0x8fb036643dc472b8, duration=268.032s, table=1, n_packets=0, n_bytes=0, idle_age=268, priority=1,dl_vlan=2,dl_src=fa:16:3e:97:cd:b7 actions=mod_dl_src:fa:16:3f:7b:f5:61,resubmit(,2)
  31. cookie=0x8fb036643dc472b8, duration=267.918s, table=1, n_packets=0, n_bytes=0, idle_age=267, priority=1,dl_vlan=1,dl_src=fa:16:3e:d3:38:a4 actions=mod_dl_src:fa:16:3f:7b:f5:61,resubmit(,2)
  32. cookie=0x8fb036643dc472b8, duration=62.316s, table=1, n_packets=3, n_bytes=238, idle_age=38, priority=1,dl_vlan=1,dl_src=fa:16:3e:32:10:51 actions=mod_dl_src:fa:16:3f:7b:f5:61,resubmit(,2)
  33. cookie=0x8fb036643dc472b8, duration=270.416s, table=1, n_packets=51, n_bytes=4770, idle_age=30, priority=0 actions=resubmit(,2)
  34. cookie=0x8fb036643dc472b8, duration=270.447s, table=2, n_packets=43, n_bytes=4102, idle_age=30, priority=0,dl_dst=00:00:00:00:00:00/01:00:00:00:00:00 actions=resubmit(,20)
  35. cookie=0x8fb036643dc472b8, duration=270.447s, table=2, n_packets=11, n_bytes=906, idle_age=62, priority=0,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=resubmit(,22)
  36. cookie=0x8fb036643dc472b8, duration=270.447s, table=3, n_packets=0, n_bytes=0, idle_age=270, priority=0 actions=drop
  37. cookie=0x8fb036643dc472b8, duration=267.887s, table=4, n_packets=202, n_bytes=19628, idle_age=30, priority=1,tun_id=0x447 actions=mod_vlan_vid:1,resubmit(,9)
  38. cookie=0x8fb036643dc472b8, duration=267.870s, table=4, n_packets=5, n_bytes=322, idle_age=38, priority=1,tun_id=0x43a actions=mod_vlan_vid:2,resubmit(,9)
  39. cookie=0x8fb036643dc472b8, duration=270.447s, table=4, n_packets=0, n_bytes=0, idle_age=270, priority=0 actions=drop
  40. cookie=0x8fb036643dc472b8, duration=270.447s, table=6, n_packets=0, n_bytes=0, idle_age=270, priority=0 actions=drop
  41. cookie=0x8fb036643dc472b8, duration=270.399s, table=9, n_packets=201, n_bytes=19530, idle_age=33, priority=1,dl_src=fa:16:3f:9b:60:bb actions=output:1
  42. cookie=0x8fb036643dc472b8, duration=270.419s, table=9, n_packets=6, n_bytes=420, idle_age=30, priority=0 actions=resubmit(,10)
  43. cookie=0x8fb036643dc472b8, duration=270.447s, table=10, n_packets=6, n_bytes=420, idle_age=30, priority=1 actions=learn(table=20,hard_timeout=300,priority=1,cookie=0x8fb036643dc472b8,NXM_OF_VLAN_TCI[0..11],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:0->NXM_OF_VLAN_TCI[],load:NXM_NX_TUN_ID[]->NXM_NX_TUN_ID[],output:NXM_OF_IN_PORT[]),output:1
  44. cookie=0x8fb036643dc472b8, duration=62.131s, table=20, n_packets=11, n_bytes=966, idle_age=30, priority=2,dl_vlan=1,dl_dst=fa:16:3e:26:e2:98 actions=strip_vlan,set_tunnel:0x447,output:2
  45. cookie=0x8fb036643dc472b8, duration=264.016s, table=20, n_packets=0, n_bytes=0, hard_timeout=300, idle_age=264, hard_age=261, priority=1,vlan_tci=0x0001/0x0fff,dl_dst=fa:16:3e:d3:38:a4 actions=load:0->NXM_OF_VLAN_TCI[],load:0x447->NXM_NX_TUN_ID[],output:2
  46. cookie=0x8fb036643dc472b8, duration=91.738s, table=20, n_packets=0, n_bytes=0, hard_timeout=300, idle_age=91, hard_age=30, priority=1,vlan_tci=0x0001/0x0fff,dl_dst=fa:16:3e:26:e2:98 actions=load:0->NXM_OF_VLAN_TCI[],load:0x447->NXM_NX_TUN_ID[],output:2
  47. cookie=0x8fb036643dc472b8, duration=270.446s, table=20, n_packets=0, n_bytes=0, idle_age=270, priority=0 actions=resubmit(,22)
  48. cookie=0x8fb036643dc472b8, duration=267.501s, table=22, n_packets=0, n_bytes=0, idle_age=267, hard_age=261, dl_vlan=2 actions=strip_vlan,set_tunnel:0x43a,output:2
  49. cookie=0x8fb036643dc472b8, duration=267.343s, table=22, n_packets=1, n_bytes=42, idle_age=91, hard_age=62, dl_vlan=1 actions=strip_vlan,set_tunnel:0x447,output:2
  50. cookie=0x8fb036643dc472b8, duration=270.443s, table=22, n_packets=10, n_bytes=864, idle_age=62, priority=0 actions=drop
  51.  
  52.  
  53. [stack@vpn-6-13 ~]$ sudo ovs-ofctl show br-int
  54. OFPT_FEATURES_REPLY (xid=0x2): dpid:00001e0b6db7f84c
  55. n_tables:254, n_buffers:256
  56. capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
  57. actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
  58. 4(qvo2c7aff5d-d0): addr:2a:9a:dd:68:57:40
  59. config: 0
  60. state: 0
  61. current: 10GB-FD COPPER
  62. speed: 10000 Mbps now, 0 Mbps max
  63. 5(tapb18d237f-47): addr:a9:8c:fd:7f:00:00
  64. config: PORT_DOWN
  65. state: LINK_DOWN
  66. speed: 0 Mbps now, 0 Mbps max
  67. 6(tapfbf107a3-c2): addr:a9:8c:fd:7f:00:00
  68. config: PORT_DOWN
  69. state: LINK_DOWN
  70. speed: 0 Mbps now, 0 Mbps max
  71. 8(qr-4f3d0c43-e2): addr:a9:8c:fd:7f:00:00
  72. config: PORT_DOWN
  73. state: LINK_DOWN
  74. speed: 0 Mbps now, 0 Mbps max
  75. 11(sg-84979632-e6): addr:a9:8c:fd:7f:00:00
  76. config: PORT_DOWN
  77. state: LINK_DOWN
  78. speed: 0 Mbps now, 0 Mbps max
  79. 14(qr-6e5fe4f9-f9): addr:a9:8c:fd:7f:00:00
  80. config: PORT_DOWN
  81. state: LINK_DOWN
  82. speed: 0 Mbps now, 0 Mbps max
  83. 15(sg-d15de0dc-27): addr:a9:8c:fd:7f:00:00
  84. config: PORT_DOWN
  85. state: LINK_DOWN
  86. speed: 0 Mbps now, 0 Mbps max
  87. 16(patch-tun): addr:f6:01:2f:6b:be:0b
  88. config: 0
  89. state: 0
  90. speed: 0 Mbps now, 0 Mbps max
  91. 17(qr-ba31c888-00): addr:a9:8c:fd:7f:00:00
  92. config: PORT_DOWN
  93. state: LINK_DOWN
  94. speed: 0 Mbps now, 0 Mbps max
  95. LOCAL(br-int): addr:1e:0b:6d:b7:f8:4c
  96. config: PORT_DOWN
  97. state: LINK_DOWN
  98. speed: 0 Mbps now, 0 Mbps max
  99. OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
  100.  
  101.  
  102. [stack@vpn-6-13 ~]$ sudo ovs-ofctl show br-tun
  103. OFPT_FEATURES_REPLY (xid=0x2): dpid:00004672b9cce24a
  104. n_tables:254, n_buffers:256
  105. capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
  106. actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
  107. 1(patch-int): addr:4a:b9:94:54:77:ea
  108. config: 0
  109. state: 0
  110. speed: 0 Mbps now, 0 Mbps max
  111. 2(vxlan-0a23060c): addr:ce:a9:b7:d5:eb:08
  112. config: 0
  113. state: 0
  114. speed: 0 Mbps now, 0 Mbps max
  115. LOCAL(br-tun): addr:46:72:b9:cc:e2:4a
  116. config: PORT_DOWN
  117. state: LINK_DOWN
  118. speed: 0 Mbps now, 0 Mbps max
  119. OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0
  120.  
  121.  
  122. [stack@vpn-6-13 ~]$ sudo ip netns exec snat-0cb8e87e-cd0b-43ee-a6e3-4e6cf32d5da7 ip a
  123. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
  124. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  125. inet 127.0.0.1/8 scope host lo
  126. valid_lft forever preferred_lft forever
  127. inet6 ::1/128 scope host
  128. valid_lft forever preferred_lft forever
  129. 24: sg-84979632-e6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
  130. link/ether fa:16:3e:44:70:e4 brd ff:ff:ff:ff:ff:ff
  131. inet 10.0.0.7/24 brd 10.0.0.255 scope global sg-84979632-e6
  132. valid_lft forever preferred_lft forever
  133. inet6 fe80::f816:3eff:fe44:70e4/64 scope link
  134. valid_lft forever preferred_lft forever
  135. 25: qg-eb2db7ff-56: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
  136. link/ether fa:16:3e:4d:82:89 brd ff:ff:ff:ff:ff:ff
  137. inet 10.35.6.16/23 brd 10.35.7.255 scope global qg-eb2db7ff-56
  138. valid_lft forever preferred_lft forever
  139. inet6 fe80::f816:3eff:fe4d:8289/64 scope link
  140. valid_lft forever preferred_lft forever
  141. 28: sg-d15de0dc-27: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
  142. link/ether fa:16:3e:09:ea:b6 brd ff:ff:ff:ff:ff:ff
  143. inet 10.0.0.14/24 brd 10.0.0.255 scope global sg-d15de0dc-27
  144. valid_lft forever preferred_lft forever
  145. inet6 fe80::f816:3eff:fe09:eab6/64 scope link
  146. valid_lft forever preferred_lft forever
  147.  
  148.  
  149. [stack@vpn-6-13 ~]$ sudo ip netns exec qrouter-0cb8e87e-cd0b-43ee-a6e3-4e6cf32d5da7 ip a
  150. 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
  151. link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  152. inet 127.0.0.1/8 scope host lo
  153. valid_lft forever preferred_lft forever
  154. inet6 ::1/128 scope host
  155. valid_lft forever preferred_lft forever
  156. 27: qr-6e5fe4f9-f9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
  157. link/ether fa:16:3e:d3:38:a4 brd ff:ff:ff:ff:ff:ff
  158. inet 10.0.0.1/24 brd 10.0.0.255 scope global qr-6e5fe4f9-f9
  159. valid_lft forever preferred_lft forever
  160. inet6 fe80::f816:3eff:fed3:38a4/64 scope link
  161. valid_lft forever preferred_lft forever
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement