All of lore.kernel.org
 help / color / mirror / Atom feed
* Stimulating domains to send gratuitous ARPs
@ 2007-07-05 18:41 Graham, Simon
  2007-07-05 19:45 ` Ian Campbell
       [not found] ` <4e777ed10707051251k74b95c67h6a20aa1b432af567@mail.gmail.com>
  0 siblings, 2 replies; 11+ messages in thread
From: Graham, Simon @ 2007-07-05 18:41 UTC (permalink / raw)
  To: xen-devel; +Cc: Graham, Simon


[-- Attachment #1.1: Type: text/plain, Size: 1369 bytes --]

Currently, netfront will send a gratuitous ARP when resumed at the end
of a live migration/resume op. However, there are other situations when
it is necessary to send a gratuitous ARP; one good example is when you
bond NICs in Dom0 for availability and plug the bond into the bridge; in
this case, when a failover from primary to backup NIC occurs, you need
to send ARPs for all the domains VIFs on the backup link to get traffic
routed correctly.

 

Now, there are a number of ways of doing this (including using ebtables
in Dom0 to track IP-MAC address translations) but it seems to me that
the simplest would be to have a way to poke the netfront driver to send
an ARP on demand (especially given that fact that it already needs/has
this functionality).

 

I've prototyped something fairly simple & gross based on having netfront
setup a xenstore watch on a leaf in the domains vif directory in
xenstore (that is, device/vif/send_arp); when the watch fires, all
netfront instances send the fake ARP just like they do at the end of
migration/resume. All you need to do from dom0 then is modify the leaf
with xenstore-write/xenstore-rm. 

 

I accept that this is not very nice and we should probably have a more
organized/documented way to do this but I'm not sure what would be
appropriate; any suggestions?

 

Thanks

Simon


[-- Attachment #1.2: Type: text/html, Size: 3495 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

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

end of thread, other threads:[~2007-07-06 20:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 18:41 Stimulating domains to send gratuitous ARPs Graham, Simon
2007-07-05 19:45 ` Ian Campbell
2007-07-05 19:52   ` Graham, Simon
2007-07-05 20:22     ` Ian Pratt
2007-07-05 21:08       ` Zhu Han
2007-07-05 22:18       ` Graham, Simon
2007-07-05 22:25         ` Ian Pratt
2007-07-06 18:51       ` Jeremy Fitzhardinge
2007-07-06 20:17         ` Graham, Simon
2007-07-05 21:03     ` Zhu Han
     [not found] ` <4e777ed10707051251k74b95c67h6a20aa1b432af567@mail.gmail.com>
     [not found]   ` <342BAC0A5467384983B586A6B0B3767105FCE6E3@EXNA.corp.stratus.com>
2007-07-05 20:54     ` Zhu Han

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.