Skip to contentSkip to conversation

Ghost traffic seen in all guest on a kvm hypervisor

DISCUSSION Dennis Jacobfeuerborn 4 participants 6 messages Mar 24, 2014

lore
Share & tools
lore
#0 lore raw

Hi,
I have a problem on a kvm hypervisor that I cannot explain. It appears that some traffic shows up in the interface monitoring in all of the guests on that hypervisor. We are not using broadcasts in any way and I see peaks of 100mbit for several minutes on all of these systems.

Does anybody have an idea what could cause this?

Regards,
Dennis

#1 lore raw

Hi Dennis,

Please post the KVM bridge topology and also the output of ethtool -k ethX (for each real nic).

Cheers,

Remy

Sent from my Phone

Quoted 13 lines · Dennis Jacobfeuerborn

Hi,
I have a problem on a kvm hypervisor that I cannot explain. It appears that some traffic shows up in the interface monitoring in all of the guests on that hypervisor. We are not using broadcasts in any way and I see peaks of 100mbit for several minutes on all of these systems.

Does anybody have an idea what could cause this?

Regards,
Dennis
--
To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Dennis Jacobfeuerborn

Make sure your bridge doesn't have an "bridge_maxage 0" configured or otherwhise your software-switch will behave like a hub.

Quoted 15 lines · Dennis Jacobfeuerborn

Hi,
I have a problem on a kvm hypervisor that I cannot explain. It appears that some traffic shows up in the interface monitoring in all of the guests on that hypervisor. We are not using broadcasts in any way and I see peaks of 100mbit for several minutes on all of these systems.

Does anybody have an idea what could cause this?

Regards,
Dennis
--
To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
http://www.wogri.com
#3 lore raw
In reply to Dennis Jacobfeuerborn

Hi Remy,
the only physical interface used is eth0 but I'm using vlans so the interface connected to the bridge is eth0.8 and all the guests are connected to this bridge as well. The output of ethtool -k for both eth0 and eth0.8 is:

Offload parameters for eth0.8:
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off

Regards,
Dennis

Quoted 24 lines · Remy Mudingay

Hi Dennis,

Please post the KVM bridge topology and also the output of ethtool -k ethX (for each real nic).

Cheers,

Remy

Sent from my Phone

Quoted 13 lines · Dennis Jacobfeuerborn

Hi,
I have a problem on a kvm hypervisor that I cannot explain. It appears that some traffic shows up in the interface monitoring in all of the guests on that hypervisor. We are not using broadcasts in any way and I see peaks of 100mbit for several minutes on all of these systems.

Does anybody have an idea what could cause this?

Regards,
Dennis
--
To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Dennis Jacobfeuerborn

This is a Centos 6 System and I haven't set the aging explicitly but from the output of showstp it seems the aging is set to a non-zero value by default:

# brctl showstp vlanbr8
vlanbr8
  bridge id              8000.00259035bc06
  designated root        8000.00259035bc06
  root port                 0
  path cost                 0
  max age                  19.99
  bridge max age           19.99
  hello time                1.99
  bridge hello time         1.99
  forward delay            14.99
  bridge forward delay     14.99
  ageing time             299.95
  hello timer               1.85
  tcn timer                 0.00
  topology change timer     0.00
  gc timer                 15.85
  hash elasticity           4
  hash max                512
  mc last member count      2
  mc init query count       2
  mc router                 1
  mc snooping               1
  mc last member timer      0.99
  mc membership timer     259.96
  mc querier timer        254.96
  mc query interval       124.98
  mc response interval      9.99
  mc init query interval   31.24
  flags

The question though is that even if the bridge acted as a hub wouldn't the guest drop the packets anyway since the MAC doesn't match? In other words I would expect to see the packets on the interface with tcpdump but not that the traffic gets counted as incoming traffic on the interface.

Regards,
Dennis

Quoted 19 lines · Wolfgang Hennerbichler

Make sure your bridge doesn't have an "bridge_maxage 0" configured or otherwhise your software-switch will behave like a hub.

Quoted 15 lines · Dennis Jacobfeuerborn

Hi,
I have a problem on a kvm hypervisor that I cannot explain. It appears that some traffic shows up in the interface monitoring in all of the guests on that hypervisor. We are not using broadcasts in any way and I see peaks of 100mbit for several minutes on all of these systems.

Does anybody have an idea what could cause this?

Regards,
Dennis
--
To unsubscribe from this list: send the line "unsubscribe lartc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Dennis Jacobfeuerborn

SWYgdGhlIGJyaWRnZSB3YXMgYWN0aW5nIGFzIGEgaHViLCB0aGVuIHRoZSBmcmFtZXMgd291bGQg cGFzcyB0aHJvdWdoIHRoZSBoeXBlcnZpc29yIHRvIHRoZSB2aXJ0dWFsIE5JQyBvbiB0aGUgZ3Vl c3QuIElmIHRoZSBmcmFtZSB3YXMgdW5pY2FzdCwgdGhlbiB0aGUgTklDIHdvdWxkIGRyb3AgaXQs IGlmIHRoZSBwYWNrZXQgaGFkIGEgYnJvYWRjYXN0IEV0aGVybmV0IGFkZHJlc3MsIHRoZW4gdGhl IGZyYW1lIHdvdWxkIHBhc3MgdGhlIE5JQyBhbmQgaGl0IHRoZSBPUy4NCg0KSGF2ZSB5b3UgY2hl Y2tlZCB0aGUgcGFja2V0cyB0byB2ZXJpZnkgd2hldGhlciB0aGUgZGVzdGluYXRpb24gTUFDIGFk ZHJlc3Mgd2FzIGFsbCBmJ3M/IEhhdmUgeW91IHZlcmlmaWVkIHRoYXQgdGhpcyBpc24ndCBtdWx0 aWNhc3QgdHJhZmZpYz8NCg0KQW5vdGhlciBxdWVzdGlvbiBJIHdvdWxkIGhhdmUsIGFyZSB0aGUg ZnJhbWVzIHlvdSdyZSBzZWVpbmcgaW4gdW5leHBlY3RlZCBwbGFjZXMgY29taW5nIGluIG9uIGlu dGVyZmFjZXMgdGhhdCBkbyBub3QgYmVsb25nIHRvIHRoZSBzYW1lIGJyaWRnZWQgbmV0d29yaz8g SUU6IElmIHlvdXIgaHlwZXJ2aXNvciBoYXMgMiBzZXBhcmF0ZSBicmlkZ2VkIG5ldHdvcmtzIGNh bGxlZCBBIGFuZCBCLCBhbmQgZ3Vlc3QgQSBvbmx5IGJlbG9uZ3MgdG8gbmV0d29yayBBIHdoaWxl IGd1ZXN0IEIgb25seSBiZWxvbm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DQogIHJvb3QgcG9ydCAgICAgICAgICAgICAgICAgMA0KICBwYXRoIGNvc3QgICAg ICAgICAgICAgICAgIDANCiAgbWF4IGFnZSAgICAgICAgICAgICAgICAgIDE5Ljk5DQogIGJyaWRn ZSBtYXggYWdlICAgICAgICAgICAxOS45OQ0KICBoZWxsbyB0aW1lICAgICAgICAgICAgICAgIDEu OTkNCiAgYnJpZGdlIGhlbGxvIHRpbWUgICAgICAgICAxLjk5DQogIGZvcndhcmQgZGVsYXkgICAg ICAgICAgICAxNC45OQ0KICBicmlkZ2UgZm9yd2FyZCBkZWxheSAgICAgMTQuOTkNCiAgYWdlaW5n IHRpbWUgICAgICAgICAgICAgMjk5Ljk1DQogIGhlbGxvIHRpbWVyICAgICAgICAgICAgICAgMS44 NQ0KICB0Y24gdGltZXIgICAgICAgICAgICAgICAgIDAuMDANCiAgdG9wb2xvZ3kgY2hhbmdlIHRp bWVyICAgICAwLjAwDQogIGdjIHRpbWVyICAgICAgICAgICAgICAgICAxNS44NQ0KICBoYXNoIGVs YXN0aWNpdHkgICAgICAgICAgIDQNCiAgaGFzaCBtYXggICAgICAgICAgICAgICAgNTEyDQogIG1j IGxhc3QgbWVtYmVyIGNvdW50ICAgICAgMg0KICBtYyBpbml0IHF1ZXJ5IGNvdW50ICAgICAgIDIN CiAgbWMgcm91dGVyICAgICAgICAgICAgICAgICAxDQogIG1jIHNub29waW5nICAgICAgICAgICAg ICAgMQ0KICBtYyBsYXN0IG1lbWJlciB0aW1lciAgICAgIDAuOTkNCiAgbWMgbWVtYmVyc2hpcCB0 aW1lciAgICAgMjU5Ljk2DQogIG1jIHF1ZXJpZXIgdGltZXIgICAgICAgIDI1NC45Ng0KICBtYyBx dWVyeSBpbnRlcnZhbCAgICAgICAxMjQuOTgNCiAgbWMgcmVzcG9uc2UgaW50ZXJ2YWwgICAgICA5 Ljk5DQogIG1jIGluaXQgcXVlcnkgaW50ZXJ2YWwgICAzMS4yNA0KICBmbGFncw0KDQpUaGUgcXVl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