The interface eth0 is not in "ovs-vsctl show", but it is in "ovs-appctl 
dpif/show".
I have no idea how this could be.

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: 22 December 2016 14:06
> To: O'Reilly, Darragh <[email protected]>
> Subject: Re: Openvswitch is acting like a hub in my case?
> 
> 
> 
> 
> Here it is:
> 
> # ovs-vsctl show vmbr0
> ovs-vsctl: 'show' command takes at most 0 arguments
> 
> # ovs-vsctl show
> ca7b0daf-79cf-4de9-904b-da2bd8a47faf
>     Bridge "vmbr0"
>         Port "tap100i0"
>             tag: 20
>             Interface "tap100i0"
>         Port "tap101i0"
>             tag: 20
>             Interface "tap101i0"
>         Port "tap102i0"
>             tag: 20
>             Interface "tap102i0"
>         Port "vmbr0"
>             Interface "vmbr0"
>                 type: internal
>     ovs_version: "2.6.0"
> 
> 
> # ovs-appctl fdb/show vmbr0
> ovs-appctl fdb/show vmbr1
>  port  VLAN  MAC                Age
>     1    20  24:a4:3c:3c:36:5a  204
>     1    20  b6:7c:eb:dc:89:e4  182
>     1    20  e2:57:b3:3c:2c:70  168
> 
> 
> # ovs-ofctl dump-flows vmbr0
> NXST_FLOW reply (xid=0x4):
>  cookie=0x0, duration=193731.551s, table=0, n_packets=273168342,
> n_bytes=249224303688, idle_age=0, hard_age=65534, priority=0
> actions=NORMAL
> 
> # ovs-appctl dpif/show
> system@ovs-system: hit:1082166023 missed:1824617
>       vmbr0:
>               eth0 1/2: (system)
>               tap100i0 31/15: (system)
>               tap101i0 8/11: (system)
>               tap102i0 15/19: (system)
>               vmbr0 65534/1: (internal)
> 
> 
> 
> 
> ----- Oorspronkelijk bericht -----
> Van: "O'Reilly, Darragh" <[email protected]>
> Aan: [email protected], "ovs-discuss" <[email protected]>
> Verzonden: Donderdag 22 december 2016 14:13:16
> Onderwerp: RE: Openvswitch is acting like a hub in my case?
> 
> What do these commands show?
> ovs-vsctl show vmbr0
> ovs-appctl fdb/show vmbr0
> ovs-ofctl dump-flows vmbr0
> ovs-appctl dpif/show
> 
> 
> From: [email protected] [mailto:ovs-discuss-
> [email protected]] On Behalf Of [email protected]
> Sent: 22 December 2016 12:12
> To: ovs-discuss <[email protected]>
> Subject: Re: [ovs-discuss] Openvswitch is acting like a hub in my case?
> 
> 
> Just for testing I just disconnected the physical link to the network and 
> it's still
> the same. So it's not my router or something else in the network causing this
> effect...
> 
> It looks like openvswitch is not learning the mac addresses correctly and
> assigning them to the right port or something.
> 
> Please help me out. I'm kind of stuck now...
> 
> 
> 
> ________________________________________
> Van: [email protected]
> Aan: "ovs-discuss" <[email protected]>
> Verzonden: Donderdag 22 december 2016 12:26:52
> Onderwerp: [ovs-discuss] Openvswitch is acting like a hub in my case?
> 
> Hi,
> 
> I have a proxmox+openvswitch installation and I have 3 VM's installed on in 
> but
> VM3 is able to see traffic going from VM1 to VM2 while I think it shouldn't.
> openvswitch is a switch, right? but in my case it seems to think it's a hub...
> 
> VM3 has nothing to do with VM1 or VM2 so it shouldn't be able to see the 
> traffic
> as openvswitch should have learned the mac addresses of VM1+VM2 and send
> traffic to their ports only, isn't it?
> In my case I'm able to do "tcpdump -XX -i eth0" inside VM3 and see traffic 
> going
> from the IP of VM1 to the IP of VM2 which is a problem...
> 
> More details:
> 
> All VM's have a single public IP address. They are all configured to use 
> network
> interface "vmbr0" which is openvswith configured like this in
> /etc/network/interfaces:
> 
> auto vmbr0
> iface vmbr0 inet manual
>     ovs_type OVSBridge
>     ovs_ports eth0
> eth0 is the physical interface connected to my switch.
> The switch is configured as a trunk port so I can use vlans. Vlan 20 is for 
> public
> internet access and is currently the only active vlan on the switch.
> All VM's have vlan tag 20 set.
> 
> VM1 sends a lot of traffic to VM2 but none of these VM's have anything to do
> with VM3. But still, inside VM3 I can see all traffic when doing  "tcpdump 
> -XX -i
> eth0" inside VM3.
> 
> I do not understand how this is possible. I thought a switch (and openvswitch 
> is a
> switch, right?) will learn mac addresses and send traffic to the correct ports
> only?
> 
> Any help here would be much appreciated!
> 
> Thanks,
> Sander
> 
> 
> _______________________________________________
> discuss mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to