netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sending undersized ARP packets with VXLAN L3 interface
@ 2014-08-27 17:06 Martin Rusko
  2014-08-27 17:28 ` Cong Wang
  0 siblings, 1 reply; 11+ messages in thread
From: Martin Rusko @ 2014-08-27 17:06 UTC (permalink / raw)
  To: netdev

I tried to use VXLAN interface as an L3 interface. Something like this:

  ip link add name vxln7 \
  type vxlan id 7007 group 232.1.42.7 \
  local 10.7.12.250 dev vlan482 \
  dstport 0 ageing 300

  ip ad ad 192.168.3.200/24 brd + dev vxln7
  ip li set vxln7 up

Now this doesn't work very well for small packets like those carrying
ARP protocol. Because resulting ethernet frames which are encapsulated
in VXLAN are not padded to minimum 64bytes required for Ethernet. Once
the inner frame traverse through any switch, it will get dropped as
undersized (runt) packet.

I'm wondering, where is the proper place to fix this. Should
arp_create() function allocate skb big enough to produce ethernet
frame with at least minimum size? Or is it somewhere in NIC drivers
where small packets are padded with zeros?

Regards,
Martin

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-09-11 16:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 17:06 Sending undersized ARP packets with VXLAN L3 interface Martin Rusko
2014-08-27 17:28 ` Cong Wang
2014-08-27 17:52   ` Vlad Yasevich
2014-08-27 18:16     ` Rick Jones
2014-08-27 18:42     ` Stephen Hemminger
2014-08-27 18:45       ` Vlad Yasevich
2014-08-27 20:01         ` Martin Rusko
2014-08-27 20:23           ` Vlad Yasevich
2014-08-27 21:00             ` Martin Rusko
2014-09-01 14:26               ` Martin Rusko
2014-09-11 16:16                 ` Martin Rusko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).