標籤:

openvswitch有什麼用?

openvswitch有哪些用途,主要用在什麼場合?


不謝邀,但是我會告訴你怎麼做。當然,我是不會用百度的

第一步,在 openvswitch後面加上 .org,因為它是開源軟體,多數情況下你可以直接訪問 http://openvswitch.org 。然後你就會看到頁面上巨大的標題:神馬是TMD Open vSwitch? 湯師爺,你來給我翻譯一下,神馬,是TMD,Open vSwitch?

如果這個解釋還不能讓你滿意,比如說我就想知道這東西,跟Openflow到底是個什麼關係? 那麼我們開始第二步.

往上看,看到開源軟體里最溫暖的三個字,我說的是FAQ。點進去, 大多數你能想到的,而且又有價值的問題都在這裡面被人問過了。你就直接去看答案就行了。

目前為止已經有92個問題已經被問過了,並且有了答案。你可以去看看有沒有你想要的答案。

傳送門在這裡:ovs/FAQ.md at master · openvswitch/ovs · GitHub

92個已經被回答過的問題的列表在這裡。

1 Q: What is Open vSwitch?

2 Q: What virtualization platforms can use Open vSwitch?

3 Q: How can I try Open vSwitch?

4 Q: Does Open vSwitch only work on Linux?

5 Q: What"s involved with porting Open vSwitch to a new platform or switching

6 Q: Why would I use Open vSwitch instead of the Linux bridge?

7 Q: How is Open vSwitch related to distributed virtual switches like the

8 Q: Why doesn"t Open vSwitch support distribution?

9 Q: How can I contribute to the Open vSwitch Community?

10 Q: Why can I no longer connect to my OpenFlow controller or OVSDB manager?

11 Q: What does it mean for an Open vSwitch release to be LTS (long-term

12 Q: What Linux kernel versions does each Open vSwitch release work with?

13 Q: Are all features available with all datapaths?

14 Q: What DPDK version does each Open vSwitch release work with?

15 Q: I get an error like this when I configure Open vSwitch:

16 Q: What features are not available in the Open vSwitch kernel datapath that

17 Q: Why do tunnels not work when using a kernel module other than the one

18 Q: Why are UDP tunnel checksums not computed for VXLAN or Geneve?

19 Q: What features are not available when using the userspace datapath?

20 Q: Should userspace or kernel be upgraded first to minimize downtime?

21 Q: What happened to the bridge compatibility feature?

22 Q: I thought Open vSwitch was a virtual Ethernet switch, but the

23 Q: What"s a VLAN?

24 Q: How do I configure a port as an access port?

25 Q: How do I configure a port as a SPAN port, that is, enable mirroring of all

26 Q: Does Open vSwitch support configuring a port in promiscuous mode?

27 Q: How do I configure a DPDK port as an access port?

28 Q: How do I configure a VLAN as an RSPAN VLAN, that is, enable mirroring of

29 Q: Can I mirror more than one input VLAN to an RSPAN VLAN?

30 Q: How do I configure mirroring of all traffic to a GRE tunnel?

31 Q: Does Open vSwitch support ERSPAN?

32 Q: How do I connect two bridges?

33 Q: How do I configure a bridge without an OpenFlow local port? (Local port in

34 Q: I hear OVS has a couple of kinds of flows. Can you tell me about them?

35 Q: Why are there so many different ways to dump flows?

36 Q: How does multicast snooping works with VLANs?

37 Q: Can OVS populate the kernel flow table in advance instead of in reaction

38 Q: I just upgraded and I see a performance drop. Why?

39 Q: I created a bridge and added my Ethernet port to it, using commands

40 Q: I created a bridge and added a couple of Ethernet ports to it,

41 Q: I can"t seem to use Open vSwitch in a wireless network.

42 Q: I can"t seem to add my PPP interface to an Open vSwitch bridge.

43 Q: Is there any documentation on the database tables and fields?

44 Q: When I run ovs-dpctl I no longer see the bridges I created. Instead,

45 Q: I created a GRE port using ovs-vsctl so why can"t I send traffic or

46 Q: Open vSwitch does not seem to obey my packet filter rules.

47 Q: It seems that Open vSwitch does nothing when I removed a port and

48 Q: I want to add thousands of ports to an Open vSwitch bridge, but

49 Q: I created a bridge named br0. My bridge shows up in "ovs-vsctl

50 Q: I have a bridge br0. I added a new port vif1.0, and it shows

51 Q: I created a tap device tap0, configured an IP address on it, and

52 Q: Does OVS support Quality of Service (QoS)?

53 Q: How do I configure egress traffic shaping?

54 Q: How do I configure ingress policing?

55 Q: I configured Quality of Service (QoS) in my OpenFlow network by

56 Q: I"d like to take advantage of some QoS feature that Open vSwitch

57 Q: I configured QoS, correctly, but my measurements show that it isn"t

58 Q: Does Open vSwitch support OpenFlow meters?

59 Q: What"s a VLAN?

60 Q: VLANs don"t work.

61 Q: VLANs still don"t work. I"ve tested the driver so I know that it"s OK.

62 Q: Outgoing VLAN-tagged traffic goes through OVS to my physical switch

63 Q: I added a pair of VMs on different VLANs, like this:

64 Q: I added a pair of VMs on the same VLAN, like this:

65 Q: Can I configure an IP address on a VLAN?

66 Q: I configured one IP address on VLAN 0 and another on VLAN 9, like

67 Q: My OpenFlow controller doesn"t see the VLANs that I expect.

68 Q: I configured ports on a bridge as access ports with different VLAN

69 Q: How MAC learning works with VLANs?

70 Q: What"s a VXLAN?

71 Q: How much of the VXLAN protocol does Open vSwitch currently support?

72 Q: What destination UDP port does the VXLAN implementation in Open vSwitch

73 Q: What versions of OpenFlow does Open vSwitch support?

74 Q: Does Open vSwitch support MPLS?

75 Q: I"m getting "error type 45250 code 0". What"s that?

76 Q: I configured all my controllers for out-of-band control mode but

77 Q: My OpenFlow controller doesn"t see the VLANs that I expect.

78 Q: I ran "ovs-ofctl add-flow br0 nw_dst=192.168.0.1,actions=drop"

79 Q: How can I figure out the OpenFlow port number for a given port?

80 Q: I added some flows with my controller or with ovs-ofctl, but when I

81 Q: It looks like each of the interfaces in my bonded port shows up

82 Q: I have a sophisticated network setup involving Open vSwitch, VMs or

83 Q: How do I make a flow drop packets?

84 Q: I added a flow to send packets out the ingress port, like this:

85 Q: My bridge br0 has host 192.168.0.1 on port 1 and host 192.168.0.2

86 Q: My bridge disconnects from my controller on add-port/del-port.

87 Q: My controller is getting errors about "buffers". What"s going on?

88 Q: How does OVS divide flows among buckets in an OpenFlow "select" group?

89 Q: I added a flow to accept packets on VLAN 123 and output them on

90 Q: How do I implement a new OpenFlow message?

91 Q: How do I add support for a new field or header?

92 Q: How do I add support for a new OpenFlow action?


推薦閱讀:

感覺autoconf真不太好用,有何替代方案?
Linux頁表中虛擬內存地址如何映射到硬碟數據塊地址?
mount --bind 可以算是ln一個目錄么?
長期使用一種linux發行版沒有重裝過是一種什麼樣的體驗?

TAG:Linux | Linux內核 |