计算节点

主要包括两个网桥:集成网桥 br-int 和 隧道网桥 br-tun。

  1. $ sudo ovs-vsctl show
  2. 225f3eb5-6059-4063-99c3-8666915c9c55
  3. Bridge br-int
  4. fail_mode: secure
  5. Port br-int
  6. Interface br-int
  7. type: internal
  8. Port "qvoc4493802-43"
  9. tag: 1
  10. Interface "qvoc4493802-43"
  11. Port patch-tun
  12. Interface patch-tun
  13. type: patch
  14. options: {peer=patch-int}
  15. Port "qvof47c62b0-db"
  16. tag: 1
  17. Interface "qvof47c62b0-db"
  18. Bridge br-tun
  19. fail_mode: secure
  20. Port "vxlan-0a00644d"
  21. Interface "vxlan-0a00644d"
  22. type: vxlan
  23. options: {df_default="true", in_key=flow, local_ip="10.0.100.88", out_key=flow, remote_ip="10.0.100.77"}
  24. Port patch-int
  25. Interface patch-int
  26. type: patch
  27. options: {peer=patch-tun}
  28. Port br-tun
  29. Interface br-tun
  30. type: internal
  31. ovs_version: "2.0.2"

安全网桥可以通过 brctl show 命令看到,该网桥主要用于绑定控制组的 iptables 规则,跟转发无直接关系。

  1. ~$ brctl show
  2. bridge name bridge id STP enabled interfaces
  3. qbrf47c62b0-db 8000.56a7904c418d no qvbf47c62b0-db
  4. tapf47c62b0-db