Hi,

we are expiriencing some very strange behaviour on our XenServer 6.0
server (openvswitch-1.0.99-104.9871).
On fake bridge xapi2 we have 2 VM, each with one interface:

# ovs-vsctl list-ports xapi2
vif1.0 (VM1, ip 1.1.1.1)
vif2.0 (VM2, ip 1.1.1.2)

VM1 is mail server, with traffic peaks at 15Mb/s. Mail logs are sent to
syslog server (1.1.1.3) which is on the same vlan as VM1 and VM2.
Problem is that VM2 is receiving some unicast traffic that is sent from
VM1 to servers on same vlan (99.9% of that traffic is UDP):

# tcpdump -ni vif2.0 port 514
11:37:47.102667 IP 1.1.1.1.syslog > 1.1.1.3.syslog: SYSLOG mail.info,
length: 87
11:37:47.128198 IP 1.1.1.1.syslog > 1.1.1.3.syslog: SYSLOG mail.info,
length: 94
11:37:47.180399 IP 1.1.1.1.syslog > 1.1.1.3.syslog: SYSLOG mail.info,
length: 116
11:37:47.238558 IP 1.1.1.1.syslog > 1.1.1.3.syslog: SYSLOG mail.info,
length: 124

This is happening almost all of the time. It is wierd that not all of
outgoing traffic on vif1.0 is duplicate on vif2.0, just most of it, and
it is always outgoing traffic between hosts on same vlan.

Debugging with ovs-dpctl dump-flows:

when packet is duplicate on interface vif2.0
in_port(8),eth(src=62:29:27:21:25:49,dst=00:14:5e:80:86:f4),eth_type(0x0800),ipv4(src=1.1.1.1,dst=1.1.1.3,proto=17,tos=0),udp(src=514,dst=514),
packets:76, bytes:14143, used:0.040s, actions:6,4,set_tci(vid=3,pcp=0),0,1

when packet is sent without duplication
in_port(8),eth(src=62:29:27:21:25:49,dst=00:14:5e:80:86:f4),eth_type(0x0800),ipv4(src=1.1.1.1,dst=1.1.1.3,proto=17,tos=0),udp(src=514,dst=514),
packets:76, bytes:14143, used:0.040s, actions:set_tci(vid=3,pcp=0),1

Difference is at actions records.

Both VM1 and VM2 are FreeBSD HENHVM 8.2.

Regards,
Vladimir

-- 
Vladimir Nikolic | Sistemski administrator / System Administrator

Amis | Trzaska cesta 85 | 2000 Maribor | Slovenija
Tel: +386 080 20 10 | Faks: +386 2 620 6 333 | www.amis.net
<http://www.amis.net>


_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to