[ovs-discuss] Problems understanding ovs with of support
jpettit at nicira.com
Thu Feb 23 18:52:44 UTC 2012
On Feb 23, 2012, at 10:40 AM, Luiz Ozaki wrote:
>> I attached two hosts on ETH1 and ETH2 and, also without using a controller acting as a L2 MAC-learning switch, they can ping one each other.
>> How can this be possible? I thought a switch needed the controller to work properly as L2 MAC-switch ...
>> So, trying to understand what was wrong, I typed
>> - ovs-ofctl dump-tables br0
>> -ovs-ofctl dump-flows br0
> On your dump-flows you should have something like:
> cookie=0x0, duration=586260.781s, table=0, n_packets=20102186, n_bytes=91142249326, priority=0 actions=NORMAL
> As the default, action NORMAL do the L2/L3 processing. So no need for a controller.
> I think the L2 mac-learning using a controller is just an example of what you can do with a controller.
> OVS alone should work in most of the cases.
Yes, by default, OVS installs that rule. This default behavior can be configured with the fail-mode, as described in the ovs-vsctl and ovs-vswitchd.conf.db man pages.
More information about the discuss